Article View: adobe.indesign.sdk
Article #550IDCS3 Win IDFile::Exists()
From: John_Darnell
Date: Mon, 29 Dec 2008 20:54
Date: Mon, 29 Dec 2008 20:54
23 lines
1074 bytes
1074 bytes
I have some code in a project that looks like this:
IDFile ApogeeFile("C:\\dir1\\dir2\\dir3\\dir4\\myfile.PPD");
if(!ApogeeFile.Exists())
{
...
The file compiles cleanly, but when the project is linked, I receive the following linker error:
error LNK2019: unresolved external symbol "__declspec(dllimport) __thiscall adobe::afl::AFile::Exists(void)...
Looking at the AFile.h header, Exists is declared as follows:
bool Exists() const;
I'm stumped as to why I'm getting the error. Can anyone offer some help?
TIA!
John
Technical Details
Message-ID:
<59b761f5.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f63e9,b3523a5b1e708e3b,start X-Google-Attributes: gidf63e9,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: John_Darnell@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.indesign.sdk Subject: IDCS3 Win IDFile::Exists() Message-ID: <59b761f5.-1@webcrossing.la2eafNXanI> Date: Mon, 29 Dec 2008 12:54:32 -0800 Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit