passing a string array to an external function
Posted: Tue Sep 11, 2012 4:19 am
I'm trying to create an external function for this method exported by a DLL:
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?
Code: Select all
int gs_main_init_with_args(gs_main_instance * minst, int argc, char *argv[]);
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?