Just experimenting with writing my own mods... So just to start small and work my way into it, I tossed the following together.
C Code...
BMX Code...
Obviously this is just a test... But the module compiles fine. And the test program compiles fine. But hangs when ran. Anyone see anything obvious with that that I am not catching?
Also...
How would I go about compiling my module only instead of all modules as I would through the Program menu?
C Code...
#include <conio.h> int bbGetKey(void) { return kbhit(); }
BMX Code...
Module Pub.GetKey ModuleInfo "Version: 1.00" ModuleInfo "Author: Kanati" ModuleInfo "License: Public Domain" ModuleInfo "Copyright: STONEhenge Software" ModuleInfo "ModServer: BRL" Import "getkey.c" Extern Function bbGetKey:Int() End Extern Function GetKey:Int() Return bbGetKey() End Function
Obviously this is just a test... But the module compiles fine. And the test program compiles fine. But hangs when ran. Anyone see anything obvious with that that I am not catching?
Also...
How would I go about compiling my module only instead of all modules as I would through the Program menu?