Click here to Skip to main content
15,912,207 members
Home / Discussions / COM
   

COM

 
QuestionRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN22-Apr-08 18:27
XuanThinh TRAN22-Apr-08 18:27 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN22-Apr-08 18:30
XuanThinh TRAN22-Apr-08 18:30 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
Vi223-Apr-08 0:53
Vi223-Apr-08 0:53 
AnswerRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: [modified] Pin
User 21559723-Apr-08 1:49
User 21559723-Apr-08 1:49 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
User 21559729-Apr-08 0:15
User 21559729-Apr-08 0:15 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
XuanThinh TRAN8-May-08 21:43
XuanThinh TRAN8-May-08 21:43 
GeneralRe: How to get DSFDevice from DSFDevices collection (simulated a EHCI controller):sigh: :sigh: Pin
User 2155978-May-08 21:55
User 2155978-May-08 21:55 
GeneralMSXML DOM and MFC Pin
Raja Shekar17-Apr-08 13:34
Raja Shekar17-Apr-08 13:34 
All,

I have an MFC application and I am using the MSXML parser 4.0. I have the document object declared as a member variable,
<br />
        CComPtr< MSXML2::IXMLDOMDocument2 > m_spDoc;<br />


and use the rest as stack variables - like
<br />
	MSXML2::IXMLDOMNodePtr pNewChild;<br />
	MSXML2::IXMLDOMElementPtr pDomElement;<br />
	CComPtr<msxml2::ixmldomelement> spDomElement;<br />
</msxml2::ixmldomelement>


in a function. When I invoke the function the second time, call to createProcessingInstruction of the IXMLDOMDocument2 fails.
So, I thought second time initialization is an issue and hence called it only the first time.

Now, all calls to appendChild or CreateElement fail.
Can anyone tell me how to use the DOMDocument object the second time? Is there any clean up I can do before I invoke the fn the second time?

Confused | :confused:

Cheers
Raja

GeneralRe: MSXML DOM and MFC Pin
Baltoro23-Apr-08 13:29
Baltoro23-Apr-08 13:29 
QuestionSinking mshtml.HTMLDocument events in C# BHO Pin
Kim Briggs17-Apr-08 3:26
Kim Briggs17-Apr-08 3:26 
GeneralC++ COM Library Pin
thatsgreat234516-Apr-08 16:58
thatsgreat234516-Apr-08 16:58 
GeneralRe: C++ COM Library Pin
Christian Graus16-Apr-08 17:56
protectorChristian Graus16-Apr-08 17:56 
GeneralAccessing COM Class error during runtime... Pin
Prabakar15-Apr-08 23:31
Prabakar15-Apr-08 23:31 
GeneralReleasing late binding COM object in C# Pin
Crazy Joe Devola15-Apr-08 16:28
Crazy Joe Devola15-Apr-08 16:28 
GeneralRe: Releasing late binding COM object in C# Pin
User 21559715-Apr-08 23:24
User 21559715-Apr-08 23:24 
GeneralRe: Releasing late binding COM object in C# Pin
Crazy Joe Devola16-Apr-08 10:27
Crazy Joe Devola16-Apr-08 10:27 
GeneralRe: Releasing late binding COM object in C# Pin
User 21559716-Apr-08 11:55
User 21559716-Apr-08 11:55 
GeneralProblem with "ActivationContext" and multithreading Pin
Jürgen Jung14-Apr-08 2:35
Jürgen Jung14-Apr-08 2:35 
GeneralRe: Problem with "ActivationContext" and multithreading Pin
Nathan Holt at EMOM16-Apr-08 11:49
Nathan Holt at EMOM16-Apr-08 11:49 
Generalerror MIDL2025 : syntax error : expecting a type specification near "interface_name" Pin
Ganesh_T14-Apr-08 1:59
Ganesh_T14-Apr-08 1:59 
GeneralRe: error MIDL2025 : syntax error : expecting a type specification near "interface_name" Pin
Vi214-Apr-08 19:37
Vi214-Apr-08 19:37 
GeneralReading/Writing the "titel"-information of (office)documents Pin
souljumper12-Apr-08 11:54
souljumper12-Apr-08 11:54 
GeneralRe: Reading/Writing the "titel"-information of (office)documents Pin
souljumper13-Apr-08 8:00
souljumper13-Apr-08 8:00 
Questionpassing parameters from c++ to c# COM Pin
Green Fuze9-Apr-08 23:23
Green Fuze9-Apr-08 23:23 
GeneralRe: passing parameters from c++ to c# COM Pin
Vi210-Apr-08 20:31
Vi210-Apr-08 20:31 

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.