tomas_panik
15 years agoOccasional Contributor
Unexpected or overlapping window event in .NET library
Hello,
is there any way how to trap "overlapping window" event in .NET (visual studio) other then through COM component AxEventControl? I am accessing TC from dll library (encapsulating TC functions) so I don't really use forms where to place that COM component. As long as dll doesn't have any mainline static entry point I get error: "ActiveX control cannot be instantiated because the current thread is not in a single-threaded apartment." when I try to create that component dynamically. Does exist any solution?
Thanks
--
Tomas Panik
QA Specialist
AVG Technologies
tomas.panik@avg.com