|
-
October 31st, 2003, 10:51 AM
#1
UDT as in parameter problem
Hi,
I have a ATL outproc server. i am taking a UDT from a client as in parameter.
HRESULT test([in]SomeUDT);
but when my client is calling this method in VB its getting byval error.
if i changed this signature to
HRESULT test([in]SomeUDT*);
i.e to pointer its working fine.
can anybody tell me why i need to declare it as pointer to pass a UDT as in parameter from VB.
Vinod
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|