Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion Failed - Error message Pin
James R. Twine4-Oct-07 1:37
James R. Twine4-Oct-07 1:37 
GeneralRe: Debug Assertion Failed - Error message Pin
KarstenK4-Oct-07 2:37
mveKarstenK4-Oct-07 2:37 
QuestionRe: Debug Assertion Failed - Error message Pin
David Crow4-Oct-07 3:29
David Crow4-Oct-07 3:29 
AnswerRe: Debug Assertion Failed - Error message Pin
rajaratk4-Oct-07 20:15
rajaratk4-Oct-07 20:15 
QuestionRe: Debug Assertion Failed - Error message Pin
David Crow5-Oct-07 3:20
David Crow5-Oct-07 3:20 
AnswerRe: Debug Assertion Failed - Error message [modified] Pin
rajaratk7-Oct-07 20:16
rajaratk7-Oct-07 20:16 
QuestionRe: Debug Assertion Failed - Error message Pin
David Crow8-Oct-07 2:47
David Crow8-Oct-07 2:47 
AnswerRe: Debug Assertion Failed - Error message [modified] Pin
rajaratk8-Oct-07 18:41
rajaratk8-Oct-07 18:41 
Hai,

Thanks for your response. I got the following errors:


1. Windows has triggered a breakpoint in omc.exe.

This may be due to a corruption of the heap, and indicates a bug in omc.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information

This is shown in the output window of VS2005

2. Run-Time Check Failure #2 - Stack around the variable 'sStr' was corrupted.

This one is display as popup window

3.Heap corruption detected at 02DF1B20
First-chance exception at 0x7c949fd5 in omc.exe: 0xC0000005: Access violation reading location 0xcdcdcdd1.
AtlThrow: hr = 0x8007000e
First-chance exception at 0x7c81eb33 in omc.exe: Microsoft C++ exception: CMemoryException at memory location 0x0011e370..
HEAP[omc.exe]: Heap block at 02DF18C0 modified at 02DF1B06 past requested size of 23e

Windows has triggered a breakpoint in omc.exe.

This may be due to a corruption of the heap, and indicates a bug in omc.exe or any of the DLLs it has loaded.

The output window may have more diagnostic information


This is shown in the output window of VS2005


Please give me solution to solve this



-- modified at 8:23 Tuesday 9th October, 2007

Now I got the following error message:

First-chance exception at 0x7c81eb33 in omc.exe: Microsoft C++ exception: CFileException at memory location 0x0012bdd4..
CFile exception: badPath, File d:\omc\omc610~1\omcpro~1\targprod\afr100\customer.dbs\test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test5test523.cdb, OS error information = 3.First-chance exception at 0x7c81eb33 in omc.exe: Microsoft C++ exception: CFileException at memory location 0x0012b0f4..
Load ACT: INSTALLER AB from d:\omc\omc610_rajaratk_priv_view\omcproject\targprod\afr100\ini\afr100a.ini
The thread 'Win32 Thread' (0xc1c) has exited with code 0 (0x0).
LockDataBase : The state of the object is signaled

The problem is that if I save the file name in 200chars it is accepting. But If i save the file name as 202 chars it will throw an exception. I have given the variable size upto 2000.

Please give me your suggestions to solve this issue.
QuestionRe: Debug Assertion Failed - Error message Pin
David Crow9-Oct-07 2:49
David Crow9-Oct-07 2:49 
AnswerRe: Debug Assertion Failed - Error message Pin
rajaratk9-Oct-07 22:43
rajaratk9-Oct-07 22:43 
GeneralRe: Debug Assertion Failed - Error message Pin
David Crow10-Oct-07 2:46
David Crow10-Oct-07 2:46 
QuestionImageControl Pin
nitin33-Oct-07 22:17
nitin33-Oct-07 22:17 
AnswerRe: ImageControl Pin
Roger Broomfield3-Oct-07 22:33
Roger Broomfield3-Oct-07 22:33 
GeneralRe: ImageControl Pin
nitin33-Oct-07 23:03
nitin33-Oct-07 23:03 
AnswerRe: ImageControl Pin
rp_suman3-Oct-07 22:38
rp_suman3-Oct-07 22:38 
GeneralRe: ImageControl Pin
Hamid_RT3-Oct-07 23:21
Hamid_RT3-Oct-07 23:21 
GeneralRe: ImageControl Pin
Maximilien4-Oct-07 2:31
Maximilien4-Oct-07 2:31 
GeneralRe: ImageControl Pin
Hamid_RT4-Oct-07 4:15
Hamid_RT4-Oct-07 4:15 
AnswerRe: ImageControl Pin
Naveen4-Oct-07 0:12
Naveen4-Oct-07 0:12 
QuestionTab Pin
Ali Tavakol3-Oct-07 20:52
Ali Tavakol3-Oct-07 20:52 
AnswerRe: Tab Pin
Hamid_RT3-Oct-07 21:02
Hamid_RT3-Oct-07 21:02 
AnswerRe: Tab Pin
Roger Broomfield3-Oct-07 21:43
Roger Broomfield3-Oct-07 21:43 
QuestionHow tp put picture in RichEdit Pin
GauranG Shah3-Oct-07 20:17
GauranG Shah3-Oct-07 20:17 
AnswerRe: How tp put picture in RichEdit Pin
Hamid_RT3-Oct-07 20:37
Hamid_RT3-Oct-07 20:37 
QuestionHow to create *.exe file in MFC Application? Pin
TooShy2Talk3-Oct-07 20:09
TooShy2Talk3-Oct-07 20:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.