11-17-2015 11:29 AM
Hello,
I have a problem when I create a file .exe.
In LabVIEW, everything works. But when I create an .exe file, I have an "Error code 7".
The problem is the pointer to GetValueByPointer.xnode.
Does anyone have a solution?
thanks a lot
Solved! Go to Solution.
11-17-2015 12:06 PM
@ludo67 wrote:
Hello,
I have a problem when I create a file .exe.
In LabVIEW, everything works. But when I create an .exe file, I have an "Error code 7".
The problem is the pointer to GetValueByPointer.xnode.
Does anyone have a solution?thanks a lot
When you created the exe did you include the dll in the category Source Files -> Always Included?
Ben64
11-18-2015 03:09 AM
Hello,
(see joint picture n°1)
-> the xnode surrounded in blue calls a file "GoSDK.dll", which is a personal dll, and works normaly.
-> the blocks surrounded in red uses the function "GetValueByPointer" of the library "lvimptsl.dll" which is a Labview Library. And this is here where I have a problem, and the error code 7.
I have tried to replace the blocks surrounded in red by xnode
(see joint picture n°2)
And when I launch the software in Labview, Labview shuts down.
11-23-2015 10:36 AM
Hi Ludo67,
Can you try to create a folder named "resource" in your application folder
For example if you call your main folder myTestFolder, you should have the followings files
C:\myTestFolder\myProgram.aliases
C:\myTestFolder\myProgram.exe
C:\myTestFolder\myProgram.ini
C:\myTestFolder\niwebserver.conf
so add this folder
C:\myTestFolder\resource
and copy the dll "lvimptsl.dll" from C:\Program Files (x86)\National Instruments\LabVIEW XXXX to this new folder.
Paolo_P
Certified TestStand Architect
Certified LabVIEW Architect
National Instruments France
11-23-2015 10:57 AM
Hi,
Ok I've done that, all works well now.
Thanks for your help.