Karissap Posted May 29, 2007 Report Share Posted May 29, 2007 I have a program which needs to run continuously unattended. However, it crashes after random periods of time. I get the error in external code at 0x00 in the vi which uses a particular Labwindows function. It will run the function in the dll fine for half a day or so then crash, which makes me think that it is a memory problem (the function does use malloc and free). Is there a way to catch exceptions in dlls to prevent the Labview program from stopping? I am running a batch file that will restart the vi if it closes but if this dll error occurs the program stops but stays open so won't restart so even a way to close labview entirely if the error occured would be OK. Also, what do people think is the best way of detecting memory leaks in applications? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.