I have one question: While I successfully create a dll file for my C file via MinGW, whenever I call my file with certain parameters I keep getting an error that is related to that this code in C returns NULL , any ideas please?
#ifdef WINDOWS hLibrary = LoadLibrary ("fcnsuite.dll"); #else hLibrary = dlopen ("./fcnsuite.so", RTLD_NOW); #endif
And this gives "failed to load procedure"!!!
No products are associated with this question.
Ok people I got it to work. Actually I had to create the dll of the function using a command like: mbuild file1.c file1.exports with function names in this file1.exports and that did the trick
Thank you all for your comments!
Play games and win prizes!Learn more