Yes, I have the same problem that faces you - I have the same machine
configuration you describe. I had this problem in a number of web
applications where I find a strange behavior and i find that in a situation
that I expect an exception to be raised -due to a coding error from me -  in
the PageLoad handler, what happens is that the code execution jumps to the
end of the method.
I just find the error and fix it so that no exception is raised, but for
you, if you rely on the exceptions and cannot work without them you can try
compile the application as x86 code - from the build target in the build
options.
I didn't try this solution but just try it, it may work for you.

----- Original Message -----
From: "Stanislav Peťko" <[EMAIL PROTECTED]>
To: <ADVANCED-DOTNET@DISCUSS.DEVELOP.COM>
Sent: Thursday, October 05, 2006 11:17 AM
Subject: [ADVANCED-DOTNET] Troubles with Visual Studio and Windows XP x64


Hello.

We have troubles with development on x64 machine. This machine si Athlon
x64, with Windows XP x64 installed, .NET Frameworik 2.0 x64 and Visual
Studio 2005 Professional. The other machine is general 32bit Athlon, Windows
XP, .NET Framework 2.0 and the same Visual Studio.

In a very simple project, we have this piece of code:


If e.Value.ToString = "m" Then
       e.DisplayText = "male"
Else
       e.DisplayText = "female"
End If


It happens, that e.Value is Nothing (null), so it should be raised
NullReferenceException on 1st line. On 32 bit machine, everything is OK,
NullReferenceException is thrown, and the project is stopped on that line.
But on 64 bit machine, the exception is not thrown, program jupms to the end
of method containing the code and CONTINUES! Of course, after that program
acts very strange, because something wrong happened.

The worst thing is, developer using this machine cannot work properly, when
project does not raise exceptions, just goes on but strangely.


Did anybody meet this problem? Are we missing something in configuration, or
it is some bug?


Thanks, Stano

===================================
This list is hosted by DevelopMentor  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to