when you use windows.h. The program compiles normally but there some functions that require a .lib file and .dll file. so lets i want to use CreateSolidBrush, its requires Gdi32.lib and Gdi32.dll. so to include or compile with them or whatever it is. what i must type in the command line?
or its possible to include the .lib file inside the source code?
note : i know the dll files not includable. to use them just put them in the same place with exe. but i am asking for .lib files!
g++ main.cpp ...