-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: GobuSK
Message 1 in Discussion

 
Hi all,<o:p></o:p> 
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 
<o:p> </o:p> 
Function Prototype is this:<o:p></o:p> 
void WCConvertImg(unsigned short __nogc * ,unsigned short __nogc *);<o:p></o:p> 
 <o:p></o:p> 
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 . 
<o:p> </o:p> 
plz give me a solution to this<o:p></o:p> 
<o:p> </o:p> 
Regards 
<st1:place><st1:City>Gobu</st1:City> <st1:State>SK</st1:State></st1:place>

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to