I have written a putmsg() replacement. It returns an int and takes variable args as per the documentation. However, my routine never gets called. Any ideas on how I can debug this? This is running on NT and written in Visual C++.