passing string arrays to dll 
Author Message
 passing string arrays to dll

I am trying to pass a string array to a vc written dll.   Any good
suggestions.  My VC routine will fill in the array and vb will analyze it.

Hal



Fri, 09 Nov 2001 03:00:00 GMT  
 passing string arrays to dll
Have the VC function expect a SAFEARRAY of BSTR (both OLE types).  Use
the SafeArray... API to access the array and the SysString... API to
create and modify strings.  VB will expect Ansi strings in the array.

--
     Jim Mack
     MicroDexterity, Inc

     http://www.microdexterity.com



Quote:

>I am trying to pass a string array to a vc written dll.   Any good
>suggestions.  My VC routine will fill in the array and vb will analyze

it.


Fri, 09 Nov 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Passing string arrays to DLL (32 bit)

2. how to pass a string array to mfc dll

3. Passing string Array from VB3 to DLL

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

5. Passing String Arrays to API DLLs

6. Passing array of strings to a dll in VB

7. help with pass string array to C DLL procedure

8. Passing string Arrays from Fortran DLL to Visual Basic

9. Passing VB String array to DLL???

10. passing vb5 arrays of strings to a vc++ 5 C dll

11. Passing Array of Strings to DLL

12. Passing a user structure with String Array to a C DLL

 

 
Powered by phpBB® Forum Software