|
|
|
list
|
|||
|---|---|---|---|
|
#18+
какую либу надо приатачить к проекту win32api чтобы был доступен list? Спасибо! -------------------------------------------------------------- [подпись с другого сайта] ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 14:33 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
он вроде живет в comctl32.dll надо вызвать после winmain InitCommonControls() ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 14:49 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
!!!!!!!он вроде живет в comctl32.dll надо вызвать после winmain InitCommonControls() наверно я не правильно выразился, мне нужно вот это Код: plaintext ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 14:59 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
!!!!!!!include <list> сделал, выдает при линковке авторLinking... Creating library D:\CODE\strk_1.0\Debug\strk.lib and object D:\CODE\strk_1.0\Debug\strk.exp strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::~_Container_base(void)" (__imp_??1_Container_base@std@@QAE@XZ) referenced in function "public: __thiscall std::_List_nod<class CStrk,class std::allocator<class CStrk> >::~_List_nod<class CStrk,class std::allocator<class CStrk> >(void)" (??1?$_List_nod@VCStrk@@V?$allocator@VCStrk@@@std@@@std@@QAE@XZ) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (__imp_?_Debug_message@std@@YAXPB_W0I@Z) referenced in function "public: void __thiscall std::list<class CStrk,class std::allocator<class CStrk> >::_Insert(class std::list<class CStrk,class std::allocator<class CStrk> >::_Iterator<1>,class CStrk const &)" (?_Insert@?$list@VCStrk@@V?$allocator@VCStrk@@@std@@@std@@QAEXV?$_Iterator@$00@12@ABVCStrk@@@Z) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Lockit::~_Lockit(void)" (__imp_??1_Lockit@std@@QAE@XZ) referenced in function "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(int)" (__imp_??0_Lockit@std@@QAE@H@Z) referenced in function "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void)" (__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ) referenced in function "protected: void __thiscall std::list<class CStrk,class std::allocator<class CStrk> >::_Incsize(unsigned int)" (?_Incsize@?$list@VCStrk@@V?$allocator@VCStrk@@@std@@@std@@IAEXI@Z) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const *)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBD@Z) referenced in function "protected: void __thiscall std::list<class CStrk,class std::allocator<class CStrk> >::_Incsize(unsigned int)" (?_Incsize@?$list@VCStrk@@V?$allocator@VCStrk@@@std@@@std@@IAEXI@Z) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV01@@Z) referenced in function "public: __thiscall std::logic_error::logic_error(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0logic_error@std@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@1@@Z) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: char const * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::c_str(void)const " (__imp_?c_str@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEPBDXZ) referenced in function "public: virtual char const * __thiscall std::logic_error::what(void)const " (?what@logic_error@std@@UBEPBDXZ) strk.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall std::_Container_base::_Container_base(void)" (__imp_??0_Container_base@std@@QAE@XZ) referenced in function "protected: __thiscall std::_List_nod<class CStrk,class std::allocator<class CStrk> >::_List_nod<class CStrk,class std::allocator<class CStrk> >(class std::allocator<class CStrk>)" (??0?$_List_nod@VCStrk@@V?$allocator@VCStrk@@@std@@@std@@IAE@V?$allocator@VCStrk@@@1@@Z) D:\CODE\strk_1.0\Debug\strk.dll : fatal error LNK1120: 9 unresolved externals strk - 10 error(s), 0 warning(s) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 15:51 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
к сожалению, сейчас у меня нет студии под рукой. но скорее всего надо лезть в опции проекта - project directories, и смотреть какие пути подключены и какой порядок подключения, в разделах lib и header. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 16:13 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
Не знаю, поможет или нет, линкер с опциями Код: plaintext 1. собирает нормально. VS2005 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 16:15 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
Cerebrum пишет: > Автор: "Cerebrum" > какую либу надо приатачить к проекту win32api чтобы был доступен list? Одну из реализаций C RTL. std::list там. Posted via ActualForum NNTP Server 1.3 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 16:20 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
у меня следующая командная строка Код: plaintext нифига не компилится -------------------------------------------------------------- [подпись с другого сайта] ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 16:35 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
Можно по опциям порыскать. Например, Linker->Ignore All Default Libraries -> No. И так далее. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 16:59 |
|
||
|
list
|
|||
|---|---|---|---|
|
#18+
AkhМожно по опциям порыскать. Например, Linker->Ignore All Default Libraries -> No. И так далее.ага! Не компилил винапи-приложения! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 16.01.2007, 17:14 |
|
||
|
|

start [/forum/topic.php?fid=57&fpage=314&tid=2029660]: |
0ms |
get settings: |
8ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
47ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
46ms |
get tp. blocked users: |
1ms |
| others: | 220ms |
| total: | 355ms |

| 0 / 0 |
