Click here to Skip to main content
15,920,602 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 4:42
Abdul_khaliq_20-Feb-08 4:42 
GeneralRe: Cannot get reference to Locked screen when the system is in RDP state Pin
James R. Twine20-Feb-08 7:21
James R. Twine20-Feb-08 7:21 
QuestionRe: Cannot get reference to Locked screen when the system is in RDP state Pin
Abdul_khaliq_20-Feb-08 19:49
Abdul_khaliq_20-Feb-08 19:49 
QuestionCompiles with VC6. Is this still available? Pin
Ylno20-Feb-08 4:14
Ylno20-Feb-08 4:14 
AnswerRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 4:34
mveCPallini20-Feb-08 4:34 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:14
Ylno20-Feb-08 5:14 
QuestionRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 7:32
mveCPallini20-Feb-08 7:32 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 8:54
Ylno20-Feb-08 8:54 
Hi CPallini,

Yes I have sorted all the previous errors with the suggestions. I wanted to show them in case there was
something i could do with the compile options to get rid of these errors. (I thought I could ask the compiler
to be less strict. Since i got the same thing to compile first time with VC6).

Here's where i'm at now.
Linker errors: (the project was set up so that the linker has the path of the library)

Do you know what the weird combination of symbols mean? such as: (??0bad_cast@std@@QAE@PBD@Z)

1>Linking...<br />
1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" (??0bad_cast@std@@QAE@PBD@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj)<br />
1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" (??0bad_cast@std@@QAE@ABV01@@Z) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj)<br />
1>LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::bad_cast::~bad_cast(void)" (??1bad_cast@std@@UAE@XZ) already defined in DMPlugInBasic-Dbg.lib(ImageUtility.obj)<br />
1>   Creating library .\Debug/LibraryExample.lib and object .\Debug/LibraryExample.exp<br />
1>LibraryExample.obj : error LNK2019: unresolved external symbol "void __cdecl Gatan::PlugIn::DMScript_HandleException(struct Gatan::PlugIn::DM_Env *,class std::exception const &)" (?DMScript_HandleException@PlugIn@Gatan@@YAXPAUDM_Env@12@ABVexception@std@@@Z) referenced in function __catch$?PlugIn_Start@@YAXXZ$0<br />
1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "private: static class std::locale::_Locimp * std::locale::_Locimp::_Global" (?_Global@_Locimp@locale@std@@0PAV123@A)<br />
1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "protected: void __thiscall std::ios_base::_Addstd(void)" (?_Addstd@ios_base@std@@IAEXXZ) referenced in function "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)<br />
1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2001: unresolved external symbol "__int64 const std::_Fpz" (?_Fpz@std@@3_JB)<br />
1>DMPlugInBasic-Dbg.lib(PlugInUtility.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ) referenced in function "private: bool __thiscall std::basic_string<char,struct std::char_traits<char="">,class std::allocator<char> >::_Grow(unsigned int,bool)" (?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAE_NI_N@Z)<br />
1>DMPlugInBasic-Dbg.lib(ImageUtility.obj) : error LNK2001: unresolved external symbol "void __cdecl std::_Xlen(void)" (?_Xlen@std@@YAXXZ)<br />
1>DMPlugInBasic-Dbg.lib(ImageUtility.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall std::locale::_Iscloc(void)const " (?_Iscloc@locale@std@@QBE_NXZ) referenced in function "class std::num_put<char,class std::ostreambuf_iterator<char,struct="" std::char_traits<char=""> > > const & __cdecl std::use_facet(class std::locale const &,class std::num_put<char,class std::ostreambuf_iterator<char,struct="" std::char_traits<char=""> > > const *,bool)" (?use_facet@std@@YAABV?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@1@ABVlocale@1@PBV21@_N@Z)<br />
1>DMPlugInBasic-Dbg.lib(ImageUtility.obj) : error LNK2019: unresolved external symbol "public: class std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned int,bool)const " (?_Getfacet@locale@std@@QBEPBVfacet@12@I_N@Z) referenced in function "class std::num_put<char,class std::ostreambuf_iterator<char,struct="" std::char_traits<char=""> > > const & __cdecl std::use_facet(class std::locale const &,class std::num_put<char,class std::ostreambuf_iterator<char,struct="" std::char_traits<char=""> > > const *,bool)" (?use_facet@std@@YAABV?$num_put@DV?$ostreambuf_iterator@DU?$char_traits@D@std@@@std@@@1@ABVlocale@1@PBV21@_N@Z)<br />
1>DMPlugInBasic-Dbg.lib(ImageUtility.obj) : error LNK2019: unresolved external symbol "void __cdecl std::_Xran(void)" (?_Xran@std@@YAXXZ) referenced in function "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)<br />
1>.\Debug/LibraryExample.dll : fatal error LNK1120: 8 unresolved externals</char></char,struct></char></char,struct></char></char,struct></char,class></char,class></char,class></char,class></char></char,struct></char,struct></char,struct>

GeneralRe: Compiles with VC6. Is this still available? Pin
CPallini20-Feb-08 9:49
mveCPallini20-Feb-08 9:49 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 10:51
Ylno20-Feb-08 10:51 
AnswerRe: Compiles with VC6. Is this still available? Pin
David Crow20-Feb-08 5:35
David Crow20-Feb-08 5:35 
GeneralRe: Compiles with VC6. Is this still available? Pin
Ylno20-Feb-08 5:49
Ylno20-Feb-08 5:49 
AnswerRe: Compiles with VC6. Is this still available? Pin
Chris Losinger20-Feb-08 9:04
professionalChris Losinger20-Feb-08 9:04 
Question[Message Deleted] Pin
1dayprogrammer20-Feb-08 4:08
1dayprogrammer20-Feb-08 4:08 
QuestionRe: code error..., in writing code to a file?? Pin
David Crow20-Feb-08 5:38
David Crow20-Feb-08 5:38 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer20-Feb-08 7:14
1dayprogrammer20-Feb-08 7:14 
QuestionRe: code error..., in writing code to a file?? Pin
David Crow20-Feb-08 7:35
David Crow20-Feb-08 7:35 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer21-Feb-08 9:17
1dayprogrammer21-Feb-08 9:17 
GeneralRe: code error..., in writing code to a file?? Pin
David Crow21-Feb-08 10:35
David Crow21-Feb-08 10:35 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer21-Feb-08 11:22
1dayprogrammer21-Feb-08 11:22 
GeneralRe: code error..., in writing code to a file?? Pin
David Crow22-Feb-08 2:57
David Crow22-Feb-08 2:57 
GeneralRe: code error..., in writing code to a file?? Pin
1dayprogrammer20-Feb-08 7:15
1dayprogrammer20-Feb-08 7:15 
GeneralRe: code error..., in writing colour gradient code to a file?? Pin
Dexterus21-Feb-08 2:39
Dexterus21-Feb-08 2:39 
Questionhow the .exe call the dll Pin
wendyyue20-Feb-08 4:07
wendyyue20-Feb-08 4:07 
AnswerRe: how the .exe call the dll Pin
Ylno20-Feb-08 4:21
Ylno20-Feb-08 4:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.