Using mapped function directly
- From: "Mark" <mark@xxxxxxxxxx>
- Date: Mon, 5 Nov 2007 22:37:14 +0200
In my View I have the following code-
BEGIN_MESSAGE_MAP(CEx30aView, CEditView)
//{{AFX_MSG_MAP(CEx30aView)
ON_COMMAND(ID_INTERNET_START_SERVER, OnInternetStartServer)
.......
I want to launch the function OnInternetStartServer myself so I use the
following somewhere
CEx30aView::OnInternetStartServer();
It works fine but I have a memory leak.
does anyone knows how to do that correctly?
Regards
Galia
.
- Follow-Ups:
- Re: Using mapped function directly
- From: Joseph M . Newcomer
- Re: Using mapped function directly
- From: AliR \(VC++ MVP\)
- Re: Using mapped function directly
- Prev by Date: Re: Why CPen class has not "ChangePenColor()" member function?
- Next by Date: Re: CHeaderCtrl
- Previous by thread: Re: export __gc class in mixed DLL?
- Next by thread: Re: Using mapped function directly
- Index(es):