PDA

View Full Version : سوال: اضافه کردن libcamav.dll به 2012 visual studio



arbab333
سه شنبه 21 دی 1395, 01:54 صبح
سلام، چطور می تونم کتابخونه libcamav.dll را به 2012 viduall studio اضافه کنم؟؟؟؟؟؟از قسمتrefrence نتونستم اضافه کنم

one hacker alone
شنبه 16 بهمن 1395, 03:33 صبح
سلام
برای اینکار دو روش وجود داره
1- از طریق کد و دستور زیر


#pragma comment(lib, "نام کتابخاانه")

2- از طریق IDE به مسیر زیر

پروژه Properties.
Next open Configuration Properties and then Linker.Now you want to add the folder you have the Allegro libraries in to Additional Library Directories,Linker -> Input you'll add the actual library files under Additional Dependencies.For the Header Files you'll also want to include their directories under C/C++ -> Additional Include Directories.

_________________________________________
امضا:
دوره سطح دو برنامه نویسی تخصصی با ++C
http://ittw.ir/banner/bcpp2.jpg