Displaying 2 results from an estimated 2 matches for "lpcompletionroutine".
2007 Sep 25
2
Using callbacks with ReadFileEx
Hi all,
First, I just realized I''ll need to go back and fix some of the
prototype declarations for windows-pr. The callback parameters will now
need to be set to ''K''. ReadFileEx is one example of this. For purposes
of my question, let''s assume ReadFileEx has been declared like so:
API.new(''ReadFileEx'', ''LPLPK'',
2004 Nov 01
0
WSARecv not calling CompletionRoutine on socket close
Hello,
I've tried to search the mailing list archives (is their
a searchable archive someplace?) for some reference to this
problem. but found none. Forgive me if I didn't search
hard enough.
The Problem:
we register a callback (lpCompletionRoutine) in our WSARecv
call. This callback works fine for normal incoming messages.
However, on socketclose, it does NOT get called.
This behavior doesn't match what we see on Windows.
Is there some configuration option we are missing?
We see this same behavior for .exe's built on Windows and...