PDA

Click to See Complete Forum and Search --> : DLLImport CharSet=ChartSet.Ansi


steve_rm
Mar 13th, 2008, 09:29 AM
Hello,

I am importing a DLL from a C++.

The DLL requires Ansi to be sent. However, the compact framework 3.5 can only be set for Unicode or Auto. I have tried settign for auto but this failed to work.

I am using C# VS 2008 to create a smart device.

Is there any work around for this problem.

[Dllimport("SipMobile.dll",CharSet=CharSet.Auto)]

Many thanks for any suggestions,

Steve