Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

TraceView related question: "Invalid parameter passed to C runtime function"

10 views
Skip to first unread message

khaake

unread,
Jul 17, 2008, 10:11:15 AM7/17/08
to
I am new to driver development - I'm working on my first driver
project now - and so until the past few weeks I had never used the
common tools such as WinDbg and TraceView.

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?

DeStefan

unread,
Jul 21, 2008, 6:11:00 AM7/21/08
to

DeStefan

unread,
Jul 21, 2008, 6:14:01 AM7/21/08
to
Hello khaake,

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?

0 new messages