I've noticed when I am connected to the target machine (both machines
are running XP SP2) with WinDbg, that if TraceView is running on the
target machine, "Invalid parameter passed to C runtime function"
messages are displayed in WinDbg. These messages seem to be displayed
whenever a trace message is posted from my driver. Interestingly,
they also seem to be displayed whenever I simply pass the mouse over
the TraceView app on the target machine.
If TraceView is not running on the target machine, the "invalid
parameter..." messages are not displayed.
Is this normal? If not, does anybody have any idea what the problem
could be?
Can you give a code snipped how you use the "Trace" function in your driver?
I guess that you use DbgPrint function?
> If TraceView is not running on the target machine, the "invalid
> parameter..." messages are not displayed.
Well, maybe i misunderstood you, but when TraceView is closed you will not
see any message. How will it show a message if it is not running? But tell me
exactly what you mean.
Also please explain detailed, what happens when you move the mouse over the
application. How many messages do appear? Just one, or a full galore of
messages?