Compiling without WWW_WIN_ASYNC

Hello everybody,

as mentioned in my other message (thread "libwww hangs on NT4"), I had to
recompile
libwww without WWW_WIN_ASYNC on NT4 / Win2000.

There is one little problem with this in HTEvtLst.h in the following lines:
-----------
#if defined(WWW_WIN_ASYNC) || defined(WWW_WIN_DLL)
extern BOOL HTEventList_winHandle (HTRequest * request);
extern BOOL HTEventList_setWinHandle (HWND window, unsigned long message);
extern HWND HTEventList_getWinHandle (unsigned long * pMessage);
extern LRESULT CALLBACK AsyncWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam,
LPARAM lParam);
#endif
-----------

If WWW_WIN_ASYNC is undefined, these functions are still declared, but they
are only defined if WWW_WIN_ASYNC is defined (in HTEvtLst.c):

-----------
#ifdef WWW_WIN_ASYNC

/* Only responsible for WM_TIMER and WSA_AsyncSelect */    	
PRIVATE LRESULT CALLBACK AsyncWindowProc(HWND hwnd, UINT uMsg, WPARAM
wParam, LPARAM lParam)
{

[...]
-----------

So I think the line in HTEvtLst.h must read:
-----------
#if defined(WWW_WIN_ASYNC) && defined(WWW_WIN_DLL)
-----------               ^^^^
Or maybe no dependency on WWW_WIN_DLL at all? Haven't thought much about
static linking.

I'm not sure, is there a better place to send bug reports other than to the
mailing list?

Mit freundlichen Grüssen / Best regards

Markus Bäurle
Softwareentwicklung
Software Development

CAA AG
Raiffeisenstr. 34
70794 Filderstadt
Germany
Tel:  +49 / (0)711 / 9 0 77 0 - 363
Fax: +49 / (0)711 / 9 0 77 0 - 199
WEB: http://www.caa.de

Received on Tuesday, 20 February 2001 12:20:48 UTC