W3C home > Mailing lists > Public > www-lib@w3.org > April to June 1999

Re: libwww

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Sat, 22 May 1999 14:28:47 -0400
Message-Id: <3.0.5.32.19990522142847.0349dd60@localhost>
To: "Gary_Johnson" <gary_johnson@my-dejanews.com>, <vladimir.kozlov@idm.ru>
Cc: www-lib@w3.org
At 14:29 5/21/99 -0400, Gary_Johnson wrote:

>3)
>I am looking through the code and have a couple of ? or observations
concerning webbot.
>I don't think any of these observations affect the results, but they may
help in the future.
>
>3)
>HTEvtLst.c
>
>wc.hInstance=GetCurrentProcess(); /* NT and hopefully everything following */
>
>GetCurrentProcess returns invalid on my machine.
>I think this call was meant to be called from within a WIN 32 threaded
environment, and webbot does not create any threads that I see.
>
>See _beginthreadex for doc on Win32 threads.
>
>wc.hInstance=GetModuleHandle(NULL); should work for NT as well

Sounds good - fixed - see

   http://dev.w3.org/cgi-bin/cvsweb/libwww/Library/src/HTEvtLst.c#rev2.39

>
>4)
>PRIVATE BOOL Timer_deleteWindowsTimer (HTTimer * timer)
>{
>    HWND hwnd;
>    UINT id;
>    hwnd = HTEventList_getWinHandle(&id);
>    return KillTimer(hwnd, (UINT)timer) != 0;
>}
>
>I get invalid argument for the hwnd.

Maybe this was a result of the wrong instance handle above? It seems to
return 1 now.

>5)
>Its a joy to see this kind of application available as a learning tool.
>Please let me know who I can send these kind of observations to.  

I am happy you fing it useful!

Henrik
--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk
Received on Saturday, 22 May 1999 14:29:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 23 April 2007 18:18:29 GMT