w****g 发帖数: 44 | 1 I have a program (example.exe) built in VC.
Now I run it in the cmd terminal: example.exe arg1, arg2, arg3
it works fine.
Then I just run it in VC using debug (F5), it said windows has trigged a
break point in example.exe
then continue, it said debug assertation failed.
the output window has such info:
First-chance exception at 0x770bb09e in example.exe: Microsoft C++ exception
HEAP[example.exe]: Invalid Address specified to RtlValidateHeap( 03010000,
030C5D50 )
any idea ? why this happen and ho | k****f 发帖数: 3794 | 2 内存错误了
exception
【在 w****g 的大作中提到】 : I have a program (example.exe) built in VC. : Now I run it in the cmd terminal: example.exe arg1, arg2, arg3 : it works fine. : Then I just run it in VC using debug (F5), it said windows has trigged a : break point in example.exe : then continue, it said debug assertation failed. : the output window has such info: : First-chance exception at 0x770bb09e in example.exe: Microsoft C++ exception : HEAP[example.exe]: Invalid Address specified to RtlValidateHeap( 03010000, : 030C5D50 )
| w****g 发帖数: 44 | 3 thanks. now it works. I forgot to put the input file in the right directory. |
|