Click here to Skip to main content
15,885,309 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: mysql_fetch_field Pin
includeh103-Dec-09 1:26
includeh103-Dec-09 1:26 
AnswerRe: mysql_fetch_field Pin
Rajesh R Subramanian3-Dec-09 1:26
professionalRajesh R Subramanian3-Dec-09 1:26 
GeneralRe: mysql_fetch_field Pin
MsmVc3-Dec-09 1:30
MsmVc3-Dec-09 1:30 
AnswerRe: mysql_fetch_field Pin
Rajesh R Subramanian3-Dec-09 1:33
professionalRajesh R Subramanian3-Dec-09 1:33 
GeneralRe: mysql_fetch_field Pin
MsmVc3-Dec-09 1:40
MsmVc3-Dec-09 1:40 
GeneralRe: mysql_fetch_field Pin
includeh103-Dec-09 2:10
includeh103-Dec-09 2:10 
GeneralRe: mysql_fetch_field Pin
MsmVc3-Dec-09 17:22
MsmVc3-Dec-09 17:22 
QuestionGetting problem with RegisterShellFileTypes() in MFC Dialog based application. [modified] Pin
vasu_sri3-Dec-09 0:12
vasu_sri3-Dec-09 0:12 
i created one dialog based application. In that Dlg App class i am calling RegisterShellFileTypes(), in CWInApp::initInstace.

But application is crashing due to no poniter to document class.
code is like this :

CDesktopWallpaperDlg dlg;
m_pMainWnd = &dlg;

EnableShellOpen();
RegisterShellFileTypes();

INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
    // TODO: Place code here to handle when the dialog is
    //  dismissed with OK
}
else if (nResponse == IDCANCEL)
{
    // TODO: Place code here to handle when the dialog is
    //  dismissed with Cancel
}


so, can anyone tell me what is the problem exactly?

it working with SDI Application..

Regards,
Srinivas

modified on Thursday, December 3, 2009 6:24 AM

AnswerRe: Getting problem with RegisterShellFileTypes() in MFC Dialog based application. Pin
LunaticFringe3-Dec-09 0:23
LunaticFringe3-Dec-09 0:23 
GeneralRe: Getting problem with RegisterShellFileTypes() in MFC Dialog based application. Pin
vasu_sri3-Dec-09 0:52
vasu_sri3-Dec-09 0:52 
GeneralRe: Getting problem with RegisterShellFileTypes() in MFC Dialog based application. Pin
LunaticFringe3-Dec-09 4:48
LunaticFringe3-Dec-09 4:48 
GeneralRe: Getting problem with RegisterShellFileTypes() in MFC Dialog based application. Pin
vasu_sri3-Dec-09 17:51
vasu_sri3-Dec-09 17:51 
AnswerRe: Getting problem with RegisterShellFileTypes() in MFC Dialog based application. Pin
KingsGambit3-Dec-09 0:26
KingsGambit3-Dec-09 0:26 
Questionunresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
includeh102-Dec-09 23:08
includeh102-Dec-09 23:08 
AnswerRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
Richard MacCutchan3-Dec-09 0:06
mveRichard MacCutchan3-Dec-09 0:06 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
includeh103-Dec-09 1:12
includeh103-Dec-09 1:12 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
Richard MacCutchan3-Dec-09 1:31
mveRichard MacCutchan3-Dec-09 1:31 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
includeh103-Dec-09 2:08
includeh103-Dec-09 2:08 
GeneralRe: unresolved external symbol "public: long __thiscall IWshRuntimeLibrary::IWshShortcut::Save(void) Pin
Richard MacCutchan3-Dec-09 2:27
mveRichard MacCutchan3-Dec-09 2:27 
Questionresizing the window Pin
uzmeed2-Dec-09 21:33
uzmeed2-Dec-09 21:33 
AnswerRe: resizing the window Pin
KingsGambit2-Dec-09 21:42
KingsGambit2-Dec-09 21:42 
GeneralRe: resizing the window Pin
uzmeed4-Dec-09 19:32
uzmeed4-Dec-09 19:32 
AnswerRe: resizing the window Pin
Cedric Moonen2-Dec-09 22:00
Cedric Moonen2-Dec-09 22:00 
AnswerRe: resizing the window Pin
Rajesh R Subramanian2-Dec-09 23:34
professionalRajesh R Subramanian2-Dec-09 23:34 
QuestionRe: resizing the window Pin
David Crow3-Dec-09 3:08
David Crow3-Dec-09 3:08 

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.