09-13-2010 02:20 PM
Hi,
I am trying to call dll in a vi file. It works fine in Windows XP system, but when I copy everything to Win7 32bit system, it gets error 1097 "An exception occurred within the external code called by a Call Library Function Node. The exception might have corrupted the LabVIEW memory. Save any work to a new location and restart LabVIEW. Verify the values you wired to the Call Library Function Node."
I am using labview2009. Any ideas? Need more info?
Thanks in Advance!
Matt
09-13-2010 03:47 PM
What exactly does your DLL do? Window 7 locks down access to certain things, so you may well be runnning into permissions issues. Otherwise, you will need to provide us what the function that you're calling is doing.
09-13-2010 03:56 PM
this means that there's an error or something in your code that labview doesn't like... this can range from "division by zero" or some other logical fault (access to zero pointer) to a memory allocation without deallocation, which leads to a labview error..
09-14-2010 10:01 AM - edited 09-14-2010 10:02 AM
The dll can change resolution and refresh rate of display and run an exe file to display certain pattern(ie all white screen). I don't have the source code for the dll yet. But I can get it if it's really needed.
Thanks,
Matt
09-14-2010 10:11 AM
Have you tried to call this DLL from another programming environment to determine if the issue is with Windows 7 or with LabVIEW? Have you verified with whomever wrote the DLL that it will work on Windows 7? Windows 7 did change quite a few things, and things that worked in XP don't always work in Windows 7.