08-25-2009 01:42 PM
HI,
I have a VI that runs in LabVIEW 2009. When it is compiled, it runs on my development machine. The compiled executable does not run on computers that only the LabVIEW Run-Time engine. The error I get is "External Code Not Present". No error Number. The VI worked with LabVIEW 7.1 through 8.6. How do I figure out what external code is missing?
The VI Sends Files to the Windows Recycle Bin. It uses a CIN that calls the SHFileOperation Function. I’ve tried re-compiling and re-linking the CIN.
Windows XP SP3
LabVIEW 2009
Visual Studio 2003
Thanks,
Richard
08-26-2009 06:21 PM
Hello,
Are you sure that you have the LabVIEW 2009 runtime engine installed on this machine?
08-26-2009 07:50 PM
I am sure I have the LabVIEW 2009 Run-Time Engine installed. I can compile other projects with LabVIEW 2009 and they run on this machine.
Thanks,
Richard
09-16-2009 11:30 AM
09-17-2009 10:21 AM
Additional information -- I noticed that changing my CIN to non-reentrant "fixed" the problem.
09-17-2009 07:32 PM
Hello,
Does it help if you include the external code in the additional files section when you create the .exe?
Thanks,
Anna K.
09-17-2009 07:50 PM
09-18-2009 08:47 AM
Anna,
I thought the same thing. I did place the dll, as well as the lsb in the additional files folder -- same result.
09-21-2009 11:46 AM
Hello,
You could try the same thing as Machanix, it may be a dependency with some .dll that is installed on your Dev machine and not the target machine. See if the external code runs on your target machine on its own, or if it complains that something is missing.
Thanks,
Anna K
09-24-2009 04:30 PM