Click here to Skip to main content
15,913,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ exe displayed using java Pin
Nish Nishant16-Aug-02 10:21
sitebuilderNish Nishant16-Aug-02 10:21 
GeneralRe: C++ exe displayed using java Pin
includeh1017-Aug-02 3:01
includeh1017-Aug-02 3:01 
QuestionHow to set Quota Limit on a disk in VC++? Pin
Tida16-Aug-02 8:13
Tida16-Aug-02 8:13 
AnswerRe: How to set Quota Limit on a disk in VC++? Pin
Tomasz Sowinski16-Aug-02 8:43
Tomasz Sowinski16-Aug-02 8:43 
GeneralBitmap question Pin
Chun Te, Ewe16-Aug-02 8:11
Chun Te, Ewe16-Aug-02 8:11 
GeneralEdit Box Scrolling Pin
Ken Mazaika16-Aug-02 7:38
Ken Mazaika16-Aug-02 7:38 
GeneralRe: Edit Box Scrolling Pin
Ken Mazaika16-Aug-02 8:43
Ken Mazaika16-Aug-02 8:43 
Generalrelease vs debug builds problem Pin
ns16-Aug-02 5:49
ns16-Aug-02 5:49 
My release build works but the debug build crashes at at the delete. It says its a memory check error. The release version sails on through. Actually the debug version will keep going after the crash(retry) then crash again, and retry restores it. So the logic is working but I'm doing something really wrong.

memory check error at 0x002F59AA = 0x00, should be 0xFD.

Any ideas?

Thanks,
ns
	char* photo1;
	
	photo1 = new char [strlen(pDoc->m_db.m_photoInfo)];

	
	strcpy(photo1,pDoc->m_db.m_photoInfo);

	char* pDelimiter = strstr (photo1, ",");

	ASSERT (pDelimiter != NULL);
	*pDelimiter = '\0';

	char* dbname = photo1;

	m_PhotoDBName = dbname;
 
	pDelimiter++;


	CString mineName = pDelimiter;


<code>	delete[] photo1</code>;


When I hit debug, it gave the error (user breakpoint called from code at (some address).

It went into dbgheap.c. Does this help in diagnosing the problem?
GeneralRe: release vs debug builds problem Pin
PJ Arends16-Aug-02 5:59
professionalPJ Arends16-Aug-02 5:59 
GeneralRe: release vs debug builds problem Pin
ns16-Aug-02 6:12
ns16-Aug-02 6:12 
GeneralRe: release vs debug builds problem Pin
Roger Allen16-Aug-02 6:33
Roger Allen16-Aug-02 6:33 
GeneralRe: release vs debug builds problem Pin
ns16-Aug-02 7:20
ns16-Aug-02 7:20 
GeneralRe: release vs debug builds problem Pin
Michael Dunn16-Aug-02 9:41
sitebuilderMichael Dunn16-Aug-02 9:41 
GeneralRe: release vs debug builds problem Pin
ns16-Aug-02 10:09
ns16-Aug-02 10:09 
GeneralRe: release vs debug builds problem Pin
Tomasz Sowinski16-Aug-02 6:58
Tomasz Sowinski16-Aug-02 6:58 
GeneralWM_KILLFOCUS Pin
Anonymous16-Aug-02 5:37
Anonymous16-Aug-02 5:37 
GeneralRe: WM_KILLFOCUS Pin
PJ Arends16-Aug-02 5:41
professionalPJ Arends16-Aug-02 5:41 
GeneralRe: WM_KILLFOCUS Pin
NC16-Aug-02 7:22
NC16-Aug-02 7:22 
GeneralRe: WM_KILLFOCUS Pin
PJ Arends16-Aug-02 14:58
professionalPJ Arends16-Aug-02 14:58 
GeneralRe: WM_KILLFOCUS Pin
NC19-Aug-02 1:49
NC19-Aug-02 1:49 
QuestionIs there a way to see if a SOCKET is connected? Pin
Le centriste16-Aug-02 4:40
Le centriste16-Aug-02 4:40 
AnswerRe: Is there a way to see if a SOCKET is connected? Pin
Masaaki Onishi16-Aug-02 7:21
Masaaki Onishi16-Aug-02 7:21 
Questionhow to idenitify whether process is running or not Pin
tongc16-Aug-02 3:58
tongc16-Aug-02 3:58 
AnswerRe: how to idenitify whether process is running or not Pin
Tomasz Sowinski16-Aug-02 4:04
Tomasz Sowinski16-Aug-02 4:04 
GeneralRe: how to idenitify whether process is running or not Pin
tongc16-Aug-02 6:04
tongc16-Aug-02 6:04 

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.