I want to redefine SetWindowText to my function, my_SetWindowText but can not seem to get it to work or any functions defined in winuser.h. I can do all the redefines I want for functions in header files such as winreg.h, winbase.h and etc. but for some reasone winuser.h fails. I define the redefines in my own header file as:
#define my_SetWindowText SetWindowText
I am working with a Windows Mobile 5 project, if that makes a difference.
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.