Cast exception (string to double) only on some devices. Why?

S

silverfox

I am getting a cast exception converting a string to double. But the
problem doesn't exist on every device or in the VS 2008 emulator. I
have been testing with a PPC 2003 Dell Axim X30 and there is no
problem. But now I find out that a WM 2003 2nd Edition device
(Samsung Sch i730) chokes with the cast exception. 1.) Why is this?
2) Is there a way around it?
 
S

silverfox

Sorry, I think I was mistaken. I believe I got the
InvalidCastException because I was trying to convert an empty string
in the failing case and valid numbers in all my test cases.
 

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