I am trying to call a function of a class present in a MFC DLL from another component. If I am building the total workspace in DEBUG mode then I am going to the appropriate function which I am calling. But If i am building the workspace in RELEASE mode I am not going to the appropriate function, instead it is going to some other function.
I checked with the class pointer through which i am calling the method doesn't change any where but still I am facing the problem.
I need the help immediately.
Waiting for an early reply.
Thanks & Regards
This has to be because of memory allocation/deallocation problem. In debug mode, it is taken care of automatically, but in release mode, we may need to be careful about initializing variables, allocating space, deallocating space, etc. Can you do a debug session and post the code which fails?
if he only want to do set color he can do it by defining a simple brush at OnCtlColor function. Why should we take unwanted services for our application.
I think he want to set back color for his dialog. actually the CColorDialog is used fo rcolor choosing purpose naaa? I think we can use it services to get teh color selected. no need to derive a new class.
im not sure whether me and he is talking about same problem
"Don't Do Different things... Do Things Differently..."