Quantcast
Channel: COM interop problems
Viewing all articles
Browse latest Browse all 3

COM interop problems

$
0
0
I have created an ActiveX control with some existing c++ code.
Then i tried to use this ActiveX within a C# compact framework application. It compiles but when i try to run it at the very first call to any method of the wrapper class i get this error:

An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in xxx.exe

Additional information: 0x8000ffff

The object is instantiated (there is a new() before the call to this method) and the parameters of the method are 2 shorts.

Any idea?
Thanks
Luigi Grilli

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images