Consuming a DLL with compound DataType

  • Thread starter Thread starter romy
  • Start date Start date
R

romy

Hi

I'm about to write a DLL that has to recieve and XML document as one of its
parameters.

However , I'm not sure that the consumers of this DLL will work under the
..NET framework, (such as access or vb6) hence they do not
support class XMLDocument.

What are my options ?

thanks
 
romy said:
Hi

I'm about to write a DLL that has to recieve and XML document as one of its
parameters.

However , I'm not sure that the consumers of this DLL will work under the
.NET framework, (such as access or vb6) hence they do not
support class XMLDocument.

What are my options ?

thanks

well if you are making a dll that doesn't use the .net framework then
you must be using com. So use a datatype that com supports so string
should do...

Chris
 
What do you mean .
say I write a class library with vb.net ,what's need to be done for vb6 or
access to consume it ?

(Instead of passing XML file I'll pass a String to pinpoint its
location...this is good enough solution, isn't it?)
 
romy said:
What do you mean .
say I write a class library with vb.net ,what's need to be done for vb6 or
access to consume it ?

(Instead of passing XML file I'll pass a String to pinpoint its
location...this is good enough solution, isn't it?)


For vb6 or any other non-framework dll to use a framework dll it must be
converted to a com dll. Do an online search about create com object in
..net. Remember though, if you create a .net dll and want to use it in
VB6, the VB6 machine still must have the .net framework installed.

Chris
 
romy said:
What do you mean .
say I write a class library with vb.net ,what's need to be done for vb6 or
access to consume it ?

For VB6 to consume a .Net class library, the .Net framework must be
installed.
 

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

Back
Top