Re: unresolved symbols

"Jim Barry" <[email protected]>
Newsgroups gmane.comp.windows.wtl
Message-ID <96A027626AFE46DB9651E891F3E40728@jbarry>
"mike" wrote:
> A colleague modified his ATL project and now he's getting
>
> 2>FolderFileCtrl.obj : error LNK2019: unresolved external symbol
> "public: __thiscall WTL::CString::~CString(void)"
> (??1CString@WTL@@QAE@XZ) referenced in function
> __unwindfunclet$??0CFileDialogFilter@@QAE@PB_W@Z$0
>
> Any ideas? We've moved libary order, changes include order with no 
> success.

Not sure, but I don't think there's any reason to use WTL::CString unless 
you're targeting ATL version 3. Just use the ATL::CString in atlstr.h. To 
get rid of the WTL one, define _WTL_NO_CSTRING, or simply don't include 
atlmisc.h.

- Jim 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wtl/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/wtl/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.