Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Exception: System.Runtime.InteropServices.COMException on x64

$
0
0

Hello.

I have application which is working correct on Windows 7 x86 (.NET 4).
I tried to run it on Windows 10 x64 but I got error:

Aplikacja: Program.exe Wersja architektury: v4.0.30319 Opis: proces został przerwany z powodu nieobsłużonego wyjątku. Informacje o wyjątku: System.Runtime.InteropServices.COMException w System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(System.Guid ByRef, System.Object, Int32, System.Guid ByRef) w System.Windows.Forms.AxHost.CreateWithLicense(System.String, System.Guid) w System.Windows.Forms.AxHost.CreateInstanceCore(System.Guid) w System.Windows.Forms.AxHost.CreateInstance() w System.Windows.Forms.AxHost.GetOcxCreate() w System.Windows.Forms.AxHost.TransitionUpTo(Int32) w System.Windows.Forms.AxHost.CreateHandle() w System.Windows.Forms.Control.CreateControl(Boolean) w System.Windows.Forms.Control.CreateControl(Boolean) w System.Windows.Forms.AxHost.EndInit() w Program.Form1.InitializeComponent() w Program.Program.Main()

Application use ocx library. I registered ocx file before run application. Is it possible to run it in any compability mode? Is there anything what I can check?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>