Re: [Dev-C++] Sample code COMMON CONTROLS: DATETIME PICKER & make.exe errors
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Elizabeth B. <sog...@ya...> - 2002-10-09 03:55:05
|
Roberto Ricardi <rob...@ar...> writes: > I tried to compile & run some sample win32 code with dev-cpp 4.9.6.1 > from this site: http://www.foosyerdoos.fsnet.co.uk/. Im have not > experience win c++ programer so just mean trying to do know how. > > Anyone knows this example? > > //COMMON CONTROLS: DATETIME PICKER - Copyright © 2000-2002 Ken Fitlike > ... > //DevC++(MinGW) must link with -lcomctl32. bcc5.5,msvc (must link with > comctl32.lib) > #include <commctrl.h> That is correct, -lcomctl32... > I found the comctl32.lib in the SDK package, I made a empty proyect > with the sample code and put in proyect linker options > -l"c:/dev-cpp/lib/comctl32.lib" lib location, rebuild again, this is the > building dump: No, not -l"c:..." but just like it says, -lcomctl32. This adds the library "libcomctl32.a" into the link. Elizabeth |