launching msxml from C

launching msxml from C

Post by Tom Gave » Wed, 23 Oct 2002 09:02:37



Hi,
  I'm trying to launch the msxml.dll from C to check xml
documents for well-formedness and/or validation.  Can I
just ShellExecute the dll?  Or do I have to talk to the
dll from COM?

  Sample code very much appreciated!!

Thanks, Tom

 
 
 

launching msxml from C

Post by Marro » Wed, 23 Oct 2002 09:18:20


Hi Tom,

Quote:>   I'm trying to launch the msxml.dll from C to check xml
> documents for well-formedness and/or validation.  Can I
> just ShellExecute the dll?  Or do I have to talk to the
> dll from COM?

You will have to talk to the COM interfaces

Quote:>   Sample code very much appreciated!!

Have you looked at the MSXML SDK?  Quite a few snips of C++ code in there.
http://www.veryComputer.com/
sdncompositedoc.xml

Cheers
Marrow, Microsoft XML MVP
http://www.veryComputer.com/ - home of Xselerator (XSLT IDE and de*)
http://www.veryComputer.com/


Quote:> Hi,
>   I'm trying to launch the msxml.dll from C to check xml
> documents for well-formedness and/or validation.  Can I
> just ShellExecute the dll?  Or do I have to talk to the
> dll from COM?

>   Sample code very much appreciated!!

> Thanks, Tom


 
 
 

launching msxml from C

Post by Tom Gave » Wed, 23 Oct 2002 11:30:46


Ouch, I was afraid of that!!
:(
I did see an xmltree example in the knowledgebase. I'll
try to take a machete to that and port to C.

It sure is amazing to see the differences in accessing
MSXML.DLL from C#, VB and Jscript, and then comparing
that to C.  Wow.  What a pain!

Thanks!
Tom

>-----Original Message-----
>Hi Tom,

>>   I'm trying to launch the msxml.dll from C to check
xml
>> documents for well-formedness and/or validation.  Can I
>> just ShellExecute the dll?  Or do I have to talk to the
>> dll from COM?

>You will have to talk to the COM interfaces

>>   Sample code very much appreciated!!

>Have you looked at the MSXML SDK?  Quite a few snips of
C++ code in there.
>http://www.veryComputer.com/
FILES/027/001/766/m
>sdncompositedoc.xml

>Cheers
>Marrow, Microsoft XML MVP
>http://www.veryComputer.com/ - home of Xselerator (XSLT IDE
and de*)
>http://www.veryComputer.com/



>> Hi,
>>   I'm trying to launch the msxml.dll from C to check
xml
>> documents for well-formedness and/or validation.  Can I
>> just ShellExecute the dll?  Or do I have to talk to the
>> dll from COM?

>>   Sample code very much appreciated!!

>> Thanks, Tom

>.

 
 
 

1. Curious Networks Launches Developer's Workshop

ANN:
Curious Networks has launched Workshop, an open development environment
for creating multi-channel applications. With Workshop developers can
learn MAXML, a language created specifically for applications that run
across a wide range of Internet devices. Write an application once
using MAXML and deploy it to voice portals, the Web and WAP phones.
Sign up and start building your own applications at
http://workshop.curiousnetworks.com/

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Adding W2K Pro workstation to NT4 domain

3. XML Schema Developers List launched

4. ModemSurfr 56K

5. alphaWorks Japan just Launched

6. Copying question - Tomb Raider

7. Opening XML in VS launches external IE browser

8. Sample configuration file for Cisco 801 in combination with a VPN box

9. on rollover launches animation

10. can I use command line to launch internet explorer and open one url each time

11. XML Search Engine Launched

12. MSXML 3 and MSXML 4 conflict