000014695 - Compile/link agent application that uses AceSetTimeout function

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000014695
Applies ToMicrosoft Visual Studio 2005
ACE/Agent Auth SDK 6.1
IssueCompile/link agent application that uses AceSetTimeout function

error LNK2019: unresolved external symbol _AceSetTimeout@16 referenced in...

CauseVisual Studio 2005 defines type time_t as 64 bits by default (2nd parameter to function AceSetTimeout).  The aceclnt.lib expects three parameters all of size 32 bits.
ResolutionDefine _USE_32BIT_TIME_T in your VS 2005 environment to force the time_t to be the "old" 32 bit size.
NotesReference http://msdn.microsoft.com/en-us/library/4ey61ayt%28VS.80%29.aspx
Legacy Article IDa47070

Attachments

    Outcomes