[Bug 46842] C# double.TryParse( String.Empty, out number) succeeds with .NET Framework 4.0 when it should not

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Mar 17 12:41:32 CDT 2019


https://bugs.winehq.org/show_bug.cgi?id=46842

--- Comment #14 from IanS <MyBugzilla at mailinator.com> ---
Sorry. Can't run an executable.

I can confirm though that the problem I initially reported does indeed only
occur when Win version is Win7.

My application has its own <b>Val(string s)</b> function that is supposed to
behave something like VB's Val function. It uses TryParse to convert string to
double. It should return 0 if string was empty.

To avoid the problem I simply changed my <b>Val(s)</b> code to test for empty
string before doing anything and return 0 if string empty.

As far as I'm concerned the problem is fixed.

But it would be great if there was a list of all other things like this. I
could then workaround them all in my application before posting it to your
AppDB

Anyway. Thank you.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list