Thread View: borland.public.csharpbuilder.xml
2 messages
2 total messages
Started by FBM
Fri, 29 Jun 2007 18:11
XMLDocument
Author: FBM
Date: Fri, 29 Jun 2007 18:11
Date: Fri, 29 Jun 2007 18:11
16 lines
1563 bytes
1563 bytes
Hi all!
I'm using C++Builder6.
I've developped a service application and I am trying to use XMLDocument
component. When I called LoadFromFile (of XMLDocument) member function, I
got an Exception saying CoInitialize hadn't been called yet.
Then I placed a call to CoInitialize at the beginning of the main service
thread, which returned S_OK. When I finally called LoadFromFile I got the
error
System error: -2146697210 (DE_E_OBJECT_NOT_FOUND)
If I make a normal windows application that does the same as the service
application, it works fine.
What could be worng service application?
Thanks FBM.
Re: XMLDocument
Author: Marc Rohloff TeamB
Date: Fri, 29 Jun 2007 19:01
Date: Fri, 29 Jun 2007 19:01
10 lines
1399 bytes
1399 bytes
On Fri, 29 Jun 2007 13:11:31 -0500, FBM wrote: > I'm using C++Builder6. This group is for c SHARP builder not c PLUS-PLUS builder. You may want to try asking on their groups. -- Marc Rohloff [TeamB] marc -at- marc rohloff -dot- com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads