Hello guys,
I need to use an external non com dlls (made in C) which as a method with the following signature: public static external void logic_open(long xpto).
In this method the long atribute is a reference to a string which by the way is a ip adress of a machine.
I cannot change the c api, so how can I in c#, get the pointer of such string and pass it to the function?
I have already tried marshalling and all that stuff but nothing...
Thanks
Rui Machado