Jump to content

ivp

Members
  • Content Count

    9
  • Joined

  • Last visited

Posts posted by ivp


  1. Hi.

    Can you help me?

    I can't compile samples on CB2009.

     

    Here is steps:

    • I have installed OverbyteIcsV8.61 from .\Install\CB2009Install.groupproj 
    • Added to Include Path folder .\Lib\Debug\Win32\D2009
    • Open the sample project:
      .\Samples\cpp\Internet\CB2009\OverbyteIcsHttpTst.cbproj
    • Project -> Build
    • Got error
      [BCC32 Fatal Error] sspi.h(61): F1003 Error directive: You must define one of SECURITY_WIN32, SECURITY_KERNEL, or 
    • Add SECURITY_WIN32 to project:
      Project -> Options -> C++ Compiler -> Directories and Conditondls -> Conditional defines
      Add SECURITY_WIN32
    • Project -> Build
    • Got strange error:
    [BCC32 Error] Overbyteicssspi.hpp(87): E2293 ) expected

    It is in the .\Lib\Debug\Win32\D2009\OverbyteIcsSspi.hpp:

    ...
    //-- var, const, procedure ---------------------------------------------------
    static const unsigned SEC_E_INVALID_HANDLE = 0x80090301;      // <---- It is the line with error
    ...

     

    The same situation with other projects:

    • .\Samples\cpp\Internet\CB2009\OverbyteIcsWebServ.cbproj
    • .\Samples\cpp\Internet\CB2009\OverbyteIcsHttpPg.cbproj
    • .\Samples\cpp\Internet\CB2009\OverbyteIcsHttpsTst.cbproj

     

    How it can be fixed?


  2. Thanks, it helped.

     

    Details:

    I have added crypt32.lib.

    Most of the errors are disappeared, but I have got:

    [ILINK32 Error] Error: Unresolved external 'CryptUIDlgViewCertificateW' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ

    After some researching I have found that I need cryptui.lib.

     

    So I added two lib files to the project:

    "C:\Program Files (x86)\CodeGear\RAD Studio\6.0\lib\psdk\crypt32.lib" 
    "C:\Program Files (x86)\CodeGear\RAD Studio\6.0\lib\psdk\cryptui.lib" 

     

    And OverbyteIcs installed successfully. 

     

    Thanks again ))

     


  3. Hi.

     

    I'm trying to install OverbyteIcsV8.61 on C++ Builder 2009.

    - Opening CB2009Install.groupproj.

    OverbyteIcsCB2009Run.cbproj -> Build

     

    As the result I have a lot of linking errors:

    [ILINK32 Error] Error: Unresolved external 'CertFreeCertificateChainEngine' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertFreeCertificateContext' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertCloseStore' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertOpenSystemStoreW' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertCreateCertificateChainEngine' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertOpenStore' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertFindCertificateInStore' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertAddCertificateContextToStore' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertCreateCertificateContext' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertGetCertificateChain' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CertFreeCertificateChain' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ
    [ILINK32 Error] Error: Unresolved external 'CryptUIDlgViewCertificateW' referenced from D:\COMPONENTS\CG2009\OVERBYTEICSV8.61\LIB\DEBUG\WIN32\D2009\OVERBYTEICSMSSSLUTILS.OBJ

     

    What am I doing wrong?

×