Results 1 to 2 of 2

Thread: compile error

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Location
    England
    Posts
    94

    compile error

    Hey guys when i try and compile a dll i get these error messages it compiles fine in debug mode but not in release mode.

    Any ideas cheers
    Peter

    Creating library ReleaseMinDependency/Software to Sign and Verify Files.lib and object ReleaseMinDependency/Software to Sign and Verify Files.exp
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CertOpenSystemStoreA@8
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CertEnumCertificatesInStore@8
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CertGetCertificateContextProperty@16
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptSignMessage@28
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptVerifyDetachedMessageSignature@32
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptGetMessageSignerCount@12
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgClose@4
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgGetParam@20
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgUpdate@16
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgOpenToDecode@24
    Crypto.obj : error LNK2001: unresolved external symbol __imp__CertNameToStrA@20
    ReleaseMinDependency/Software to Sign and Verify Files.dll : fatal error LNK1120: 12 unresolved externals
    Error executing link.exe.

    Software to Sign and Verify Files.dll - 13 error(s), 29 warning(s)
    "Let's all join forces, rule with an iron hand...and prove to all the world, metal rules the land..."
    -- Judas Priest

    My email is [email protected]

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    did you add an import library to the list? If yes, there's a good chance you only added it for debug build, so you have to add it for release build too.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width