
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.