By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

Consuming a DLL with compound DataType

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
romy wrote:
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
Nov 21 '05 #2

P: n/a
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?)

"Chris" <no@spam.com> wrote in message
news:Ol*************@TK2MSFTNGP10.phx.gbl...
romy wrote:
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

Nov 21 '05 #3

P: n/a
romy wrote:
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?)

"Chris" <no@spam.com> wrote in message
news:Ol*************@TK2MSFTNGP10.phx.gbl...
romy wrote:
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


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

Nov 21 '05 #4

P: n/a
romy wrote:
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.

Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.