Attempted to read and write protected memory… ActiveX on Vista
-
I’ve developed an application that uses a third party ActiveX control for a long time. Now when I run the application on Windows Vista I got the following exception: at System.Windows.Froms.UnsafeMethods.IOleObject.SetClientsite(IOleClientSite pClientsite) at System.Windows.Forms.AxHost.SlowActivate() at System.Windows.Forms.AxHostTransitionUpTo(Int32 state) at System.Windows.Forms.AxHostCreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at System.Windows.Forms.CortonaControl.InitializeComponent() ... Any idea what’s wrong with Vista?
_____________________________ ...and justice for all APe
-
I’ve developed an application that uses a third party ActiveX control for a long time. Now when I run the application on Windows Vista I got the following exception: at System.Windows.Froms.UnsafeMethods.IOleObject.SetClientsite(IOleClientSite pClientsite) at System.Windows.Forms.AxHost.SlowActivate() at System.Windows.Forms.AxHostTransitionUpTo(Int32 state) at System.Windows.Forms.AxHostCreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at System.Windows.Forms.CortonaControl.InitializeComponent() ... Any idea what’s wrong with Vista?
_____________________________ ...and justice for all APe
-
I’ve developed an application that uses a third party ActiveX control for a long time. Now when I run the application on Windows Vista I got the following exception: at System.Windows.Froms.UnsafeMethods.IOleObject.SetClientsite(IOleClientSite pClientsite) at System.Windows.Forms.AxHost.SlowActivate() at System.Windows.Forms.AxHostTransitionUpTo(Int32 state) at System.Windows.Forms.AxHostCreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at System.Windows.Forms.CortonaControl.InitializeComponent() ... Any idea what’s wrong with Vista?
_____________________________ ...and justice for all APe
Errm. Why do you think it's a problem with Vista? If a nail punctures your tyre do you think that's a faulty tyre? I would guess that the problem has more to do with the control misbehaving - and Vista's a lot stricter than earlier MS OSes.
Deja View - the feeling that you've seen this post before.
-
Errm. Why do you think it's a problem with Vista? If a nail punctures your tyre do you think that's a faulty tyre? I would guess that the problem has more to do with the control misbehaving - and Vista's a lot stricter than earlier MS OSes.
Deja View - the feeling that you've seen this post before.
Ok nothing is 'wrong' with Vista but apparently my program that have worked on XP for years does not do that on Vista. Maybe it’s a ‘new feature’ that it does not can use old ActiveX. By the way, I have one Vista computer that my program works on but the other five cups that I have tried it on does not work. I don’t really know where I should start searching for help… I have the same question on http://www.codeguru.com/forum/showthread.php?p=1692586#post1692586
_____________________________ ...and justice for all APe
-
Errm. Why do you think it's a problem with Vista? If a nail punctures your tyre do you think that's a faulty tyre? I would guess that the problem has more to do with the control misbehaving - and Vista's a lot stricter than earlier MS OSes.
Deja View - the feeling that you've seen this post before.
Pete O'Hanlon wrote:
Vista's a lot stricter than earlier MS OSes
Can I in some way make Vista less stricter on my application?
_____________________________ ...and justice for all APe
-
Pete O'Hanlon wrote:
Vista's a lot stricter than earlier MS OSes
Can I in some way make Vista less stricter on my application?
_____________________________ ...and justice for all APe
Have you tried to set Vista to run this program as if it were an earlier version of the OS?
Deja View - the feeling that you've seen this post before.
-
Have you tried to set Vista to run this program as if it were an earlier version of the OS?
Deja View - the feeling that you've seen this post before.
Yes, I have tried Run this program as: Windows XP (Service Pack 2) and as administrator, but same result.
_____________________________ ...and justice for all APe
-
Yes, I have tried Run this program as: Windows XP (Service Pack 2) and as administrator, but same result.
_____________________________ ...and justice for all APe
Have you tried turning off UAC? Perhaps the ActiveX has a problem when virtualization is active...
Regards, mav -- Black holes are the places where God divided by 0...
-
Have you tried turning off UAC? Perhaps the ActiveX has a problem when virtualization is active...
Regards, mav -- Black holes are the places where God divided by 0...
Now I've tried that but no difference :-(
_____________________________ ...and justice for all APe
-
Now I've tried that but no difference :-(
_____________________________ ...and justice for all APe
try to disable DEP