27.11.2006 12:37:54 | Импорт библиотеки Crypt32.lib | | Ответов: 3 |
|
Иван | | |
|
Подскажите пожалуйста как импортировать библиотеку crypt32.lib в консольное приложение, использую компилятор C++ Builder 6.0. Пишу #pragma comment (lib,'crypt32.lib'), а компилятор говорит Unable to open file 'crypt32.lib' |
|
Ответы:
|
27.11.2006 13:43:18 | Kirill Sobolev |
|
А если полный путь указать? |
|
|
Ввёл полный путь, компилятор стал ругаться следующим образом [Linker Error] Unresolved external '__InitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl и [Linker Error] Unresolved external '__ExitVCL' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\CP32MTI.LIB|crtlvcl |
|
27.11.2006 16:07:29 | Kirill Sobolev |
|
www.google.ru
[Linker Error] Unresolved external '__InitVCL' referenced from [..]
This error occurs, because you want to work in a console application, but you started a Builder application in the Console Wizard. Do 'File | New | Other | Console Wizard'. In this menu, uncheck 'Use VCL'. 'Console Application' should be checked, 'Multi Threaded' and 'Use CLX' should be unchecked.
[Linker Error] Unresolved external '__ExitVCL' referenced from [..]
This error occurs, because you want to work in a console application, but you started a Builder application in the Console Wizard. Do 'File | New | Other | Console Wizard'. In this menu, uncheck 'Use VCL'. 'Console Application' should be checked, 'Multi Threaded' and 'Use CLX' should be unchecked. |
|