Program works when running from debugger but not as an .EXE



Hi have a MFC program that reads voltage measurements from a mulitmeter
via GPIB using VISA API. The program works find when running from the
debugger but crash with the following error when running from the
actual generated executable (and I even Debug executable not the
Release executable). I using Visual C++ 6.0 running on Windows XP. I
got the following error signature:

AppName: arc.exe (this is my program) AppVer: 1.0.0.1 ModName:
ntdll.dll
ModVer: 5.1.2600.1217 Offset: 000085c0

any ideas? Please any advice would be greatly appreciated. Thanks.

.



Relevant Pages

  • Program works when running from debugger but not as an .EXE
    ... via GPIB using VISA API. ... debugger but crash with the following error when running from the ... got the following error signature: ...
    (microsoft.public.vc.mfc)
  • variables using ClassView and Class wizard
    ... >> In a MFC program I want to define two variables one of template type ... An access violation means your code has a bug, ... > the debug configuration of your program, then run it in the debugger. ...
    (microsoft.public.vc.language)
  • memory leaks
    ... i have a large MFC program with multi-threading. ... i'm getting some memory leaks from the debugger. ...
    (microsoft.public.vc.language)

Loading