Click here to Skip to main content
16,006,006 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to check the status of a Windows Service programatically Pin
amigo_rk7-Dec-05 2:11
amigo_rk7-Dec-05 2:11 
AnswerRe: How to check the status of a Windows Service programatically Pin
David Crow7-Dec-05 2:45
David Crow7-Dec-05 2:45 
AnswerRe: How to check the status of a Windows Service programatically Pin
ThatsAlok7-Dec-05 18:09
ThatsAlok7-Dec-05 18:09 
QuestionPrinting Extended Characters Pin
rcraigadams7-Dec-05 2:00
rcraigadams7-Dec-05 2:00 
QuestionHow to use Home & End Buttons on TabControl Pin
zxc897-Dec-05 1:40
zxc897-Dec-05 1:40 
AnswerRe: How to use Home & End Buttons on TabControl Pin
khan++7-Dec-05 4:06
khan++7-Dec-05 4:06 
QuestionIncluding the lib file Pin
vikas amin7-Dec-05 1:31
vikas amin7-Dec-05 1:31 
AnswerRe: Including the lib file Pin
Matt Godbolt7-Dec-05 1:50
Matt Godbolt7-Dec-05 1:50 
Usually if you have the libraries in the same solution file; simply making the application dependant on those libraries automatically links with their LIB files. Right click on your application in the solution browser and choose 'Project Dependencies' - tick the boxes for your two DLL projects. That should get the linker working.

If, however, your libraries aren't in the same solution (and I recommend they are!), then you'll need to add both the 'lib' file as you describe but also you'll need to add paths to the places where the two LIBs are stored in the Project>Setting>Link>General>Addition Library Directories. Be sure to path the 'Debug' lib in debug and the 'Release' lib in release (or whatever's appropriate).

As you can see; it's a lot easier if you can make the application project dependant on the libs in the solution, as then .NET will automatically ensure the relevant lib file is linked.

Matt Godbolt
Engineer, ProFactor Software
StyleManager project
GeneralRe: Including the lib file Pin
vikas amin7-Dec-05 2:06
vikas amin7-Dec-05 2:06 
GeneralRe: Including the lib file Pin
Matt Godbolt7-Dec-05 4:22
Matt Godbolt7-Dec-05 4:22 
GeneralRe: Including the lib file Pin
ThatsAlok7-Dec-05 18:28
ThatsAlok7-Dec-05 18:28 
AnswerRe: Including the lib file Pin
Chris Losinger7-Dec-05 2:09
professionalChris Losinger7-Dec-05 2:09 
QuestionWhich Performance value for checking leakage? Pin
peterchen7-Dec-05 0:58
peterchen7-Dec-05 0:58 
AnswerRe: Which Performance value for checking leakage? Pin
S. Senthil Kumar7-Dec-05 1:09
S. Senthil Kumar7-Dec-05 1:09 
AnswerRe: Which Performance value for checking leakage? Pin
Graham Bradshaw7-Dec-05 2:35
Graham Bradshaw7-Dec-05 2:35 
GeneralRe: Which Performance value for checking leakage? Pin
S. Senthil Kumar7-Dec-05 5:34
S. Senthil Kumar7-Dec-05 5:34 
GeneralRe: Which Performance value for checking leakage? Pin
Graham Bradshaw7-Dec-05 5:59
Graham Bradshaw7-Dec-05 5:59 
QuestionHow to add and remove a toolbar? Pin
Franken6-Dec-05 23:56
Franken6-Dec-05 23:56 
AnswerRe: How to add and remove a toolbar? Pin
kakan7-Dec-05 1:07
professionalkakan7-Dec-05 1:07 
GeneralRe: How to add and remove a toolbar? Pin
Franken7-Dec-05 1:12
Franken7-Dec-05 1:12 
QuestionIs there any way to verify a HHOOK? Pin
Abin6-Dec-05 23:49
Abin6-Dec-05 23:49 
AnswerRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 1:15
S. Senthil Kumar7-Dec-05 1:15 
GeneralRe: Is there any way to verify a HHOOK? Pin
Abin7-Dec-05 1:43
Abin7-Dec-05 1:43 
GeneralRe: Is there any way to verify a HHOOK? Pin
Abin7-Dec-05 3:29
Abin7-Dec-05 3:29 
GeneralRe: Is there any way to verify a HHOOK? Pin
S. Senthil Kumar7-Dec-05 4:07
S. Senthil Kumar7-Dec-05 4:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.