Home > Archive > ASP > May 2006 > How to send UDT from a ATL Server implemented in VC++ to ASP Client
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
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
| |
| Bob Barrows [MVP] 2006-05-25, 6:56 pm |
| 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/defaul...kb;EN-US;244012
http://support.microsoft.com/defaul...kb;EN-US;197956
Building COM Components That Take Full Advantage of Visual Basic and
Scripting
http://msdn.microsoft.com/library/t...vbscriptcom.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.
|
|
|
|
|