> From: Jeffrey Altman <[EMAIL PROTECTED]>
>
> jaltman> That is true, but NOWINABLE is not defined. I added
> jaltman>
> jaltman> #ifndef NOWINABLE
> jaltman> if (cursor) {
> jaltman> ...
> jaltman> }
> jaltman> #endif
> jaltman>
> jaltman> and the code still compiled and generated the error. I went through
> jaltman> and did this with about a dozen other #ifndefs as well.
>
> Have you actually checked that this is true when winuser.h is
> processed. I really can't find any other explanation...
Yes. I have checked this. winuser.h is always processed when
windows.h is #include.
I don't know what the cause of the problem is. What I did to get
around it is to add
#ifndef CURSOR_SHOWING
/*
* Information about the global cursor.
*/
typedef struct tagCURSORINFO
{
DWORD cbSize;
DWORD flags;
HCURSOR hCursor;
POINT ptScreenPos;
} CURSORINFO, *PCURSORINFO, *LPCURSORINFO;
#define CURSOR_SHOWING 0x00000001
#endif /* CURSOR_SHOWING */
after the readscreen() readtimer() prototypes.
Jeffrey Altman * Sr.Software Designer
The Kermit Project * Columbia University
612 West 115th St * New York, NY * 10025 * USA
http://www.kermit-project.org/ * [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]