hi,

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???