06-02-2009 02:01 AM
Hi All!
My project includes a dll library, and it works fine. But when I build an installer and application exe the dll doesn't work, even on the same machine. What is wrong?
Other question- my projecy uses labview.exe's exported functions, how to include the file in my installer?
thanks
Przemek
06-02-2009 03:57 AM
Hi Przemmo,
I think you may have missed out to include your dll file in to the dynamic VIs portion while you are creating the exe and then installer. Check it once again.
MRK (CLAD)
06-02-2009 09:44 AM
06-02-2009 10:05 PM
06-03-2009 07:34 AM
I have included it. Any other idea?
06-03-2009 07:38 AM
Still is it not working?
What is the status now?
06-03-2009 09:57 AM
The DLL should be in the same folder as your application is after build.
Another thing could be that this DLL needs other DLLs which you didn't include in the build.
If you are using functions directly build into LabVIEW.exe you have to include LabVIEW.exe as any other DLL. Don't be surprised when LabVIEW then wants an activation.
06-04-2009 05:24 AM
I included all the files in my project (please find the attachements).
If I run the vi's from labView (as *.vi) dll works good. When I run it as an application there is no error but the tab returned by my dll is empty (contains all zero's).