Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralMTS Pin
Mazdak18-Sep-02 6:54
Mazdak18-Sep-02 6:54 
GeneralRe: MTS Pin
Daniel Turini18-Sep-02 8:26
Daniel Turini18-Sep-02 8:26 
GeneralRe: MTS Pin
Mazdak18-Sep-02 8:49
Mazdak18-Sep-02 8:49 
GeneralCVS and VC++ Pin
Jawache18-Sep-02 5:50
Jawache18-Sep-02 5:50 
GeneralRe: CVS and VC++ Pin
Pavel Klocek18-Sep-02 6:14
Pavel Klocek18-Sep-02 6:14 
GeneralRe: CVS and VC++ Pin
Jawache18-Sep-02 6:20
Jawache18-Sep-02 6:20 
GeneralRe: CVS and VC++ Pin
Pavel Klocek18-Sep-02 6:25
Pavel Klocek18-Sep-02 6:25 
GeneralThese user breakpoints are driving me crazy! Please help. Pin
Redeemer-dk18-Sep-02 5:35
Redeemer-dk18-Sep-02 5:35 
Now my programs is acting really weird. What worked before now displays a "User breakpoint" error when i move my mouse over the "open file" dialog. Here's my browse dialog which worked fine before:
void OnBrowse()
{
	OPENFILENAME ofn;
	char szFileName[MAX_PATH+1];
	const char szFilter[] = "All Files (*.*)\0" "*.*\0";

	szFileName[0] = '\0';
	ofn.lStructSize = sizeof(OPENFILENAME);
	
	ofn.hwndOwner = ghMainWnd;
	ofn.lpstrFilter = szFilter;
	ofn.lpstrCustomFilter = (LPSTR)NULL;
	ofn.nFilterIndex = 1;
	ofn.lpstrFile = szFileName;
	ofn.nMaxFile = sizeof(szFileName);
	ofn.lpstrFileTitle = NULL;
	ofn.lpstrInitialDir = NULL;
	ofn.lpstrTitle = (LPSTR)NULL;
	ofn.Flags = OFN_ENABLESIZING | OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_PATHMUSTEXIST | OFN_EXPLORER;
	ofn.nFileOffset = 0;
	ofn.nFileExtension = 0;
	ofn.lpstrDefExt = "";

	if (GetOpenFileName(&ofn))
		SetDlgItemText(ghMainWnd, IDC_SOURCEFILE, szFileName);
}


It worked fine before, but now when i have added a new function which should execute after the OnBrowse function is done, i get a "User breakpoint" message when i move my mouse over the dialog:
Unhandled exception at 0x77f767cd in MP3.exe: User breakpoint.

Here's the contents of the Call Stack when the erros appears:

ntdll.dll!77f767cd()    <- stops here
ntdll.dll!77fa2f17()
ntdll.dll!77f842f4()
ntdll.dll!77f635c7()
msms001.vwp!017b7b68()
msms001.vwp!017b7539()
msms001.vwp!017afcf7()
vct3216.dll!00c34326()


And this appears in the Output pane:

HEAP[MP3.exe]: Invalid Address specified to RtlFreeHeap( 01810000, 01814270 )
Unhandled exception at 0x77f767cd in MP3.exe: User breakpoint.


All help is appreciated.

-Rune Svendsen
GeneralRe: These user breakpoints are driving me crazy! Please help. Pin
Bart Robeyns18-Sep-02 6:11
Bart Robeyns18-Sep-02 6:11 
GeneralRe: These user breakpoints are driving me crazy! Please help. Pin
Redeemer-dk18-Sep-02 6:35
Redeemer-dk18-Sep-02 6:35 
GeneralComparing a character string to LPWSTR Pin
abhinarulkar18-Sep-02 5:13
abhinarulkar18-Sep-02 5:13 
GeneralRe: Comparing a character string to LPWSTR Pin
Paul M Watt18-Sep-02 5:18
mentorPaul M Watt18-Sep-02 5:18 
GeneralRe: Comparing a character string to LPWSTR Pin
Bart Robeyns18-Sep-02 6:14
Bart Robeyns18-Sep-02 6:14 
GeneralRe: Comparing a character string to LPWSTR Pin
Le centriste18-Sep-02 6:21
Le centriste18-Sep-02 6:21 
QuestionIn VB 6.0 How do I check to see if an Executable is running? Pin
BHBAD200218-Sep-02 5:03
sussBHBAD200218-Sep-02 5:03 
AnswerRe: In VB 6.0 How do I check to see if an Executable is running? Pin
Paul M Watt18-Sep-02 5:22
mentorPaul M Watt18-Sep-02 5:22 
Questionhow could I find my articles wrote in this fourm ? Pin
Angel Kid18-Sep-02 4:35
Angel Kid18-Sep-02 4:35 
AnswerRe: how could I find my articles wrote in this fourm ? Pin
benjymous18-Sep-02 4:50
benjymous18-Sep-02 4:50 
AnswerRe: how could I find my articles wrote in this fourm ? Pin
jmkhael18-Sep-02 4:50
jmkhael18-Sep-02 4:50 
AnswerI mean that I wanna find all articles I wrote in this fourm Pin
Angel Kid19-Sep-02 3:46
Angel Kid19-Sep-02 3:46 
Questionwhere to delete or destroy object? Pin
ns18-Sep-02 4:16
ns18-Sep-02 4:16 
AnswerRe: where to delete or destroy object? Pin
Bilal18-Sep-02 4:43
Bilal18-Sep-02 4:43 
QuestionWhich lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:12
Anonymous18-Sep-02 4:12 
AnswerRe: Which lib is corresponding to Dskquota.h? Pin
Lakitu18-Sep-02 4:19
Lakitu18-Sep-02 4:19 
GeneralRe: Which lib is corresponding to Dskquota.h? Pin
Anonymous18-Sep-02 4:46
Anonymous18-Sep-02 4:46 

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.