I'm trying to create an external function for this method exported by a DLL:
Code: Select all
int gs_main_init_with_args(gs_main_instance * minst, int argc, char *argv[]);
The last parameter is a string array, but I'm not sure how to send that using a JADE external function.
Do I need to use globalAlloc/rtlMoveMemory to create a memory location containing each string and then another one for the array of pointers to those locations?
I have a catapult. Give me all the money or I will fling an enormous rock at your head.