Hi:
I am writing a TDI client and in one of the functions I am releasing TSDUs
obtained in chained receive using TdiReturnChainedReceives. The DDK builds
the client but reports an error saying : error LNK2019: unresolved
external symbol _TdiReturnChainedReceives
I have included tdikrnl.h. What is it that I have missed out? Why only
this function? I am calling a host of other TDI functions but only this
function is unresolved.
KK
Hi Keshab,
U included tdi.lib during compilation?
Good Luck,
From: “Keshab Koch”
>Reply-To: “NT Developers Interest List”
>To: “NT Developers Interest List”
>Subject: [ntdev] TdiReturnChainedReceives: linking problem
>Date: Mon, 26 May 2003 10:10:10 -0400
>
>Hi:
>
>I am writing a TDI client and in one of the functions I am releasing TSDUs
>obtained in chained receive using TdiReturnChainedReceives. The DDK builds
>the client but reports an error saying : error LNK2019: unresolved
>external symbol _TdiReturnChainedReceives
>
>I have included tdikrnl.h. What is it that I have missed out? Why only
>this function? I am calling a host of other TDI functions but only this
>function is unresolved.
>
>KK
>
>—
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
Want free fuel? Get IOC Citibank card Drive your dreams!
Hi Yogi:
Thanks man. That worked 
KK
Hi Keshab,
U included tdi.lib during compilation?
Good Luck,
From: “Keshab Koch”
>
>Reply-To: “NT Developers Interest List”
> >To: “NT Developers Interest List”
> >Subject: [ntdev] TdiReturnChainedReceives: linking problem
> >Date: Mon, 26 May 2003 10:10:10 -0400
> >
> >Hi:
> >
> >I am writing a TDI client and in one of the functions I am releasing TSDUs
> >obtained in chained receive using TdiReturnChainedReceives. The DDK builds
> >the client but reports an error saying : error LNK2019: unresolved
> >external symbol _TdiReturnChainedReceives
> >
> >I have included tdikrnl.h. What is it that I have missed out? Why only
> >this function? I am calling a host of other TDI functions but only this
> >function is unresolved.
> >
> >KK
> >
> >—
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
Want free fuel? Get IOC Citibank card Drive your dreams!
TdiReturnChainedReceives is a macro defined to NdisReturnPackets in
some header (yes, TSDU is an NDIS packet).
So, looks like you have missed the header. TDI.H and TDIKRNL.H must be
included.
Max
----- Original Message -----
From: “Keshab Koch”
To: “NT Developers Interest List”
Sent: Monday, May 26, 2003 6:10 PM
Subject: [ntdev] TdiReturnChainedReceives: linking problem
> Hi:
>
> I am writing a TDI client and in one of the functions I am releasing
TSDUs
> obtained in chained receive using TdiReturnChainedReceives. The DDK
builds
> the client but reports an error saying : error LNK2019: unresolved
> external symbol _TdiReturnChainedReceives
>
> I have included tdikrnl.h. What is it that I have missed out? Why
only
> this function? I am calling a host of other TDI functions but only
this
> function is unresolved.
>
> KK
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com
TdiReturnChainedReceives is a function exported by TDI.SYS. You must
explicitly link to TDI.LIB to use this function. There is no MACRO for it in
any DDK header that I can find.
Of course, it eventually calls NdisReturnPackets - but not directly.
The nomenclature “TSDU” is confusing. Unfortunately it means different
things in different TDI functions. In some functions TSDU refers to a
NDIS_PACKET. In others (like receive event handler) TSDU refers to VM (an
ordinary array of bytes).
“A foolish consistency is the hobgoblin of little minds,
Adored by Philosophers and Divines”
(Mine it the little one, Max…)
Regards,
Thomas F. Divine
PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client/Filter
http: - http:
“Maxim S. Shatskih” wrote in message
news:xxxxx@ntdev…
>
> TdiReturnChainedReceives is a macro defined to NdisReturnPackets in
> some header (yes, TSDU is an NDIS packet).
> So, looks like you have missed the header. TDI.H and TDIKRNL.H must be
> included.
>
> Max
></http:></http:>