Localized exception messages

  • Thread starter Thread starter perboddum
  • Start date Start date
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
 
Use try...catch blocks and use your own text. That's what you should be
doing anyway.

-Chris
 
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
 
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,
 
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
 
Back
Top