Groups | Blog | Home
all groups > dotnet sdk > september 2004 >

dotnet sdk : how do I make use of dt_dll/dt_dll2



Harry Potter
9/10/2004 6:04:14 PM
Hi,
I'm running windows 2000 and I'm trying to use the dt_dll or dt_dll2.dll as
it comes with the Microsoft SDK feb 2003 samples.... (I just did an nmake to
the two directory to build the .dll ) this is to be able to debug the calls
between App, winsock and the LSP (LSP is also my modified version of the
sample included in the same sdk)

but the document says how to add code or modify the dt_dll but it doesn't
say how to use it...
do I just copy the dt_dll or dt_dll2.dll in C:\WINNT\system32 directory? I
did but nothing happend.
do I have to call it within the lsp files? include it? how?
do I have to do any installation like when we install lsp? how?
I'm using dbgview, so I assume I should see the track messages in there too,
right?
Is there any document? where? not with the platform sdk, I couldn't find any
all about how to modify the code...or I could very well be blind(: ^ (

would appreciate your responses in advance.

Arkady Frenkel
9/12/2004 10:51:52 AM
dt_dll(2) need checked version of ws2_32.dll ( winsock )
for XP SP2 you have it on
http://www.microsoft.com/downloads/details.aspx?FamilyID=7a4d8d12-9f5d-42bb-b31c-7b31657c869c&DisplayLang=en
( checked version of XP SP2 )
Arkady

[quoted text, click to view]

Arkady Frenkel
9/12/2004 11:06:16 AM
BTW , look at "Methods That Don't Work" paragraph in
http://www.tangentsoft.net/wskfaq/newbie.html#debugtools

but if you still insist to debug with it your LSP you have
http://www.microsoft.com/downloads/details.aspx?familyid=505dec42-c4ac-438c-85b3-cd6e5d8e6141&displaylang=en
(aware of wrap )
( checked version only of ws2_32 for NT/W2K )
Arkady

[quoted text, click to view]

Harry Potter
9/12/2004 12:34:35 PM
well...acording to this dt_dll.dll doesn't work at all, does it?
Methods That Don't Work: There are a couple of debugging tools that are
supposed to work that don't, or are too flaky to deal with. The first is the
SO_DEBUG socket option. It simply doesn't work on Microsoft stacks. The
other is the Winsock DLL debugging plugin dt_dll.dll; this method is flaky.
Bob Quinn wrote an article about this, but unfortunately the site that held
it was bought by another company that hasn't yet made that article available
again.

???????????????????

if this is the case then how can I test the transactions between
App<-->Winsock DLL<-->LSP???????

Any suggestions?

Thanx

[quoted text, click to view]

Arkady Frenkel
9/13/2004 5:25:30 PM
That user mode still , so you'll have no problems with VS debug mode , or
you can use OutputDebugString() with
dbMon from PSDK or DbgView from www.sysinternals.com
Arkady

[quoted text, click to view]

Arkady Frenkel
9/13/2004 5:29:32 PM
Forgot to mention , if you'll try dt_dll(2) with checked version of winsock
tell us the resaults of your experiments
TIA
Arkady

[quoted text, click to view]

AddThis Social Bookmark Button