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

C / C++ / MFC

 
Generalword automation Pin
vcpgmr16-Jun-05 23:29
vcpgmr16-Jun-05 23:29 
GeneralRe: word automation Pin
Rage17-Jun-05 1:44
professionalRage17-Jun-05 1:44 
Questionhow to add static control to a toolbar? Pin
ThinkingPrometheus16-Jun-05 23:14
ThinkingPrometheus16-Jun-05 23:14 
GeneralSet focus to the edit box Pin
topagarwal16-Jun-05 22:51
topagarwal16-Jun-05 22:51 
GeneralRe: Set focus to the edit box Pin
John R. Shaw16-Jun-05 23:09
John R. Shaw16-Jun-05 23:09 
GeneralAssertion on Context sensitive help Pin
topagarwal16-Jun-05 22:46
topagarwal16-Jun-05 22:46 
GeneralRe: Assertion on Context sensitive help Pin
BlackDice17-Jun-05 2:56
BlackDice17-Jun-05 2:56 
GeneralRe: Assertion on Context sensitive help Pin
BlackDice17-Jun-05 4:46
BlackDice17-Jun-05 4:46 
thanks for the email, but you'll get better responses if you post the code so that everyone can see it. I am trying to help, but I'm no DavidCrow or toxcct.

Here's what topagarwal sent me:

Message box:<br />
Unhandled exception at 0x7c34055c (MFC71UD.DLL) in CAMU485.exe: User breakpoint.


Code :

        m_pMainWnd = &dlg;
        INT_PTR nResponse = dlg.DoModal();


which line is it blowing up at? I don't think you should be making nResponse an INT_PTR variable. try using int and see what happens. If that works and you still need a pointer, how about making an INT_PTR variable that points to the address of nResponse? I'm not sure what you're trying to do here, so we'll probably need more information

My articles

www.stillwaterexpress.com

BlackDice
QuestionHow to set default radio button in MFC Pin
Vaclav16-Jun-05 22:09
Vaclav16-Jun-05 22:09 
AnswerRe: How to set default radio button in MFC Pin
Jitendra gangwar16-Jun-05 22:17
Jitendra gangwar16-Jun-05 22:17 
GeneralRe: How to set default radio button in MFC Pin
Vaclav17-Jun-05 6:14
Vaclav17-Jun-05 6:14 
AnswerRe: How to set default radio button in MFC Pin
Priyank Bolia16-Jun-05 22:23
Priyank Bolia16-Jun-05 22:23 
AnswerRe: How to set default radio button in MFC Pin
David Crow17-Jun-05 2:30
David Crow17-Jun-05 2:30 
AnswerRe: How to set default radio button in MFC Pin
Vaclav17-Jun-05 6:06
Vaclav17-Jun-05 6:06 
AnswerRe: How to set default radio button in MFC Pin
Vaclav17-Jun-05 6:25
Vaclav17-Jun-05 6:25 
GeneralUrgent : Share Directory Visual C++ Pin
Don Luis Perenna16-Jun-05 21:46
Don Luis Perenna16-Jun-05 21:46 
GeneralRe: Urgent : Share Directory Visual C++ Pin
sunit516-Jun-05 21:55
sunit516-Jun-05 21:55 
GeneralRe: Urgent : Share Directory Visual C++ Pin
Don Luis Perenna16-Jun-05 22:37
Don Luis Perenna16-Jun-05 22:37 
GeneralRe: Urgent : Share Directory Visual C++ Pin
John R. Shaw17-Jun-05 0:12
John R. Shaw17-Jun-05 0:12 
GeneralRe: Urgent : Share Directory Visual C++ Pin
Don Luis Perenna17-Jun-05 2:19
Don Luis Perenna17-Jun-05 2:19 
GeneralRe: Urgent : Share Directory Visual C++ Pin
David Crow17-Jun-05 2:33
David Crow17-Jun-05 2:33 
GeneralRe: Urgent : Share Directory Visual C++ Pin
Don Luis Perenna17-Jun-05 2:41
Don Luis Perenna17-Jun-05 2:41 
GeneralView Source Pin
dex_ter1116-Jun-05 21:30
dex_ter1116-Jun-05 21:30 
GeneralRe: View Source Pin
Priyank Bolia16-Jun-05 22:45
Priyank Bolia16-Jun-05 22:45 
GeneralI am getting error&quot;The host name in the certificate is invalid or does not match.&quot; Pin
naeemrbhatti16-Jun-05 21:18
naeemrbhatti16-Jun-05 21:18 

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.