Are you sure you don't want a char[,] array from your C code?
–
Bryan CrosbyJul 18 '12 at 14:55

1

First try to write working C function.
–
0123456789Jul 18 '12 at 14:55

@AlexFarber - Thanks a lot for reply. I am not very good in C programming. I am basically .net guy. Can you please correct if there is anything wrong in my c function.
–
VikramJul 18 '12 at 16:43

@BryanCrosby - I want a parameter as string array for the C function which I want to populate with strings in the function itself. Can you help me with the C function itself and then with marshalling part
–
VikramJul 18 '12 at 16:47

1 Answer
1

No entry point found. Means it cannot find the symbol. Although the function name is GetCharArray its symbol name is not named exactly GetCharArray. Make sure when you compile the native DLL you export symbols and create linker definition and name the symbol so that DllImport can function properly. If you need more help I can supply more information. I think I know why it is not working because I had a similar problem because I used DllImport correctly.