| | |
static lib file in visual studio 2007
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Mar 2008
Posts: 1,495
Reputation:
Solved Threads: 123
Something like this perhaps ?
CPP Syntax (Toggle Plain Text)
#pragma comment(lib, "mylib.lib")
I need pageviews! most fun profile ever :)
If you'd like to link to a lib through the compiler's interface rather than using #pragma, right-click on your project's name in the panel to the left, go down to properties, expand linker, go to input, and put the libraries names in the additional dependencies field, separated by spaces.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
![]() |
Similar Threads
- Possible virus/malware (Viruses, Spyware and other Nasties)
- Backdoor.Win32.Loony.m (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: ethernet
- Next Thread: DoText() Function for C++ text drawing.
Views: 2928 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll encryption error file forms fstream function functions game getline givemetehcodez google graph homeworkhelper iamthwee ifstream input int integer java lazy lib linkedlist linux loop looping loops map math matrix memory microsoft newbie news node number output parameter pointer problem program programming project proxy python random read recursion recursive reference return sort string strings struct studio system template templates test text tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






