passing (string) arrays from VB to C-DLL and vice versa 
Author Message
 passing (string) arrays from VB to C-DLL and vice versa

hi,
   i have a VB application and a C DLL and i have been going crazy the past
week trying to send string arrays back and forth !!!
can someone pls help me out ? or atleast point me to some good website which
explains clearly how to go abt this?
i searched the web but cudn't get a clear idea of what they were trying to
say.
i need my DLL to return an array of strings which VB can read properly. is
that possible??

thanks,
Julian.



Tue, 11 Jan 2005 04:17:08 GMT  
 passing (string) arrays from VB to C-DLL and vice versa
You want to check out BSTR and SAFEARRAY.

-Dale


Quote:
> hi,
>    i have a VB application and a C DLL and i have been going crazy the
past
> week trying to send string arrays back and forth !!!
> can someone pls help me out ? or atleast point me to some good website
which
> explains clearly how to go abt this?
> i searched the web but cudn't get a clear idea of what they were trying to
> say.
> i need my DLL to return an array of strings which VB can read properly. is
> that possible??

> thanks,
> Julian.



Tue, 11 Jan 2005 04:35:08 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. passing (string) arrays from VB to C-DLL and vice versa

2. SAFEARRAY **:passing from VB to VC++ vice versa

3. Byte Array to String and Vice Versa?

4. convert C# to VB and vice versa

5. how do I pass a buffer from my exe server to my client and vice versa

6. Using DLL, passing an array of integers to Vb from C and vice versa.

7. function parameters to pass a VB string array to a C++ DLL

8. passing Array of Strings between a C/C++ DLL and VB

9. passing string array from VB to C++ DLL

10. Need help with base64Binary (byte[] to string and vice versa)

11. Newbie question: converting string to integer and vice versa

12. How to converta string to an Hex and vice versa

 

 
Powered by phpBB® Forum Software