Indirect use of COM

G

George Ter-Saakov

Hi.

I need to use the COM objects indirectly from ASP.NET pages.
I.E. ASP.NET calls Managed C++ class which makes the call to DOMDocument
( It has to parse out the XML file).

Do i need to do anything specific for that?

I do not keep COM objects alive. Just create DOMDocument parse out XML file
and return.

Thanks.
George.
 
F

Francis Shanahan

My previous response never made it, not sure why, here it is:
---------------------
You can use regular COM automation (Server.CreateObject) from the aspx
script itself without any interoperability.

If you'd like the calls in the code behind you can use interoperability
(lots of articles available in google).

If you're just doing XML parsing, why not use the XMLReader or other .NET
framework classes?
 
N

Natty Gur

Hi,

Since DOMDocument isnt STA you dont need to do anything.

Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top