View Single Post
Old 04-17-2003, 07:51 PM  
FTPServerTools
Senior Member
 
Join Date: Sep 2002
Posts: 543
Default Simple sitewho.cpp question for darkon3

Ok I have a simple sitewho question.
In your code you write:
while ((nPos = SendMessage(Target,WM_WHO_SHARED,iPos,Result,)) != -1 && ... etc..

Now it is the SendMessage that eludes me. Apparently on some machines it returns -1 and on others it properly returns a value. So I have a simple question, does the code for receiving the message work with shell32.dll and the undocumented SHAllocShared etc.. routines? So if that code goes by using GetProcAddress from the shell32.dll and cant find the mentioned 4 entry points does pass on a -1 as a message reply?
FTPServerTools is offline   Reply With Quote