Localized exception messages

P

perboddum

Hi

Concerns PPC and WM5.0.

Is there a way to display exception messages in english, when using a
Danish langauge PPC. The problem is that I cannot find a localized
danish version of "System.SR.dll".

So when an exception occurs I just get an error message that says that
the resource assembly cannot be found (localized danish System.SR.dll
does not exist I guess).

However display of english exception error messages would be okay if
possible...

Is there any workaround for doing this ?

Best regards Per Andersen
 
G

Guest

Use try...catch blocks and use your own text. That's what you should be
doing anyway.

-Chris
 
P

perboddum

Hi

Thanks for your reply.
I allready catch the exceptions, and want to log the WinCE error
messages to a file for troubleshooting. It would be very helpfull to get
access to these messages so I can log them.

In particular I use it with sockets and the Serial port and Serial port
over BT.

It is very difficult to troubleshoot the above when I don't get those
messages as you do on the desktop. It does not matter that they are in
english because they are not presented to the user.

Regards Per Andersen
 
D

Daan

perboddum said:
Concerns PPC and WM5.0.

Is there a way to display exception messages in english, when using a
Danish langauge PPC. The problem is that I cannot find a localized
danish version of "System.SR.dll".

So when an exception occurs I just get an error message that says that
the resource assembly cannot be found (localized danish System.SR.dll
does not exist I guess).

However display of english exception error messages would be okay if
possible...

Is there any workaround for doing this ?

I was able to fix this like this:
- find the file \Microsoft Visual Studio
8\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics\System_SR_ENU.CAB
- Copy this file to your PDA
- Run the file on your PDA

Hope this also works for you. Regards,
 
P

perboddum

Hi

Thanks....It did not work with the System_SR_ENU.cab, but it did work
with the System_SR_ENU_wm.cab. This is great. Thanks so much......

- find the file \Microsoft Visual Studio 8
\SmartDevices\SDK\CompactFramework\2.0\v2.0\WindowsCE\Diagnostics\System
_SR_ENU.wm.CAB
- Copy this file to your PDA
- Run the file on your PDA


Regards Per
 

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