470,638 Members | 1,577 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,638 developers. It's quick & easy.

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

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
1 1665
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.

Similar topics

4 posts views Thread by Mark J. McGinty | last post: by
6 posts views Thread by Tom | last post: by
reply views Thread by zhimin | last post: by
3 posts views Thread by Cesario Simoes | last post: by
3 posts views Thread by Cl?udio | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.