04-09-2013 03:09 AM
Hi,
I can't figure out what is going on. I've build several executables, and all of a sudden i get a crash when starting up my executable? I get the error report as attached in this question.
Does anyone knows how to solve this problem?
regards,
Thijs
Solved! Go to Solution.
04-11-2013 02:23 AM
Hi,
Thank you for your posting here.
The access violation error (0xC0000005) is a generic Windows exception error code, which can apply to a wide variety of situations and unfortunately makes it very difficult to debug. This error can sometimes be caused by an Antivirus software on your computer. I would first attempt to disable this software or even temporarily uninstalling the software and see if this error persists.
This error and crash can also be caused by subVIs making calls to 3rd party DLLs. Does your VI have any subVIs included in the program? Do they make any calls to an external DLL/Library of some form? If so, I would suggest temporarily deleting these subVIs and see if the error and crash continue to occur. Doing this and removing your Antivirus software will help narrow down the source of this error.
If you are in fact making calls to a 3rd party, then I would recommend that you contact this third party's support and ask if they know of any existing issues with the driver and version of LabVIEW that you are using. Also ask them to look into the DLL to confirm that LabVIEW is providing the parameters it needs to functions correctly.
Hope this helps.
Regards,
Hossein
04-11-2013 02:48 AM
Hi,
It indeed makes use of a third party DLL, i've attached the dll. (rename it do dll) but then i don't get it, does the third party have to write a particularly DLL with instructions for LabVIEW?
Can I change certain things in this DLL or is it closed?
Best regards,
Thijs
04-11-2013 03:22 AM
Hi,
I found that information in our forum post which I give its link below.
I suspect that you can solve your problem with it.
If there is any question, don't hesitate to ask.
http://forums.ni.com/t5/LabVIEW/Access-violation-0xC0000005/td-p/2269694/page/2
Regards,
Hossein
04-11-2013 10:19 AM