B
Bart Roozendaal
Hi,
I have setup a (my first) C# assembly. I am using the COM Interop services
to use the assembly from a Delphi program.
Is there a way to return a XmlDomDocument object from the assembly to the
Delphi program? If I try to return the XmlDocument object itself, I get an
error like:
This type has a ComVisible(false) parent in its hierarchy.
I've now chosen to return the OuterXml of the document and restoring the
object in the Delphi-program, but that seems like one step too many and costs
additional resources and processing time.
Is there some way to pass the XmlDocument to the Delphi program?
Please be aware: these are my first steps into C# and .NET so please forgive
me if it's a stupid question
Bye,
Bart Roozendaa
I have setup a (my first) C# assembly. I am using the COM Interop services
to use the assembly from a Delphi program.
Is there a way to return a XmlDomDocument object from the assembly to the
Delphi program? If I try to return the XmlDocument object itself, I get an
error like:
This type has a ComVisible(false) parent in its hierarchy.
I've now chosen to return the OuterXml of the document and restoring the
object in the Delphi-program, but that seems like one step too many and costs
additional resources and processing time.
Is there some way to pass the XmlDocument to the Delphi program?
Please be aware: these are my first steps into C# and .NET so please forgive
me if it's a stupid question
Bye,
Bart Roozendaa