CKR

Hello,

I converted an MFC project from Visual Studio 6 to Visual Studio 2005. Compiled and ran fine. Then I added a dialog resource, and wanted to add a class and event handler for a couple of buttons. But when the MFC Class Wizard is invoked, it crashes with the following message: "A run time error occurred. Line 814 Error: Object doesn't support the property or method". If I choose to debug at this point, the JIT debugger crashes with the message: An unhandled exception occurred" in devenv.exe[135060]. And the address given is 0x80040150.

Tried to reinstall VS2005 a couple of times. Also tried to change the browser properties to allow ActiveX controls to run without prompting,but this does not work.

Help much appreciated.

CKR



Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

Simple Samples

I can't help except to suggest that you be more specific about what version of VS 2005 you have. Have you installed the SP






Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

CKR

Don't quite get you: are there versions of VS 2005 known to crash in this way Anyway, for your information, I am using the professional version of VS 2005 which comes with the Microsoft Academic Alliance, and I have loaded it on an XP home system running on a Dell dual core laptop with 1 GB memory.

I have not installed the SP, and will not be able to install it for another 48 hours while I am on a mobile internet connection. But I would be truly amazed if such basic things as the class wizard do not function without the SP.

Would be grateful if this information helps to arrive at some more concrete conclusion.

CKR





Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

Simple Samples

CKR wrote:

Don't quite get you: are there versions of VS 2005 known to crash in this way Anyway, for your information, I am using the professional version of VS 2005 which comes with the Microsoft Academic Alliance, and I have loaded it on an XP home system running on a Dell dual core laptop with 1 GB memory.

I have not installed the SP, and will not be able to install it for another 48 hours while I am on a mobile internet connection. But I would be truly amazed if such basic things as the class wizard do not function without the SP.

Would be grateful if this information helps to arrive at some more concrete conclusion.

CKR

If it is a known problem then it will have been fixed or is being fixed. If it has been fixed then it is likely in the SP.

When I say version, I mean to look at the About box and provide details from there.






Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

CKR

Installed the SP. As I guessed, it has made absolutely no difference.

For your info, the version info for Microsoft Visual Studio 2005 is as follows.


Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727

Installed Edition: Professional

Microsoft Visual C++ 2005 77626-009-0000007-41868
Microsoft Visual C++ 2005

Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)

What do you suggest I do next

CKR





Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

Bite Qiu - MSFT

Just some random thought based on several relevant posts that I have seen before: this problem happened before and the original poster solved it by disable/remove the AddOns in IE, so If there is any add-ons with your IE, try disable them. Some wizard related script errors are due to IE version change(IE6->IE7, etc.), as a long shot, try upgrade/downgrade the IE version.

hope it makes sense

thanks & regards,

rico






Re: Visual C++ General MFC class wizard crashes and JIT debugger too crahses

CKR

Thanks for the suggestion. It makes sense all right, and fiddling with the security settings of IE was the first thing I tried, and also allowing all ACtiveX controls to run without prompting etc. After your suggestion, I also disabled all add ons, but it hasn't worked so far. I'll try over the weekend to downgrade IE and see if that works.

Thanks,

CKR