Click to See Complete Forum and Search --> : AT:L 3 and IDispatch


Martyn Pavey
May 6th, 1999, 09:19 AM
The following is a preview of your post. If everything looks ok then you can click 'Continue' and your post will be entered. If not then use your back button to go back and edit some more.

Subject: ATL 3 and IDispatch Problem

Category: COM

The problem I have is this.

I have an IDispatch for an ATL 3.0 com object from which I want to derive the underlying Class. This will allow me to envoke a number of public methods in the class which have NOT been exposed in the interface. i.e. Load and Save in particular. If the project was based on MFC the a call to CCmdTarget::FromIDispatch would work, not for ATL 3. Can anyone give me any Ideas.

Thanks in advance.
Martyn