Click here to Skip to main content
15,921,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vaild pause? Pin
---Mark---14-Feb-05 14:28
---Mark---14-Feb-05 14:28 
GeneralRe: Vaild pause? Pin
Ravi Bhavnani15-Feb-05 2:19
professionalRavi Bhavnani15-Feb-05 2:19 
AnswerRe: Vaild pause? Pin
Jörgen Sigvardsson12-Feb-05 10:40
Jörgen Sigvardsson12-Feb-05 10:40 
QuestionHow to declare global variables in MFC dialog application? Pin
tttyip12-Feb-05 5:37
tttyip12-Feb-05 5:37 
AnswerRe: How to declare global variables in MFC dialog application? Pin
Mohammad A Gdeisat12-Feb-05 5:58
Mohammad A Gdeisat12-Feb-05 5:58 
AnswerRe: How to declare global variables in MFC dialog application? Pin
jerry_21512-Feb-05 7:22
jerry_21512-Feb-05 7:22 
AnswerRe: How to declare global variables in MFC dialog application? Pin
S. Senthil Kumar12-Feb-05 8:43
S. Senthil Kumar12-Feb-05 8:43 
GeneralMSHTML parsing error Pin
luda12-Feb-05 2:51
luda12-Feb-05 2:51 
Hello all,
I'am using MSHTML DOM model for parsing HTML document.
Everything works fine, but any element which contains attribut with path has wrong value.
For example, if in HTML is element with attribute href="index.htm" , in DOM has attribut href value "about:blankindex.htm".

I think, this is caused by missing default location for document. But I don't known how to set it ;-(.
I found interface IHTMLLocation, but when I try any put_* method, DOM throw First-chance exception at 0x7c81eb33 in XSLWebTransformConsoleApp.exe: 0xE0000001: 0xe0000001.

This works fine
<br />
BSTR bstrRef;<br />
pLocation->get_href(&bstrRef);<br />


but this throw exception
<br />
 WCHAR wch[]=L"http://www.xcode4u.com";<br />
 CComBSTR bsURL(wch);<br />
  pLocation->put_href(bsURL);<br />


and this too ;-(
<br />
  CComBSTR bsURL("http://www.xcode4u.com";);<br />
  pLocation->put_href(bsURL);<br />



Can anybody help me please ?
Thanks a lot.

Luda

ps: Sorry for my english Wink | ;-)

GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 6:49
ThatsAlok12-Feb-05 6:49 
GeneralRe: MSHTML parsing error Pin
luda12-Feb-05 7:01
luda12-Feb-05 7:01 
GeneralRe: MSHTML parsing error Pin
ThatsAlok12-Feb-05 15:29
ThatsAlok12-Feb-05 15:29 
GeneralProblem trying to Advise Pin
djavanci12-Feb-05 2:18
djavanci12-Feb-05 2:18 
GeneralArray question Pin
jw8112-Feb-05 2:04
jw8112-Feb-05 2:04 
GeneralRe: Array question Pin
ThatsAlok12-Feb-05 2:15
ThatsAlok12-Feb-05 2:15 
GeneralRe: Array question Pin
Emilio Garavaglia12-Feb-05 5:18
Emilio Garavaglia12-Feb-05 5:18 
GeneralRe: Array question Pin
ThatsAlok12-Feb-05 6:44
ThatsAlok12-Feb-05 6:44 
GeneralRe: Array question Pin
jw8112-Feb-05 15:37
jw8112-Feb-05 15:37 
GeneralRe: Array question Pin
Hamed Musavi12-Feb-05 11:26
Hamed Musavi12-Feb-05 11:26 
GeneralRe: Array question Pin
tttyip13-Feb-05 3:53
tttyip13-Feb-05 3:53 
Generalserial port programming Pin
Oriented12-Feb-05 0:29
Oriented12-Feb-05 0:29 
GeneralRe: serial port programming Pin
ThatsAlok12-Feb-05 0:53
ThatsAlok12-Feb-05 0:53 
QuestionHow to create splashwindow on MFC? Pin
bilas12-Feb-05 0:27
bilas12-Feb-05 0:27 
AnswerRe: How to create splashwindow on MFC? Pin
ThatsAlok12-Feb-05 0:48
ThatsAlok12-Feb-05 0:48 
GeneralRe: How to create splashwindow on MFC? Pin
V.G12-Feb-05 1:53
V.G12-Feb-05 1:53 
GeneralRe: How to create splashwindow on MFC? Pin
bilas12-Feb-05 1:57
bilas12-Feb-05 1:57 

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.