Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Downloads
.NET 2.0
.NET 1.*
.NET x64
VC++ 6.0
VC++ 7.0
VC++ 8.0
Java
Ruby
Perl 5.8.*
Perl 5.10.*
Python
Bounce ActiveX
Charset ActiveX
Email ActiveX
FTP2 ActiveX
Crypt ActiveX
HTML-to-XML ActiveX
HTTP ActiveX
IMAP ActiveX
MHT ActiveX
MIME ActiveX
RSA ActiveX
Socket ActiveX
Spider ActiveX (free)
String ActiveX (free)
Tar ActiveX
Upload ActiveX (free)
XML ActiveX (free)
XMP ActiveX
Zip ActiveX

Index of Chilkat Blog Posts

April 7, 2008

Unresolved External: CkString::getUnicode

This problem only occurs with Visual Studio 2003. (The solution is described below) It does not occur with Visual Studio 2002, 2005, or 2008.

Problem:
Your application will get an unresolved external error message if it tries to use any Chilkat method involving wchar_t, such as:

MfcLinkTest error LNK2019: unresolved external symbol "public: wchar_t const * __thiscall CkString::getUnicode(void)const " (?getUnicode@CkString@@QBEPB_WXZ) referenced in function "public: __thiscall CMainFrame::CMainFrame(void)" (??0CMainFrame@@QAE@XZ)

Solution:
Open the Project/Properties and select the "C/C++" tab. Then select the "Language" sub-category. The "Treat wchar_t as Built-in Type" property defaults to "Yes". This should be changed to "No".

Setting the "Treat wchar_t as Built-in Type" project property equal to "No" solves the unresolved external problem.


Privacy Statement. Copyright 2000-2008 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, and Windows 95/98/NT4.