05-10-2021 10:59 PM
I use Open VI Reference in my source code is ok,but when I build EXE,it do not work,and show error.
What is the problem?
2018 64 bit
Here is the source code
here is the error from the EXE:
Solved! Go to Solution.
05-11-2021 12:10 AM
VI's built into an executable have an extra level in their path definition. I think that is what is happening to you.
Read https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019NFfSAM&l=en-US
05-11-2021 01:01 AM
Thank you for your advise,but in my program I open the VI Reference by vi path,i do not use current vi path or other path.Just like this.It is a absolute path
05-11-2021 02:03 AM
Hi AAA,
the error message mentions an "unexpected filetype": do you really try to open a reference of a VI file?
Can you attach that "untitled 333.vi" file?
(Btw. I hope you use some more descriptive filenames in your source code development…)
05-11-2021 05:40 AM
thanks for everyone:
the problem is find:
1,error:"unexpected filetype" may be my computor installed encrpytion software
2,In my program i uesd the “Lock State:Set Methord”,However it do not available in the Run-Time-Engine.