Link User32 with gcc
Posted
by Tim Cooper
on Stack Overflow
See other posts from Stack Overflow
or by Tim Cooper
Published on 2010-04-04T18:38:49Z
Indexed on
2010/04/04
18:43 UTC
Read the original article
Hit count: 307
I have a C program which has a function call that is defined in windows.h
(which I have included), however, when I try and compile it with gcc
, I get the error:
warning: implicit declaration of function `LockWorkStation'
I looked at the MSDN documentation and I see that this function is the User32
library file, and I was wondering how I would go about linking that to my file.
© Stack Overflow or respective owner