HELP -- API function won't compile



 DEVELOP > c-Plus-Plus > HELP -- API function won't compile

LINK TO THIS PAGE  


rating :  0   |  0


  Page 1 of 1
Topic: DEVELOP > c-Plus-Plus
User: "RPS"
Date: 30 Jan 2004 06:25:11 PM
Object: HELP -- API function won't compile
Hi,
I'm using CYGWIN g++. I'm having trouble making an API call the
WindowFromPoint function.
Here is my code.
FILE: t.cc
#include <windows.h>
int main () {
POINT p;
p.x=200;
p.y=200;
HWND window_handle;
window_handle = WindowFromPoint(p);
return 0;
}
Here is the error message I'm getting:
C:\DOCUME~1\jeff\LOCALS~1\Temp\ccIIB5F0.o(.text+0x22):t.cc: undefined
reference to 'WindowFromPoint@8'
Could someone please tell me
1)What this error means and
2)What I need to do to fix it
Thank you
Jeff
.

 

NEWER

pg.1232     pg.940     pg.716     pg.544     pg.412     pg.311     pg.234     pg.175     pg.130     pg.96     pg.70     pg.50     pg.35     pg.24     pg.16     pg.10     pg.6     pg.3     pg.1

OLDER