Search found 499 matches

by voodooattack
Apr 14, 2006 15:52
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

Thanks guys :) Here's MSDN's example for FormatMessage() #include <windows.h> void ErrorExit(LPTSTR lpszFunction) { LPVOID lpMsgBuf; LPVOID lpDisplayBuf; DWORD dw = GetLastError(); FormatMessage( FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, NULL, dw, MAKELANG...
by voodooattack
Apr 13, 2006 16:50
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

Here's my version of FBServ that works with xpsp1 and nt4sp6. Source: syslog.zip 40K use mksyslog.bat to make. It includes FBServ, a slightly modified wshelper from the freebasic examples dir and a *very* simple sys logger. Service listens on udp/514 and writes incoming messages to syslog.log file ...
by voodooattack
Apr 12, 2006 21:35
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

Thanks :) Hi there, First great code I think... five tumbs up ! btw: after reading code, my opinion is that we have to replace the error : Exit Sub with goto Ext: following rest of code... for me it worked without Problem: winxp home sp2 Rainer Indeed it is.. i guess this was the error.. if the func...
by voodooattack
Apr 12, 2006 21:16
Forum: General
Topic: Clearing a gfx buffer...
Replies: 2
Views: 575

just fill it upon creation DIM Handle AS UBYTE PTR Handle = ImageCreate(640, 480, RGBA(255,0,0,0) ) for some reason memset/clear act really wierd when i pass a RGBA value.. EDIT: btw, when you try to access a buffer directly, you need to skip 4 bytes (2 shorts) = the image header..
by voodooattack
Apr 12, 2006 20:29
Forum: Beginners
Topic: GUI Editor for FreeBasic
Replies: 2
Views: 1172

as far as i know.. not yet.. there is the "Visual wx-c Developer" that gives you the ability to design windows the VB way, but its not done yet.. http://www.freebasic.net/forum/viewforum.php?f=12 (the executables generated will depend on wx-c (a cross-platform GUI station library, a 3.66MB dll on wi...
by voodooattack
Apr 12, 2006 18:55
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

I reverted to my copy of fbc 15 and old windows headers and the code compiles fine as is. There are some issues wrt compiler versions but I can easily work around that. It looks like everything that's needed is in the framework. Even though the service doesn't do anything, should it possible to sta...
by voodooattack
Apr 12, 2006 18:26
Forum: Beginners
Topic: cls and fullscreen in console mode
Replies: 11
Views: 2424

Code: Select all

for x = 1 to 150
print x
next x
print" change to fullscreen now"
sleep
'-------------
    print
'-------------
cls
print "why doesn't cls clear the whole screen and what would?"
sleep


:-)

the extra print command will refresh things up ;)
by voodooattack
Apr 12, 2006 18:08
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

Thanks alot guys :) This is going to be very useful. I tried it out. Maybe it's just fb/header versions but to get it to compile I had to do the following (line numbers might slightly off): fbservice.bi (158): ErrorString should be passed as @ErrorString since FormatMessage is allocating the...
by voodooattack
Apr 11, 2006 12:55
Forum: Beginners
Topic: Screenshot of...
Replies: 7
Views: 1534

Good work mate.. keep 'em coming :-)
I really like the interface icons you used, very cute :D
by voodooattack
Apr 11, 2006 12:22
Forum: Projects
Topic: FBServ Framework - NTServices in FreeBASIC
Replies: 21
Views: 8877

FBServ Framework - NTServices in FreeBASIC

Hello there! :) Here's my implemention of the Windows NT (2000, XP, 2003, Vista) service specifications.. I've finally finished it, and i guess its ready to be released. Please check readme.txt for info on usage, i'm not rewriting all that stuff here :P Download: http://voodooattack.sitesled.com/FB/...
by voodooattack
Apr 11, 2006 8:31
Forum: General
Topic: Q: String Internals [Answered]
Replies: 7
Views: 2958

really nice work there cha0s :)
by voodooattack
Apr 10, 2006 23:57
Forum: Libraries
Topic: Lightweight neural network
Replies: 4
Views: 2827

Sorry, I didnt know that since i use .15b :)

I guess I've got to change my coding style from now on :(

Time to write my IsEmpty() macro now ;-P
by voodooattack
Apr 03, 2006 13:11
Forum: Projects
Topic: Artifical Neural Network MLP BP Lib
Replies: 20
Views: 6095

Amazing work indeed.. I really like the network's design, but i think its a little bit slow.. somehow :) I know its just a start, but you should concentrate on the speed as your primary target. I'd suggest using single precision FP instead of double precision FP, this could definitely double the net...
by voodooattack
Apr 01, 2006 17:40
Forum: Projects
Topic: 2D Rigid Body Dynamics
Replies: 26
Views: 16856

nice work! :)

just found a small error with scene3

when u take the ball and throw it at a wall, it will bounce fine..
but when it hits other dynamic objects, it'll simply "freeze", looks strange :)

very outstanding work in my opinion :D
by voodooattack
Apr 01, 2006 16:46
Forum: Libraries
Topic: Lightweight neural network
Replies: 4
Views: 2827

Lightweight neural network

Hello I managed to port this to FreeBASIC: http://lwneuralnet.sourceforge.net/ This is a very simple, yet very effecient artificial neural network library.. Features * Multilayer perceptron neural network. * Backpropagation training. * Trainable bias. * Small. * Fast. * Easy to incorporate in own ap...

Go to advanced search