views:

19

answers:

1

Hi all,

I have a deeply ingrained ActiveX control in our system which I would like to learn about / fix!

I am thinking about wrapping this MFC dll with a transparent proxy class that will intercept the member etc.

HOW can this be approached in MFC.

Thanks!

A: 

You could start by generating an ActiveX wrapper using AxImp, then modifying the generated wrapper with your intercept code. See this question for details on manually generating the wrapper.

Aidan Ryan