Using graphical ActiveX (COM) controls in WinForms project
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-04-27T09:40:45Z
Indexed on
2010/04/27
9:43 UTC
Read the original article
Hit count: 463
I have a collection (set) of ActiveX controls. I recieved them from our vendor company.
I created a wrappers for them using tlbimp.exe and aximp.exe.
All non-graphical controls work good.
All graphical controls don't react on some methods. When I call their methods I get:
TargetInvocativeException (InnerException is null). or Attempt to read/write protected memory.
Our vendor company assure that their graphical activex controls work good. But they don't provide support service, so I have to find solution of my problem alone.
And some more,
All graphical activex controls don't react on mouseclick or any other mouse manipulations. But documentation says: it must change the color on mouse click.
Maybe, someone have same symptoms and can help me ! I googled over that problem many pages but they don't help me.
Maybe it's some Visual Studio settings or compiler options ? I use VS 2005.
© Stack Overflow or respective owner