PDA

View Full Version : How to pass array of strings to dll?



tomerdr
03-07-2008, 08:34 AM
Hi,

I know array are SAFEARRAY but how do i pass them to a dll?

Trying to pass a variant i get an un initalized safe array in the dll

prototype cdecl Remove(BYVAL STRING,BYVAL VARIANT);


when trying to pass an array i get a compilation error.

prototype cdecl Remove(BYVAL STRING,BYVAL STRING());