Bonjour,

je souhaite compiler en tant que code c++ un code C. J'ai modifiers divers portions de code et je suis parvenu à compiler et faire fonctioner le code en question. j'ai par la suite voulut rajouter du code C++ (Exception, manipulation de chaine, de fichier). le problème, c'est que l'ors du linkage j'obtien divers erreures de compilation, selon la valeur de "Bibliothèque Runtime".
Avec /MDd j'obtien plus de 800 erreures du type :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
socket1.obj : error LNK2001: symbole externe non résolu __imp___time64
timer1.obj : error LNK2001: symbole externe non résolu __imp___time64
npc.obj : error LNK2001: symbole externe non résolu __imp__stricmp
script.obj : error LNK2001: symbole externe non résolu __imp__stricmp
oldnames.lib(stricmp.obi) : error LNK2001: symbole externe non résolu __imp__stricmp
mapindex1.obj : error LNK2019: symbole externe non résolu __imp__stricmp référencé dans la fonction "char const * __cdecl mapindex_getmapname(char const *,char *)" (?mapindex_getmapname@@YAPBDPBDPAD@Z)
atcommand.obj : error LNK2001: symbole externe non résolu __imp__stricmp
itemdb.obj : error LNK2001: symbole externe non résolu __imp__stricmp
map.obj : error LNK2001: symbole externe non résolu __imp__stricmp
showmsg1.obj : error LNK2019: symbole externe non résolu __imp__vsnprintf référencé dans la fonction "int __cdecl VFPRINTF(void *,char const *,char *)" (?VFPRINTF@@YAHPAXPBDPAD@Z)
strlib1.obj : error LNK2001: symbole externe non résolu __imp__vsnprintf
strlib1.obj : error LNK2019: symbole externe non résolu __imp__toupper référencé dans la fonction "char const * __cdecl stristr(char const *,char const *)" (?stristr@@YAPBDPBD0@Z)
atcommand.obj : error LNK2001: symbole externe non résolu __imp__toupper
irc.obj : error LNK2001: symbole externe non résolu __imp__toupper
timer1.obj : error LNK2019: symbole externe non résolu __imp___difftime64 référencé dans la fonction _difftime
atcommand.obj : error LNK2019: symbole externe non résolu __imp__qsort référencé dans la fonction "int __cdecl atcommand_whozeny(int,struct map_session_data *,char const *,char const *)" (?atcommand_whozeny@@YAHHPAUmap_session_data@@PBD1@Z)
clif.obj : error LNK2001: symbole externe non résolu __imp__qsort
storage.obj : error LNK2001: symbole externe non résolu __imp__qsort
skill.obj : error LNK2001: symbole externe non résolu __imp__rand
status.obj : error LNK2001: symbole externe non résolu __imp__rand
path.obj : error LNK2001: symbole externe non résolu __imp__rand
pc.obj : error LNK2001: symbole externe non résolu __imp__rand
pet.obj : error LNK2001: symbole externe non résolu __imp__rand
script.obj : error LNK2001: symbole externe non résolu __imp__rand
map.obj : error LNK2001: symbole externe non résolu __imp__rand
mercenary.obj : error LNK2001: symbole externe non résolu __imp__rand
mob.obj : error LNK2001: symbole externe non résolu __imp__rand
party.obj : error LNK2001: symbole externe non résolu __imp__rand
atcommand.obj : error LNK2019: symbole externe non résolu __imp__rand référencé dans la fonction "int __cdecl atcommand_monstersmall(int,struct map_session_data *,char const *,char const *)" (?atcommand_monstersmall@@YAHHPAUmap_session_data@@PBD1@Z)
battle.obj : error LNK2001: symbole externe non résolu __imp__rand
clif.obj : error LNK2001: symbole externe non résolu __imp__rand
itemdb.obj : error LNK2001: symbole externe non résolu __imp__rand
atcommand.obj : error LNK2019: symbole externe non résolu __imp__atof référencé dans la fonction "int __cdecl atcommand_autoloot(int,struct map_session_data *,char const *,char const *)" (?atcommand_autoloot@@YAHHPAUmap_session_data@@PBD1@Z)
pc.obj : error LNK2001: symbole externe non résolu __imp__atof
atcommand.obj : error LNK2019: symbole externe non résolu __imp__strtok référencé dans la fonction "int __cdecl atcommand_npctalk(int,struct map_session_data *,char const *,char const *)" (?atcommand_npctalk@@YAHHPAUmap_session_data@@PBD1@Z)
irc.obj : error LNK2001: symbole externe non résolu __imp__strtok
mercenary.obj : error LNK2001: symbole externe non résolu __imp__strtok
script.obj : error LNK2001: symbole externe non résolu __imp__strtok
mail.obj : error LNK2019: symbole externe non résolu __imp___mktime64 référencé dans la fonction _mktime
map.obj : error LNK2019: symbole externe non résolu __imp__puts référencé dans la fonction "void __cdecl map_helpscreen(int)" (?map_helpscreen@@YAXH@Z)
map.obj : error LNK2019: symbole externe non résolu __imp__srand référencé dans la fonction "int __cdecl do_init(int,char * *)" (?do_init@@YAHHPAPAD@Z)
mercenary.obj : error LNK2019: symbole externe non résolu __imp___wassert référencé dans la fonction "int __cdecl merc_hom_alloc(struct map_session_data *,struct s_homunculus *)" (?merc_hom_alloc@@YAHPAUmap_session_data@@PAUs_homunculus@@@Z)
pet.obj : error LNK2001: symbole externe non résolu __imp___wassert
npc.obj : error LNK2019: symbole externe non résolu __imp__ferror référencé dans la fonction "void __cdecl npc_parsesrcfile(char const *)" (?npc_parsesrcfile@@YAXPBD@Z)
script.obj : error LNK2019: symbole externe non résolu __imp__longjmp référencé dans la fonction "void __cdecl disp_error_message2(char const *,char const *,int)" (?disp_error_message2@@YAXPBD0H@Z)
script.obj : error LNK2019: symbole externe non résolu __imp__strncat référencé dans la fonction "int __cdecl buildin_npctalk(struct script_state *)" (?buildin_npctalk@@YAHPAUscript_state@@@Z)
file.obj : error LNK2019: symbole externe non résolu "__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) référencé dans la fonction __unwindfunclet$??0CFile@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z$0
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: class std::_String_iterator<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::begin(void)" (__imp_?begin@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ) référencé dans la fonction "public: __thiscall CFile::CFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0CFile@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: class std::_String_iterator<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::end(void)" (__imp_?end@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE?AV?$_String_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ) référencé dans la fonction "public: __thiscall CFile::CFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0CFile@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
file.obj : error LNK2019: symbole externe non résolu "__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) référencé dans la fonction "public: __thiscall CFile::CFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (??0CFile@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall std::_Lockit::~_Lockit(void)" (__imp_??1_Lockit@std@@QAE@XZ) référencé dans la fonction "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall std::_Lockit::_Lockit(int)" (__imp_??0_Lockit@std@@QAE@H@Z) référencé dans la fonction "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (__imp_?_Debug_message@std@@YAXPB_W0I@Z) référencé dans la fonction "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" (?_Orphan_me@_Iterator_base@std@@QAEXXZ)
file.obj : error LNK2019: symbole externe non résolu "__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) référencé dans la fonction "public: __thiscall CFile::CFile(char const *)" (??0CFile@@QAE@PBD@Z)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: void __thiscall std::basic_ifstream<char,struct std::char_traits<char> >::`vbase destructor'(void)" (__imp_??_D?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAEXXZ) référencé dans la fonction "public: bool __thiscall CFile::exists(void)const " (?exists@CFile@@QBE_NXZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: bool __thiscall std::basic_ifstream<char,struct std::char_traits<char> >::is_open(void)const " (__imp_?is_open@?$basic_ifstream@DU?$char_traits@D@std@@@std@@QBE_NXZ) référencé dans la fonction "public: bool __thiscall CFile::exists(void)const " (?exists@CFile@@QBE_NXZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: __thiscall std::basic_ifstream<char,struct std::char_traits<char> >::basic_ifstream<char,struct std::char_traits<char> >(char const *,int,int)" (__imp_??0?$basic_ifstream@DU?$char_traits@D@std@@@std@@QAE@PBDHH@Z) référencé dans la fonction "public: bool __thiscall CFile::exists(void)const " (?exists@CFile@@QBE_NXZ)
file.obj : error LNK2019: symbole externe non résolu "__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) référencé dans la fonction "public: bool __thiscall CFile::exists(void)const " (?exists@CFile@@QBE_NXZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) bool __cdecl std::operator==<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 &,char const *)" (__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@PBD@Z) référencé dans la fonction "public: bool __thiscall CFile::exists(void)const " (?exists@CFile@@QBE_NXZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::substr(unsigned int,unsigned int)const " (__imp_?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV12@II@Z) référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall CFile::name(void)const " (?name@CFile@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: unsigned int __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::find_last_of(char const *,unsigned int)const " (__imp_?find_last_of@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEIPBDI@Z) référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall CFile::name(void)const " (?name@CFile@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ)
file.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: static unsigned int const std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::npos" (__imp_?npos@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2IB)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) bool __cdecl std::operator==<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 &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_??$?8DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@0@0@Z) référencé dans la fonction "public: bool __thiscall CFile::operator==(class CFile)" (??8CFile@@QAE_NV0@@Z)
file.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) protected: char * __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Myptr(void)" (__imp_?_Myptr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEPADXZ) référencé dans la fonction "public: char const & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >::operator*(void)const " (??D?$_String_const_iterator@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBEABDXZ)
oldnames.lib(strdup.obi) : error LNK2001: symbole externe non résolu __imp___strdup
Avec /MTd, c'est plutôt :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
exceptions.obj : error LNK2019: symbole externe non résolu "void * __cdecl operator new[](unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z) référencé dans la fonction "public: char * __cdecl std::_DebugHeapAllocator<char>::allocate(unsigned int,void const *)" (?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z)
file.obj : error LNK2001: symbole externe non résolu "void * __cdecl operator new[](unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??_U@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)
exceptions.obj : error LNK2019: symbole externe non résolu "struct std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ) référencé dans la fonction "public: char * __cdecl std::_DebugHeapAllocator<char>::allocate(unsigned int,void const *)" (?allocate@?$_DebugHeapAllocator@D@std@@QAAPADIPBX@Z)
file.obj : error LNK2001: symbole externe non résolu "struct std::_DebugHeapTag_t const & __cdecl std::_DebugHeapTag_func(void)" (?_DebugHeapTag_func@std@@YAABU_DebugHeapTag_t@1@XZ)
file.obj : error LNK2019: symbole externe non résolu "public: __thiscall std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) référencé dans la fonction "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "public: __thiscall std::_Lockit::_Lockit(int)" (??0_Lockit@std@@QAE@H@Z) référencé dans la fonction "public: __thiscall std::_Iterator_base::~_Iterator_base(void)" (??1_Iterator_base@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "void __cdecl std::_Debug_message(wchar_t const *,wchar_t const *,unsigned int)" (?_Debug_message@std@@YAXPB_W0I@Z) référencé dans la fonction "public: void __thiscall std::_Iterator_base::_Orphan_me(void)" (?_Orphan_me@_Iterator_base@std@@QAEXXZ)
file.obj : error LNK2019: symbole externe non résolu "private: static void __cdecl std::ios_base::_Ios_base_dtor(class std::ios_base *)" (?_Ios_base_dtor@ios_base@std@@CAXPAV12@@Z) référencé dans la fonction "public: virtual __thiscall std::ios_base::~ios_base(void)" (??1ios_base@std@@UAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "public: __thiscall std::_Mutex::~_Mutex(void)" (??1_Mutex@std@@QAE@XZ) référencé dans la fonction "public: virtual __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::~basic_streambuf<char,struct std::char_traits<char> >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ)
file.obj : error LNK2001: symbole externe non résolu "long const std::_BADOFF" (?_BADOFF@std@@3JB)
file.obj : error LNK2019: symbole externe non résolu "public: static void __cdecl std::_String_base::_Xlen(void)" (?_Xlen@_String_base@std@@SAXXZ) référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(unsigned int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
file.obj : error LNK2019: symbole externe non résolu "public: static void __cdecl std::_String_base::_Xran(void)" (?_Xran@_String_base@std@@SAXXZ) référencé dans la fonction "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::assign(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int,unsigned int)" (?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ABV12@II@Z)
file.obj : error LNK2019: symbole externe non résolu "struct _iobuf * __cdecl std::_Fiopen(char const *,int,int)" (?_Fiopen@std@@YAPAU_iobuf@@PBDHH@Z) référencé dans la fonction "public: class std::basic_filebuf<char,struct std::char_traits<char> > * __thiscall std::basic_filebuf<char,struct std::char_traits<char> >::open(char const *,int,int)" (?open@?$basic_filebuf@DU?$char_traits@D@std@@@std@@QAEPAV12@PBDHH@Z)
file.obj : error LNK2019: symbole externe non résolu "public: static void __cdecl std::ios_base::_Addstd(class std::ios_base *)" (?_Addstd@ios_base@std@@SAXPAV12@@Z) référencé dans la fonction "protected: void __thiscall std::basic_ios<char,struct std::char_traits<char> >::init(class std::basic_streambuf<char,struct std::char_traits<char> > *,bool)" (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
file.obj : error LNK2019: symbole externe non résolu "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z) référencé dans la fonction "protected: void __thiscall std::ios_base::_Init(void)" (?_Init@ios_base@std@@IAEXXZ)
file.obj : error LNK2019: symbole externe non résolu "private: static class std::locale::_Locimp * __cdecl std::locale::_Getgloballocale(void)" (?_Getgloballocale@locale@std@@CAPAV_Locimp@12@XZ) référencé dans la fonction "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "private: static class std::locale::_Locimp * __cdecl std::locale::_Init(void)" (?_Init@locale@std@@CAPAV_Locimp@12@XZ) référencé dans la fonction "public: __thiscall std::locale::locale(void)" (??0locale@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu "public: __thiscall std::_Mutex::_Mutex(void)" (??0_Mutex@std@@QAE@XZ) référencé dans la fonction "protected: __thiscall std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ)
file.obj : error LNK2001: symbole externe non résolu "public: static class std::locale::id std::ctype<char>::id" (?id@?$ctype@D@std@@2V0locale@2@A)
file.obj : error LNK2001: symbole externe non résolu "private: static int std::locale::id::_Id_cnt" (?_Id_cnt@id@locale@std@@0HA)
file.obj : error LNK2019: symbole externe non résolu "private: static void __cdecl std::locale::facet::facet_Register(class std::locale::facet *)" (?facet_Register@facet@locale@std@@CAXPAV123@@Z) référencé dans la fonction "public: void __thiscall std::locale::facet::_Register(void)" (?_Register@facet@locale@std@@QAEXXZ)
file.obj : error LNK2019: symbole externe non résolu "public: static void __cdecl std::_Locinfo::_Locinfo_ctor(class std::_Locinfo *,char const *)" (?_Locinfo_ctor@_Locinfo@std@@SAXPAV12@PBD@Z) référencé dans la fonction "public: __thiscall std::_Locinfo::_Locinfo(char const *)" (??0_Locinfo@std@@QAE@PBD@Z)
file.obj : error LNK2019: symbole externe non résolu "public: static void __cdecl std::_Locinfo::_Locinfo_dtor(class std::_Locinfo *)" (?_Locinfo_dtor@_Locinfo@std@@SAXPAV12@@Z) référencé dans la fonction "public: __thiscall std::_Locinfo::~_Locinfo(void)" (??1_Locinfo@std@@QAE@XZ)
file.obj : error LNK2019: symbole externe non résolu __Getctype référencé dans la fonction "public: struct _Ctypevec __thiscall std::_Locinfo::_Getctype(void)const " (?_Getctype@_Locinfo@std@@QBE?AU_Ctypevec@@XZ)
file.obj : error LNK2019: symbole externe non résolu __Tolower référencé dans la fonction "protected: virtual char __thiscall std::ctype<char>::do_tolower(char)const " (?do_tolower@?$ctype@D@std@@MBEDD@Z)
file.obj : error LNK2019: symbole externe non résolu __Toupper référencé dans la fonction "protected: virtual char __thiscall std::ctype<char>::do_toupper(char)const " (?do_toupper@?$ctype@D@std@@MBEDD@Z)

J'ai essayer d'ajouter divers librairies, de changer les valeurs entre /MT(d) et /MD(d) mais j'ai toujours des erreurs... je ne sais vraiment pas comment faire, malgré de nombreuses recherches infructueuses. Tout ce dont je suis sur, c'est que le code compilais sans l'ajout de cette portion de C++ :/

Pour pouvoir compiler le code c++, j'ai du ajouter "Oui (/EHsc)" à Utilisation des Exceptions C++. (Mais ca compile avec le /EHsc et me /MT(d) si les fichiers qui utilisent du C++ ne sont pas présent)
Le code c++ est tout a fait correcte sinon, il compile, mais ne veut pas être linker avec le reste :/

Une idée sur la possible cause de ce problème, une piste de recherche? je ne sais vraiment plus quoi faire :/