Click here to Skip to main content
15,902,938 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan not find the Dialog resource from .NET Pin
ElizabethC3-Apr-03 12:52
ElizabethC3-Apr-03 12:52 
GeneralCString and WriteFile Pin
andyg.1013-Apr-03 11:39
andyg.1013-Apr-03 11:39 
GeneralRe: CString and WriteFile Pin
John R. Shaw3-Apr-03 12:43
John R. Shaw3-Apr-03 12:43 
GeneralRe: CString and WriteFile Pin
Chintan3-Apr-03 18:46
Chintan3-Apr-03 18:46 
GeneralRe: CString and WriteFile Pin
Joan M3-Apr-03 22:14
professionalJoan M3-Apr-03 22:14 
GeneralRe: CString and WriteFile Pin
andyg.1015-Apr-03 22:15
andyg.1015-Apr-03 22:15 
Questionhow to get main explorer's url Pin
mweiss3-Apr-03 11:02
mweiss3-Apr-03 11:02 
AnswerRe: how to get main explorer's url Pin
mweiss3-Apr-03 11:39
mweiss3-Apr-03 11:39 
It would be helpful to show the route I've been taking:

CComPtr<idispatch> spDisp;
hr = m_spBrowser->get_Document( &spDisp );
CComPtr<ihtmldocument2> spDoc2;
hr = spDisp->QueryInterface( &spDoc2 );
CComPtr<ihtmlwindow2> spWindow;
hr = spDoc2->get_parentWindow( &spWindow );
spDoc2 = NULL;
spWindow->get_document( &spDoc2 );
CComBSTR bstrParentUrl;
spDoc2->get_URL( &bstrParentUrl );

In bstrParentUrl I get a bizarre value like "res//C:\DOCUMEN~1\...." I've tried many other approaches and either get an empty string or this value.

Thanks

Melinda.
GeneralCatching Keys Pressed from anywhere... Pin
Nitron3-Apr-03 10:31
Nitron3-Apr-03 10:31 
GeneralRe: Catching Keys Pressed from anywhere... Pin
Alvaro Mendez3-Apr-03 10:56
Alvaro Mendez3-Apr-03 10:56 
GeneralRe: Catching Keys Pressed from anywhere... Pin
Nitron3-Apr-03 10:58
Nitron3-Apr-03 10:58 
GeneralRe: Catching Keys Pressed from anywhere... Pin
peterchen3-Apr-03 11:26
peterchen3-Apr-03 11:26 
GeneralRe: Catching Keys Pressed from anywhere... Pin
valikac3-Apr-03 13:28
valikac3-Apr-03 13:28 
GeneralRe: Catching Keys Pressed from anywhere... Pin
Nitron3-Apr-03 14:05
Nitron3-Apr-03 14:05 
GeneralPing Class Pin
Tom Wright3-Apr-03 10:00
Tom Wright3-Apr-03 10:00 
GeneralDebug information crashes my app :( Pin
Anonymous3-Apr-03 8:41
Anonymous3-Apr-03 8:41 
GeneralRe: Debug information crashes my app :( Pin
Maximilien3-Apr-03 8:48
Maximilien3-Apr-03 8:48 
GeneralRe: Debug information crashes my app :( Pin
AlexO3-Apr-03 8:52
AlexO3-Apr-03 8:52 
GeneralRe: Debug information crashes my app :( Pin
rbc3-Apr-03 10:18
rbc3-Apr-03 10:18 
GeneralRe: Debug information crashes my app :( Pin
Tim Smith3-Apr-03 10:23
Tim Smith3-Apr-03 10:23 
QuestionPolygon class? Pin
Anonymous3-Apr-03 8:03
Anonymous3-Apr-03 8:03 
AnswerRe: Polygon class? Pin
Maximilien3-Apr-03 8:43
Maximilien3-Apr-03 8:43 
QuestionCan I add a menu item to Internet Explorer Pin
rdautel3-Apr-03 7:44
rdautel3-Apr-03 7:44 
AnswerRe: Can I add a menu item to Internet Explorer Pin
Chris Richardson3-Apr-03 11:39
Chris Richardson3-Apr-03 11:39 
GeneralDrawText - BUG? - When using Italic font, returns incorrect width using DT_CALCRECT Pin
noirs23-Apr-03 7:30
noirs23-Apr-03 7:30 

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.