AxInterop and Interop

K

Krish

When I use a COM control (via add reference) it generates interop
when the com is dragged into a form it creates axinterop.

what is more interesting is the axinterop works fine, the interop
causes com exception error.

i know these inherit from different base classes, but why the problem.

thanks
 
T

The Real Andy

When I use a COM control (via add reference) it generates interop
when the com is dragged into a form it creates axinterop.

what is more interesting is the axinterop works fine, the interop
causes com exception error.

i know these inherit from different base classes, but why the problem.

thanks

I have found that using some active x controls as an interop (ie, in a
library class) that they will not work. The reasoning for this seems
to be that certain licence information required for the active x
controls is actually stored in the resx file which is generated when
you create a form.

To be honest, i have found that it is actually easier to try and avoid
using ax controls.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top