Results 1 to 2 of 2

Thread: Calling a System32 file like advapi32.dll?

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Posts
    7

    Calling a System32 file like advapi32.dll?

    Im trying to call this dll in the system32 dir. but with know luck!!

    this is a web app the asp is calling MY GenCrypto.dll and it calles
    advapi32.dll

    error's like = "he system cannot find the file specified"

    or "dependencies missing for GenCrypto.dll"

    Sample code


    Private Declare Function CryptAcquireContext Lib "advapi32.dll" Alias "CryptAcquireContextW"(ByRef phProv As Integer, ByRef pszContainer As Byte, ByRef pszProvider As Byte, ByVal dwProvType As Integer, ByVal dwFlags As Integer) As Integer

    this code fails with "The system cannot find the file specified"

    what's missing, security, a link, to the oject, or am i just stupid?

    the same dll code has been built for an GenCrypto.dll (works fine) and the dll being called by the web app not working..

    Thanks

  2. #2

    Thread Starter
    New Member
    Join Date
    Apr 2003
    Posts
    7
    bump

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