|
-
June 22nd, 2001, 02:06 AM
#1
How can return a String from C++ DLL to VB?
I am returning a HASH DEFINE string from a DLL developed using C++ to VB as BSTR. But in some cases VB cannot get the string at all.What all should I do for this to get the same correctly. Can you suggest me with a better idea.
My C++ code is as given below:
BSTR __stdcall ReturnFn( )
{
return (BSTR)_T("RETURN VALUE");
}
Thanks in advance
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
|