Click here to Skip to main content
16,007,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: overloaded operator + Pin
Todd Smith23-Oct-01 18:36
Todd Smith23-Oct-01 18:36 
GeneralRe: overloaded operator + Pin
Christian Graus23-Oct-01 18:57
protectorChristian Graus23-Oct-01 18:57 
GeneralRe: overloaded operator + Pin
#realJSOP24-Oct-01 2:44
professional#realJSOP24-Oct-01 2:44 
GeneralRe: overloaded operator + Pin
Todd Smith24-Oct-01 14:08
Todd Smith24-Oct-01 14:08 
GeneralCCustomDraw for Trackbar Pin
clintsinger23-Oct-01 14:17
clintsinger23-Oct-01 14:17 
GeneralRe: CCustomDraw for Trackbar Pin
Tomasz Sowinski24-Oct-01 0:16
Tomasz Sowinski24-Oct-01 0:16 
GeneralHELP -- Re: CCustomDraw for Trackbar Pin
clintsinger24-Oct-01 7:29
clintsinger24-Oct-01 7:29 
GeneralFile Save As... and UNC File specifications Pin
23-Oct-01 12:44
suss23-Oct-01 12:44 
I have an MDI app that contains an open and modified document. The file specification of the document is in a UNC format (GetDocument()->GetPathName() returns \\Server\Share\MyDocument.txt). When I click on Save As, MFC calls GetSaveFileName() for me to display the CFileDialog so that I can enter a filename. When the dialog box is displayed I get four copies of the following message displayed in the debugger's output window: "First-chance exception in MyProgram.exe (RPCRT4.DLL): 0x000006BA: (no name)." If I look at the m_ofn.lpstrFile member variable that GetSaveFileName uses, the filespec is in UNC format. If I gludge things up, map a drive, and change m_ofn.lpstrFile to be a normal file spec (c:\temp\MyDocument.txt), I don't get these exceptions! In either case, the Save As appears to work just fine - the exceptions don't seem to bother things.

Does anyone with UNC experience know what is going on here? Is there something special I need to do when using UNC file specs - i.e. some flag I need to set?

Thanks,
Don Sanders
GeneralRe: File Save As... and UNC File specifications Pin
Tomasz Sowinski23-Oct-01 23:50
Tomasz Sowinski23-Oct-01 23:50 
QuestionHow can I make the computer beep w/ a few lines of code? Pin
John Ashcroft23-Oct-01 11:12
John Ashcroft23-Oct-01 11:12 
AnswerRe: How can I make the computer beep w/ a few lines of code? Pin
Chris Losinger23-Oct-01 11:18
professionalChris Losinger23-Oct-01 11:18 
GeneralRe: How can I make the computer beep w/ a few lines of code? Pin
#realJSOP24-Oct-01 2:45
professional#realJSOP24-Oct-01 2:45 
AnswerRe: How can I make the computer beep w/ a few lines of code? Pin
Carlos Antollini23-Oct-01 11:20
Carlos Antollini23-Oct-01 11:20 
AnswerRe: How can I make the computer beep w/ a few lines of code? Pin
Christian Graus23-Oct-01 11:20
protectorChristian Graus23-Oct-01 11:20 
AnswerRe: THANKS How can I make the computer beep w/ a few lines of code? Pin
John Ashcroft23-Oct-01 11:40
John Ashcroft23-Oct-01 11:40 
GeneralRe: How can I make the computer beep w/ a few lines of code? Pin
Ravi Bhavnani23-Oct-01 11:27
professionalRavi Bhavnani23-Oct-01 11:27 
GeneralRe: How can I make the computer beep w/ a few lines of code? Pin
Christian Graus23-Oct-01 11:37
protectorChristian Graus23-Oct-01 11:37 
GeneralRe: How can I make the computer beep w/ a few lines of code? Pin
Carlos Antollini23-Oct-01 12:12
Carlos Antollini23-Oct-01 12:12 
AnswerRe: How can I make the computer beep w/ a few lines of code? Pin
Steve L.23-Oct-01 12:46
Steve L.23-Oct-01 12:46 
AnswerRe: How can I make the computer beep w/ a few lines of code? Pin
Todd Smith24-Oct-01 14:09
Todd Smith24-Oct-01 14:09 
GeneralC++ Newbie to Write DLL wrapper Pin
Biggy23-Oct-01 8:51
Biggy23-Oct-01 8:51 
GeneralActiveX Control Design Time Pin
23-Oct-01 7:12
suss23-Oct-01 7:12 
QuestionHow to use same handle in seperate thread Pin
Mark Lenz23-Oct-01 5:57
Mark Lenz23-Oct-01 5:57 
AnswerRe: How to use same handle in seperate thread Pin
Carlos Antollini23-Oct-01 6:09
Carlos Antollini23-Oct-01 6:09 
Answerwhy not use DuplicateHandle Pin
BruteBertus24-Oct-01 0:31
BruteBertus24-Oct-01 0:31 

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.