Unknown Exception

G

Guest

Hi All,

I have a application that needs to load an assembly to get some strings.
Running in PPC 2003 SE it works fine, but on Mobile 5.0 we get an exception.

System.Resources.ResourceManager resGuy = new
System.Resources.ResourceManager("WinMobile5Test.Resource1",
System.Reflection.Assembly.GetExecutingAssembly());

generates an empty exception.

ANy idea's why?

Cheers,
james.
 
G

Guest

I created a sample app in VS2005 and it actually shows the exception
information.

The following is the stack trace.

StackTrace "ä½äºŽ System.Globalization.CompareInfo..ctor()\r\nä½äºŽ
System.Globalization.CompareInfo.GetCompareInfo()\r\nä½äºŽ
System.Globalization.CultureInfo.get_CompareInfo()\r\nä½äºŽ
System.String.CompareOrdinal()\r\nä½äºŽ System.String.EndsWith()\r\nä½äºŽ
System.Resources.ResourceManager..ctor()\r\nä½äºŽ
DeviceApplication1.Form1.button1_Click()\r\nä½äºŽ
System.Windows.Forms.Control.OnClick()\r\nä½äºŽ
System.Windows.Forms.Button.OnClick()\r\nä½äºŽ
System.Windows.Forms.ButtonBase.WnProc()\r\nä½äºŽ
System.Windows.Forms.Control._InternalWnProc()\r\nä½äºŽ
Microsoft.AGL.Forms.EVL.EnterMainLoop()\r\nä½äºŽ
System.Windows.Forms.Application.Run()\r\nä½äºŽ
DeviceApplication1.Program.Main()\r\n" string
 
I

Ilya Tumanov [MS]

Does this WM 5.0 device has support for Chinese(?) locale you're using?

You need a localized device or English device with this locale supported.


--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top