Click here to Skip to main content
16,016,605 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAccessing a remote computer from inside a service Pin
stupidflasucks2-Jun-04 5:22
stupidflasucks2-Jun-04 5:22 
GeneralTTN_NEEDTEXT never called Pin
Aviv Halperin2-Jun-04 5:05
Aviv Halperin2-Jun-04 5:05 
GeneralRe: TTN_NEEDTEXT never called Pin
David Crow2-Jun-04 5:26
David Crow2-Jun-04 5:26 
GeneralRe: TTN_NEEDTEXT never called Pin
Aviv Halperin2-Jun-04 5:56
Aviv Halperin2-Jun-04 5:56 
GeneralRe: TTN_NEEDTEXT never called Pin
David Crow2-Jun-04 7:26
David Crow2-Jun-04 7:26 
GeneralRe: TTN_NEEDTEXT never called Pin
Aviv Halperin2-Jun-04 8:09
Aviv Halperin2-Jun-04 8:09 
GeneralRe: TTN_NEEDTEXT never called Pin
HENDRIK R2-Jun-04 5:28
HENDRIK R2-Jun-04 5:28 
GeneralModeless dialog Pin
si_692-Jun-04 4:59
si_692-Jun-04 4:59 
hi all

i have a modeless dialog which i call, kind of a waiting dialog if you like

i use

CCPServerWait* m_pWaitDlg;
m_pWaitDlg = new CCPServerWait;
m_pWaitDlg->Create(IDD_DCPSERVER_WAIT
m_pWaitDlg->m_wait_mes = "ConfimingDetails...Please Wait";
m_pWaitDlg->UpdateData(FALSE);
m_pWaitDlg->CenterWindow(CWnd::GetDesktopWindow());
m_pWaitDlg->ShowWindow(SW_SHOW);
m_pWaitDlg->UpdateWindow();

however im getting a debug assertion error on wincore.cpp when i run my program

when i look at the value CCPServerWait has when i step through hWnd is equalling nothing

CCPServerWait {CCPServerWait hWnd=???} CCPServerWait

this used to work fine until i added in the line of code below before the
dialog is called

ok = SQLCreateDataSource(m_hWnd,"CP_CMIS_CON");

which allows the user to create a Datasource
if i take this out the above works, but with it in
it throws me out an error on the m_pWaitDlg->UpdateData(FALSE); line

i assume this is because hWnd=???

but i dont know how to fix it

any ideas ????Confused | :confused:
GeneralRe: Modeless dialog Pin
David Crow2-Jun-04 5:30
David Crow2-Jun-04 5:30 
GeneralRe: Modeless dialog Pin
si_692-Jun-04 5:54
si_692-Jun-04 5:54 
GeneralRe: Modeless dialog Pin
David Crow2-Jun-04 5:58
David Crow2-Jun-04 5:58 
QuestionCalling methods of an appobject COM object? Pin
Roozbeh692-Jun-04 4:06
professionalRoozbeh692-Jun-04 4:06 
GeneralFail to add my HTTP headers when using IWebBrowser2 interface Pin
louxinghua@dep2-Jun-04 3:23
louxinghua@dep2-Jun-04 3:23 
GeneralRe: Fail to add my HTTP headers when using IWebBrowser2 interface Pin
Andy Brummer2-Jun-04 10:26
sitebuilderAndy Brummer2-Jun-04 10:26 
GeneralRe: Fail to add my HTTP headers when using IWebBrowser2 interface Pin
Andrew Quinn AUS3-Jun-04 4:31
Andrew Quinn AUS3-Jun-04 4:31 
GeneralTimestamp on object and updating Pin
Anonymous2-Jun-04 3:15
Anonymous2-Jun-04 3:15 
GeneralRe: Timestamp on object and updating Pin
David Crow2-Jun-04 4:33
David Crow2-Jun-04 4:33 
GeneralRe: Timestamp on object and updating Pin
Anonymous2-Jun-04 7:21
Anonymous2-Jun-04 7:21 
GeneralRe: Timestamp on object and updating Pin
David Crow2-Jun-04 7:50
David Crow2-Jun-04 7:50 
GeneralRe: Timestamp on object and updating Pin
Anonymous3-Jun-04 1:35
Anonymous3-Jun-04 1:35 
Generalhyperterminal Pin
Jeje2-Jun-04 2:47
Jeje2-Jun-04 2:47 
GeneralRe: hyperterminal Pin
David Crow2-Jun-04 2:54
David Crow2-Jun-04 2:54 
Generalmsdev.exe debugger Pin
Bob Stanneveld2-Jun-04 2:07
Bob Stanneveld2-Jun-04 2:07 
GeneralRe: msdev.exe debugger Pin
Bob Stanneveld2-Jun-04 2:33
Bob Stanneveld2-Jun-04 2:33 
GeneralRe: msdev.exe debugger Pin
jmkhael2-Jun-04 2:33
jmkhael2-Jun-04 2:33 

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.