Thread: WM_PHANDLE bug?
View Single Post
Old 09-11-2003, 07:45 AM  
FTPServerTools
Senior Member
 
Join Date: Sep 2002
Posts: 543
Default WM_PHANDLE bug?

I tried compiling your own sitewho.cpp.
Results:
hTarget = (HANDLE)SendMessage(Target, WM_PHANDLE, NULL, NULL);
Reply hTarget=-1
And yes Target is an existing number and yes io is running.
Seemingly I gotta use my own old way to get the handle for io untill this one is fixed.
No wonder your sitewho crashes graciously in 0x41DDF5 on 5.0.0.4
Also thus the code
if (Allocate && Free && Lock && Unlock && hTarget)

should probable read check for hTarget=-1 instead of 0
FTPServerTools is offline