tags:

views:

18

answers:

1

Hi ,

I am working on c sharp.I need to use an API exported from an unmanaged dll. The API in the dll is using Stringlist* as datatype for one argument. How can I define my DllImport in the C sharp project so that I can comfortably pass the equivalent data from c sharp to the unmanaged code. I tried using List, ArrayList, string[]. None worked. I am getting undefined exceptions on executing the API. I would be thankful if anyone could assist me with this issue.

regards GIGIN

A: 

Maybe the System.Collections.Specialized.StringCollection is the class, you are looking for. I hope, this will help

cevik