My project is divided into two different project one is coredll where i am putting different resources and second is the exe project where i have CMainFrame Cview and CDoc classes.
Now i have a situation in which i need to use CMainFrame's user defined function , what would be a good way to communicate with it without using Send Message or post message. Can i get its CMainFram pointer ???
One solution i guess i should put my cmainframe inside dll which i am not interested in doing that ....any other idea???
Re: using CMainFrame Object inside MFC Extension DLL
problem is the dll doesnt know the declaration of CMainFrame and telling its header file and cpp file through directory makes more problem for me ..it seems like i am lost.
Re: using CMainFrame Object inside MFC Extension DLL
Originally Posted by VictorN
And what is wrong for you with SendMessage/PostMessage?
there is nothing wrong with it, i was just wondering if i can do without the send and post messages by using its own object. But i think there is no other way except send /post ...what you think??
Bookmarks