Valeska
March 13th, 2001, 08:37 AM
Hi,
Does anyboby know how can I get the returned string value from a component COM in my file .asp?
I´ve implemented a component interface like this:
HRESULT searchName([in] long userID, [out, retval] wchar_t *name)
The searchName interface must receive an userID and return a name. Is this correct?
My .asp file :
...
i = comp.searchName(100)
response.write "result = " &i&
...
And the result of this is a number and not a string .
Where are my mistakes? How should I implement this?
Thanks for any help!
Does anyboby know how can I get the returned string value from a component COM in my file .asp?
I´ve implemented a component interface like this:
HRESULT searchName([in] long userID, [out, retval] wchar_t *name)
The searchName interface must receive an userID and return a name. Is this correct?
My .asp file :
...
i = comp.searchName(100)
response.write "result = " &i&
...
And the result of this is a number and not a string .
Where are my mistakes? How should I implement this?
Thanks for any help!