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



most likely some buffer overrun problem... in debug mode structures are
padded left and right to detect such overruns which also gives limited
protection against the overwrites... turn on the debug heap...

hth,
nick

<ratcharit@xxxxxxxxx> wrote in message
news:1130213765.595712.91100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> 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

  • Re: Debugging problems
    ... Sound to me like you've got a buffer overrun somewhere. ... I believe that in debug, buffer space is put around each ... > And the strange thing is when I added a MessageBox to the loop to find out ... > impossible to find the problem by sight (as Debug mode won't help). ...
    (microsoft.public.vc.language)
  • RE: vba error
    ... do in vba a compile (in menu debug) ...
    (microsoft.public.access.formscoding)
  • Re: Poker-Spy Crashing
    ... The Error Signature is: ... I'm afraid I don't know anything really about the workings of the program ... (except what I picked up during the debug attempts) ...
    (microsoft.public.windows.inetexplorer.ie6.browser)

Loading