Viviana Vc
2003-09-10 19:18:54 UTC
Hi all,
I'm working on the LSP sample from the SDK from febr 2003, and I found
some issues:
1) when it is removed from a chain, it doesn't delete it's name from the
old chains. I.e. LSP1 over BP, LSP2 over LSP1 over BP. When removing
LSP1 everything works ok, but the name remains in the the LPS2 chain.
2) I've tried this sample along with probably the first LSP provided by
MS, that I found on:
http://www.microsoft.com/msj/0599/layeredservice/layeredservice.aspx
The problem is that everything works fine when the chain is like:
LSP-old over LSP-2003 over BP
but doesn't work when it is like:
LSP-2003 over LSP-old over BP
The WSPSocket fails, actually the
NextProviderSocket = Provider->NextProcTable.lpWSPSocket
returns INVALID_SOCKET.
I couldn't find out the reason, but I'm sure that on the market are some
products using this LSP so every product with the new LSP won't work
with those ones ... :(
So, if anybody has a suggestion maybe Anthony or Ken can check this, as
it's really annoying 2 LSPs provided by MS not to be compatible. Thx, in
advance for any help or suggestion.
3) I've tried to use ctime() function in my LSP and something weird
happened. If it's only one LSP in the system, everything seems to work
fine, but if there are 2 identical LSPs, if ctime is used, I get a crash
"The memory can not be written ....." when closing the application, for
instance when closing internet explorer. Has anybody any idea why this
happens? I would have liked to use ctime() for debugging the LSP, but it
seems that it's safer not to use it ... Why?
Hope that somebody can help me,
Thx a lot,
Viv
I'm working on the LSP sample from the SDK from febr 2003, and I found
some issues:
1) when it is removed from a chain, it doesn't delete it's name from the
old chains. I.e. LSP1 over BP, LSP2 over LSP1 over BP. When removing
LSP1 everything works ok, but the name remains in the the LPS2 chain.
2) I've tried this sample along with probably the first LSP provided by
MS, that I found on:
http://www.microsoft.com/msj/0599/layeredservice/layeredservice.aspx
The problem is that everything works fine when the chain is like:
LSP-old over LSP-2003 over BP
but doesn't work when it is like:
LSP-2003 over LSP-old over BP
The WSPSocket fails, actually the
NextProviderSocket = Provider->NextProcTable.lpWSPSocket
returns INVALID_SOCKET.
I couldn't find out the reason, but I'm sure that on the market are some
products using this LSP so every product with the new LSP won't work
with those ones ... :(
So, if anybody has a suggestion maybe Anthony or Ken can check this, as
it's really annoying 2 LSPs provided by MS not to be compatible. Thx, in
advance for any help or suggestion.
3) I've tried to use ctime() function in my LSP and something weird
happened. If it's only one LSP in the system, everything seems to work
fine, but if there are 2 identical LSPs, if ctime is used, I get a crash
"The memory can not be written ....." when closing the application, for
instance when closing internet explorer. Has anybody any idea why this
happens? I would have liked to use ctime() for debugging the LSP, but it
seems that it's safer not to use it ... Why?
Hope that somebody can help me,
Thx a lot,
Viv