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

How to send UDT from a ATL Server implemented in VC++ to ASP Client

P: n/a
Hi,

I want to know the possiblity and process of an ASP client, which
needs to get some UDT from a ATL Server component implemented in VC++.
The UDT is basically a C++ class consisting of a BSTR and a short.
for eg.,

class CMyClass
{
BSTR myName;
short myNum;
};

and what actually i need is to pass a collection(vector) of this object
to ASP client as well as to a VC++ client.

If any one knows some way to get this thanks in advance.

Regards,
Remo

May 25 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Remo wrote:
Hi,

I want to know the possiblity and process of an ASP client, which
needs to get some UDT from a ATL Server component implemented in VC++.
The UDT is basically a C++ class consisting of a BSTR and a short.
for eg.,

class CMyClass
{
BSTR myName;
short myNum;
};

and what actually i need is to pass a collection(vector) of this
object to ASP client as well as to a VC++ client.

If any one knows some way to get this thanks in advance.

Regards,
Remo


I do not believe this is possible without some intermediate component
.... all data is variant in script languages. Perhaps these will help:

http://support.microsoft.com/default...b;EN-US;244012
http://support.microsoft.com/default...b;EN-US;197956

Building COM Components That Take Full Advantage of Visual Basic and
Scripting
http://msdn.microsoft.com/library/te...bscriptcom.htm

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
May 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.