06-07-2014 10:09 PM
Hi everyone,
I am really need help for this one, I try so many way and spend a lot of time but no help.
I want to create an .dll file. But I keep getting message "Warning: DLL has no exports. No import library created. " . I use the dependencywalker to check the dll, and there is no function inside, so I could not use that dll.
To create that dll file, I first have to create a lib file and then create the dll. I already export the function prototypes to a header file, add it to myproject and add it to the target setting.
I also attach my project here, so you can see when I was wrong.
Thank you very much.
06-09-2014 08:44 AM
Hello,
1) You must remove the maingold.lib from your project (the *.lib is generated by CVI, you don't have to include it in your project):
2) You must include maingold.c in the build.
3) you must select the include file to export in the target setting:
4) You have to add all the source code files in your project:
5) You remove #include "mex.h" from maingold.c
Here you can compile and you will have a Dll generated.
I hope it will help you...to start
Best regards.
06-10-2014 01:08 PM
Awesome, thank you so much. You really save me here
02-08-2023 09:58 PM
thank you so much. You really save me here