Thread: File sizes

  1. #16
    Registered User bradszy's Avatar
    Join Date
    Jan 2008
    Posts
    114
    1. Thanks Elysia, that's really, really cool.
    2. Ok, ill go into project options and play around
    OS: Windows XP Home Edition SP3, Windows 7 Ultimate Beta Build 7000
    LANGUAGES: C++, VB6
    SKILL: Novice/Intermediate

  2. #17
    Registered User bradszy's Avatar
    Join Date
    Jan 2008
    Posts
    114
    After linking with user32.lib, I got to the linking stage! Yay!
    And then...
    Oh no.
    libcpmtd.lib(stdthrow.obj)||error LNK2001: unresolved external symbol __CrtDbgReportW|

    libcpmtd.lib(xmbtowc.obj)||error LNK2001: unresolved external symbol __CrtDbgReportW|

    XCP FInal.obj||error LNK2019: unresolved external symbol __CrtDbgReportW referenced in function "public: char const & __thiscall std::_String_const_iterator<char,struct std::char_traits<char>,class std::allocator<char> >:perator*(void)const " (??D?$_String_const_iterator@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@QBEABDXZ)|

    libcpmtd.lib(cin.obj)||error LNK2001: unresolved external symbol __CrtDbgReportW|

    libcpmtd.lib(cout.obj)||error LNK2001: unresolved external symbol __CrtDbgReportW|

    libcpmtd.lib(cerr.obj)||error LNK2001: unresolved external symbol __CrtDbgReportW|

    libcpmtd.lib(xdebug.obj)||error LNK2019: unresolved external symbol __malloc_dbg referenced in function "void * __cdecl operator new(unsigned int,struct std::_DebugHeapTag_t const &,char *,int)" (??2@YAPAXIABU_DebugHeapTag_t@std@@PADH@Z)|

    libcpmtd.lib(xmbtowc.obj)||error LNK2001: unresolved external symbol __malloc_dbg|

    libcpmtd.lib(xdebug.obj)||error LNK2019: unresolved external symbol __free_dbg referenced in function "void __cdecl operator delete(void *,struct std::_DebugHeapTag_t const &,char *,int)" (??3@YAXPAXABU_DebugHeapTag_t@std@@PADH@Z)|

    libcpmtd.lib(xmbtowc.obj)||error LNK2001: unresolved external symbol __free_dbg|

    libcpmtd.lib(_tolower.obj)||error LNK2019: unresolved external symbol __calloc_dbg referenced in function __Getctype|

    bin\Debug\Xtended CMD.exe||fatal error LNK1120: 4 unresolved externals|
    Last edited by bradszy; 04-28-2008 at 05:16 AM.
    OS: Windows XP Home Edition SP3, Windows 7 Ultimate Beta Build 7000
    LANGUAGES: C++, VB6
    SKILL: Novice/Intermediate

  3. #18
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    You are not linking with libcmtd.lib, I would expect.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #19
    Registered User bradszy's Avatar
    Join Date
    Jan 2008
    Posts
    114
    Oh.My.Freaken.God.
    You two are both legends!
    Finally got it to work, thanks to you two!

    AND, now my indenting won't suck ass!

    This has been a really helpful thread, thanks again Elysia and Matsp!
    OS: Windows XP Home Edition SP3, Windows 7 Ultimate Beta Build 7000
    LANGUAGES: C++, VB6
    SKILL: Novice/Intermediate

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Data Structure Eror
    By prominababy in forum C Programming
    Replies: 3
    Last Post: 01-06-2009, 09:35 AM
  2. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  3. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM