02-16-2012 04:23 AM
Hi
Help please...
I get the message:
"LabVIEW: An exception occurred within the external code called by a Call Library Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW. VI "..." was stopped at node "..." of subVI "...""
The Call Library Node calls a dll I wrote in C
This message pops up only when running as an executable, as VI it never happens
Also - when running the executable without closing the window (after approving the error message) it runs without any problems
Any advice?
Version:
LV 7.1
Thanks
Roy Sasi
02-16-2012 07:58 AM
More details to my previous post:
My target is a windows XP OS
My code calls a dll - when I run it as a VI the dll is called and works without a problem only when I compile the code and run it as an executable I saw the error
When I run the executable the error almost always appears - when I press OK (to confirm error popup window), my application window is still open, and run my application again - the error never appears
Thanks
Roy Sasi
02-16-2012 08:11 AM - edited 02-16-2012 08:11 AM
DuneMedical wrote:Any advice?
Yes. Stop trying to stuff the entire body of your message in the subject thread.
I don't know how you can expect us to help. You've told us nothing about what your DLL does, or how you're calling it, or how it interface to LabVIEW, or whether it's dependent on other DLLs, or whether it tries to access certain resource that have to be initialized, or anything else. You haven't even shown us any code. You've told us: "It doesn't work in the executable". Now, if I came to you with that exact problem statement how would you help?
02-16-2012 10:10 AM
Especially in earlier versions of LV these sorts of errors were common if the call wasn't made just right or the parameters were set up incorrectly.
Finally any additional information you can provide would helpful.
Mike...