[Dev-C++] Re: compilation/linking problems
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Alan T. <ala...@3n...> - 2001-04-01 12:58:13
|
Never mind the question. I had not included windows.h in my RC file
(necessary), and I had included the .rc file in my C++ file (unnecessary).
Thanks, Alan
----- Original Message -----
From: "Alan Thomas" <ala...@3n...>
To: <dev...@li...>
Sent: Saturday, March 31, 2001 7:32 PM
Subject: compilation/linking problems
> I get the following error when I attempt to compile the program
> below. I think the problem has something to do with the resource files,
> shown below. Any ideas would be appreciated
>
> ERROR:
>
> c:\windows\TEMP\ccZ33HQa.o: In function `WinMain':
>
> //c/windows/profiles/alanth~1/mydocu~1/c__pro~1/windows/simple~1.cpp:33:
> undefined reference to `GetStockObject@4'
>
|