hi (every body)
{
i am building a fire wall using ddk example passthru;
i get the error link message ;
if ( i call printf function)
{
error LNK2001: unresolved external symbol __imp__printf ;
error LNK1120: 1 unresolved externals ;
}
while (you can help )
{
please do;
}
retrun thank you all;
)
…
Get your own free email account from
http://www.popmail.com
make sure there is only 1 version of ‘link.exe’ that is being pointed to by
the environment directories.
an old one will conflict with an updated one.
----- Original Message -----
From:
To: “NT Developers Interest List”
Sent: Sunday, April 06, 2003 4:32 PM
Subject: [ntdev] ddk passthrue lnk2001
> hi (every body)
> {
> i am building a fire wall using ddk example passthru;
> i get the error link message ;
> if ( i call printf function)
> {
> error LNK2001: unresolved external symbol imp printf ;
> error LNK1120: 1 unresolved externals ;
> }
>
> while (you can help )
> {
> please do;
> }
>
> retrun thank you all;
> )
>
> …
> Get your own free email account from
> http://www.popmail.com
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@attbi.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Interesting… Do you expect driver to create console application window and
“printf” into it? 
For tracing from the driver use DbgPrint (or macro KdPrint). Also keep in
mind to call only kernel exported functions (printf is not exported by
ntoskrnl.exe).
Regards,
Vadim
http://www.ntkernel.com
wrote in message news:xxxxx@ntdev…
>
> hi (every body)
> {
> i am building a fire wall using ddk example passthru;
> i get the error link message ;
> if ( i call printf function)
> {
> error LNK2001: unresolved external symbol imp printf ;
> error LNK1120: 1 unresolved externals ;
> }
>
> while (you can help )
> {
> please do;
> }
>
> retrun thank you all;
> )
>
> …
> Get your own free email account from
> http://www.popmail.com
>
>
>
>