Hey,
I am trying to get GSTNet working in A7 with Lite-C
I am running into problems converting the wdl file that comes with it into Lite-C and making it work.
Has anybody managed to do this and if so would they be willing to provide some pointers to pitfalls that they encountered. Obviously a complete working .h file would be totally awesome but as asking for that is rather cheekey any help would be great
My converted code does compile but then I get a "this program has encountered an error and needs to close" box of death which I assume is an unhandled exception. This occurs on trying to call GSTNet_ServerInit(port);
I have renamed the GSTNet.wdl file to GSTNet.h and included it into my test program.
I have had a go at changing the code in the GSTNet file to the Lite-C standard and while it compiles it is more than likly that I have messed that up somwhere.
The prorotype for the GSTNet ServerInit(port) function has been changed...
Code:
from...
dllfunction GSTNet_ServerInit(port);
to...
function GSTNet_ServerInit(int port);
Is this the problem?, has changing the argument to int caused the issue?? I have played with what I can think to change so any suggestions would be great
Cheers
MACRO