I didn't try that. I shall try it now post my results thankyou
shreelak
Posts
-
Message Map from non ui application -
Message Map from non ui applicationHi Is it possible to do message maps calls like post and peakmessage from a non-GUI (no window) application? I have an MFC dll with callbacks that i presume can be invoked using message map calls. But as i understand these calls requires a window handle and as there is no window/UI (its a service) I am not sure how i can invoke these callback from the dll. Are there any related sample code or articles that i can look at? TIA -S PS: I am not very experienced with mfc programming so please bare with my silly questions.
-
invoke an MFC callback function from Non MFC appyes it seems like it steps over When i try to go in to the assembly code it show me a ref to the callback function but doesn't jump to it. instead it comesback to my calling functions next statement. I don't get any exception. Also I cut and pasted the same code into another applicaiton (MFC) and it works without any problem. TIA -S
-
invoke an MFC callback function from Non MFC appyes what i meant was that MFC callback function is in a DLL and I can call other functions (not callback) from my calling program (non mfc dll) without any problem. but when my non mfc dll tries to invoke the callback it doesn't get called the same thing when called from an MFC program works fine. So my question was is there some thing different that i need to do when i call it from a non mfc app? like may be sometime of memory mapping? is there any sample code that i can look at? -S
-
invoke an MFC callback function from Non MFC appHi i need to call invoke an mfc callback function from a non mfc dll. How do I that? any samples that I can look at? Shree