all groups > dotnet compact framework > september 2005 >
You're in the

dotnet compact framework

group:

About API use?


Re: About API use? Peter Foot [MVP]
9/30/2005 6:40:14 AM
dotnet compact framework:
[DllImport("coredll.dll")]
private static extern int MultiByteToWideChar(
uint CodePage,
uint dwFlags,
string lpMultiByteStr,
int cbMultiByte,
byte[] lpWideCharStr,
int cchWideChar
);

However you have the ability through the System.Text namespace to get a byte
representation of a string in a variety of encodings so you would probably
not need to P/Invoke. What are you trying to achieve?

Peter

--
Peter Foot
Windows Embedded MVP
http://www.inthehand.com | http://www.peterfoot.net

[quoted text, click to view]

About API use? cfyam
9/30/2005 5:40:18 PM
How can I call the MultiByteToWideChar() in my C# PDA ap?

AddThis Social Bookmark Button