Click to See Complete Forum and Search --> : how to add .lib files to projects


ryanseys
July 30th, 2007, 01:52 PM
this may seem like a dumb question but how to you include .lib files with your project...
i thought you just add them like a header files or .cpp file but my project keeps having errors

if i am adding them properly please tell me

if not... please tell me the right way to include them with the project

NoHero
August 3rd, 2007, 01:36 PM
By using a pragma:

#pragma comment(lib, "path to lib.lib")