Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66684

user32.dll problem after creating exe

$
0
0

 

 

I have a VI that is calling on a windows application (Open Hardware Monitor) for some basic CPU information. The VI works but I tried to add a Call Library Function Node VI to user32.dll to close the window, per

http://digital.ni.com/public.nsf/allkb/81E9C1441900FFCE8625748F0055DBB0

 

This works fine, but when I create an exe, I get an error window when trying to run my exe. If I take the Call Library Function Nodes out (that close the window), my exe works fine (I just have to manually close the other application window). 

 

I assume I must be doing something wrong that is causing this error. In troubleshooting I do not see an error propogated through to end of my VI, and I believe I am using the dll nodes correctly. Since everything else is working (I think!), I must still be missing something.

 

Can anyone point me to error of my ways?

 

VI attached. Note: Actual, CPU parameters are hard coded and depend on system in use.


Viewing all articles
Browse latest Browse all 66684

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>