Hi all,
i have created a unmanaged VC++ dll and then created a wrapper class
for it . i have included this wrapper class in my c# by using add
reference .The function takes ushort* as the input .i.e. i am should
pass a string as an input to the function
Function Prototype is this:
void WCConvertImg(unsigned short __nogc * ,unsigned short __nogc *);
now that I am facing problem in passing parameter to this function. I
tried first by using unsafe in C# and then with marshal class., I
cannot assign the address of string variable to ushort * variable in
C#, Its not allowed in managed code .
Regards
Gobu sk
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com