ATL C++ control using MapPoint ActiveX control 
Author Message
 ATL C++ control using MapPoint ActiveX control


I want to be able to create a composite control containing a MapPoint 2002
control, plus a few other buttons using ATL 3.
So far I have failed to get it to work.

Firstly, Visual Studio 6 & VS .net put a whole load of data in the .rc file
that causes the ATL framework to blow up at:


doing a memcpy copy in ATL 3 and under vs .net  the function call (some
strange pointer to a function) fails during creation of the dialog.

After I manually hack the .rc file to remove all the embedded DLGINIT data,
execution gets past that problem.

The next problem is that the call to NewMap() causes an assertion in
OnInPlaceActivate() because the control already has been activated.
Does any one have a simple a working ATL example or any idea how to work
around this OnInPlaceActivate() re-activation problem?



Mon, 03 Oct 2005 05:13:10 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Using ActiveX controls in ATL Composite control

2. ATL ActiveX Control hosting code fails to initialize ActiveX Controls on Win9x

3. Problem Hosting ActiveX Controls Using ATL AXHost (CAxWindow2) using VC7

4. Control webbrowser ActiveX control in composit ActiveX control

5. How to invoke methods of contained ActiveX control from ATL Composite Control

6. Help - Problems with Drawing an MFC ActiveX control inside on ATL compsoite control

7. Problems with Drawing an MFC ActiveX control inside on ATL compsoite control

8. Problem using activex control inside ATL com dll

9. Using enum/ v1_enum in ATL Activex Control in VS .Net

10. ActiveX Director control crashes when using ATL

11. Using the CommonDialog ActiveX Control from within an ATL COM dll

12. ActiveX control using ATL doesn't work in Excel


Powered by phpBB® Forum Software