473,396 Members | 1,982 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Consuming a DLL with compound DataType

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
4 1156
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Sonia | last post by:
I have been looking for a definition of a compound class but cannot find it anywhere ? What exactly is a compound class ? Thanks
6
by: David W. Fenton | last post by:
I'm generally against using compound keys, except in join tables, but I'm currently mapping out a schema where the join table has child records. The application is for fund-raising and I have four...
6
by: William Ahern | last post by:
So, GCC 4.01 is giving errors that GCC 3.3 did not, and I'm thinking they've gone overboard with their new type checking infrastructure. Here's the supposedly offending code (no laughing or...
7
by: Eric Laberge | last post by:
Aloha! This question is meant to be about C99 and unnamed compound objects. As I read, if such a construct as int *p = (int){0}; is used within a function, then it has "automatic storage...
1
by: mzam | last post by:
Hi everyone, I have a vbscript which is consuming WebMethods from a WebService. Whenever the WebMethod returns a string or integer then no problem but when the WebMethod returns a DataSet then...
8
by: wespvp | last post by:
I am using PostgreSQL 7.4.1 on RedHat 7.2. The query I am executing is something like (I replaced all the return values with 'count'): db=> explain select count(*) from messages m join (select...
7
by: Timo Haberkern | last post by:
Hi there, i have some troubles with my TSearch2 Installation. I have done this installation as described in http://www.sai.msu.su/~megera/oddmuse/index.cgi/Tsearch_V2_compound_words...
2
by: Scott Zabolotzky | last post by:
I've got an XML file that contains both a data section and a custom schema section. The data may represent only a subset of the parameters defined by the schema. I'm new to XSLT and I'm trying...
27
by: Nate Eldredge | last post by:
Consider the following pseudo-code: #include <opaque.h> struct foo { int a; opaque_t op; int b; };
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.