Archived Forum Post

Index of archived forum posts

Question:

Upgraded vc++ now am getting tons of linker errors

Dec 24 '12 at 09:19

We've been a long term customer of Chilkat for VC++. Are app was and is written in VC6. Ran into a problem with IMAP and it was recommended that we upgrade to the latest version to see if that corrected the error. We were about a year and a half old on version updates (not broken, why fix it <smile>)

We downloaded the library, removed all our old chilkat lib and .h files and installed it in place of what we had. We had to modify our settings because we were referencing ChilkatRelMT.lib and ckBaseRelMt.lib. Changed that to ChilkatDbg.lib.

Now when we compile, what was a successful compile prior to this update, we get 1281 errors... all "unresolved external".

Here's the first few....

ChilkatDbg.lib(DistinguishedName.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(MemoryDataSink.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(ZeeDeflateState.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(Gzip.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(zipAes_hmac.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(zipAes_pwd2key.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(StringTable.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 ChilkatDbg.lib(ChilkatRc2.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8

At this point, I am at a loss as where to go with this. Any all suggestions appreciated. I'm about ready to re-install the previous version.

Thanks

Pete


Answer

I think the _RTC_CheckStackVars unresolved externals occur if you mismatch the VC++ version of the Chilkat libs with your application. For example, if your VC++ 8 application is trying to link against the Chilkat VC++ 6.0 libs.


Answer

Wow, totally overlooked the VC++ VERSION on the downloads page!!! That's what I get for trying to solve problems at 3am after 13hrs of programming!!!!

Thanks, I really appreciate it!!