Click here to Skip to main content
15,892,839 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCSocket::OnReceive Question Pin
jparsons2-Oct-02 8:06
jparsons2-Oct-02 8:06 
GeneralRe: CSocket::OnReceive Question Pin
jmkhael2-Oct-02 8:15
jmkhael2-Oct-02 8:15 
GeneralRe: CSocket::OnReceive Question Pin
jparsons2-Oct-02 11:21
jparsons2-Oct-02 11:21 
GeneralRe: CSocket::OnReceive Question Pin
jmkhael2-Oct-02 21:44
jmkhael2-Oct-02 21:44 
GeneralIXMLDOMNode as an idl parameter Pin
nlecren2-Oct-02 8:05
nlecren2-Oct-02 8:05 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Stephane Rodriguez.2-Oct-02 9:06
Stephane Rodriguez.2-Oct-02 9:06 
GeneralRe: IXMLDOMNode as an idl parameter Pin
nlecren2-Oct-02 9:21
nlecren2-Oct-02 9:21 
GeneralRe: IXMLDOMNode as an idl parameter Pin
Stephane Rodriguez.2-Oct-02 9:42
Stephane Rodriguez.2-Oct-02 9:42 
Ok, I have found the issue. The version of msxml.idl shipping with VC++6 and VS.NET is MSXML2. And the idl provided does not include the declaration of IXMLDOMNode.

You need MSXML3, and higher. Download the SDK here[^].

I just did a test, it went fine with import "msxml2.idl";. I had also to make sure this file msxml2.idl supersedes msxml.idl from the included header directories.



PS : I would suggest you don't marshall IXMLDOMNode* at all, just a void* instead. And then you do a proper QI or cast in the implementation code.




sometimes it helps to look at the IL generated code
a MS guy on develop.com "answering" .NET issues
GeneralProblem automating Excel Pin
Anonymous2-Oct-02 7:43
Anonymous2-Oct-02 7:43 
GeneralSmart Pointer question Pin
User 98852-Oct-02 7:40
User 98852-Oct-02 7:40 
Generalmap object in STL Pin
ns2-Oct-02 7:33
ns2-Oct-02 7:33 
GeneralRe: map object in STL Pin
Marc Britten2-Oct-02 7:38
Marc Britten2-Oct-02 7:38 
GeneralRe: map object in STL Pin
ns2-Oct-02 7:47
ns2-Oct-02 7:47 
GeneralRe: map object in STL Pin
Chris Losinger2-Oct-02 7:41
professionalChris Losinger2-Oct-02 7:41 
GeneralRe: map object in STL Pin
ns2-Oct-02 7:48
ns2-Oct-02 7:48 
QuestionIs there a way to send a script file to a server and run it there in VC++ code? Pin
Anonymous2-Oct-02 7:21
Anonymous2-Oct-02 7:21 
AnswerRe: Is there a way to send a script file to a server and run it there in VC++ code? Pin
TyMatthews2-Oct-02 10:54
TyMatthews2-Oct-02 10:54 
GeneralCatch image bar under the mouse Pin
progman2-Oct-02 6:59
progman2-Oct-02 6:59 
Generalmakeing VC project with MINGW Pin
sagmam2-Oct-02 6:49
sagmam2-Oct-02 6:49 
GeneralRe: makeing VC project with MINGW Pin
Mike Eriksson2-Oct-02 21:18
Mike Eriksson2-Oct-02 21:18 
GeneralSTL queue Pin
JohnnyG2-Oct-02 6:32
JohnnyG2-Oct-02 6:32 
GeneralRe: STL queue Pin
TyMatthews2-Oct-02 9:04
TyMatthews2-Oct-02 9:04 
GeneralRe: STL queue Pin
JohnnyG2-Oct-02 10:16
JohnnyG2-Oct-02 10:16 
GeneralRe: STL queue Pin
TyMatthews2-Oct-02 10:34
TyMatthews2-Oct-02 10:34 
GeneralGetting an HWND from an HINSTANCE Pin
Harold Bamford2-Oct-02 6:21
Harold Bamford2-Oct-02 6:21 

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.