Results 1 to 6 of 6

Thread: "File Not Found" error when calling an external DLL

Threaded View

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    1

    "File Not Found" error when calling an external DLL

    I'm calling an external function from a DLL called verywrite.dll using the following line:

    Private Declare Function VeryCreate Lib "verywrite.dll" (ByVal lpFileName As String) As Long

    When running the script, the code breaks on "id = VeryCreate(szPDFFilename)" with the error "File not found". I have placed the verywrite.dll file (which contains the verycreate function) within the same directory of the Access Database I'm running. I have also tried placing it in system32 with no luck. The last thing I tried is the full path name to the file instead of just calling verywrite.dll in the declaration. Any ideas as to what I'm doing wrong or how to do this better? Thanks in advance!
    Last edited by jimithing1980; Dec 27th, 2006 at 01:31 PM.

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