Results 1 to 2 of 2

Thread: C++ DLL\VB Problem

  1. #1

    Thread Starter
    Lively Member trip85's Avatar
    Join Date
    Jun 2000
    Location
    Chalfont, PA
    Posts
    106

    C++ DLL\VB Problem

    Hello Everyone-

    I have a VB program which calls a C++ DLL. I have recently tryed to deploy my program and have run into some problems. I have made an install program using both InstallShield and VB's Package and Deployment Wizard. Both of them are giving me the same results. When I install and run the program on my machine it works great, no problems at all.

    When I install it on other machines and try to run it I run into a lot of problems when the C++ DLL is called. Essentially the Dll is creating and writing to a file. When it tries to accomplish this the DLL returns the C++ Errno Code 2 which translates into: "No such file or directory." I don't understand why it would work on my machine but not on other machines. The directory that it trying to create and write the file on is constant.

    If anybody can help me I would greatly appreciate it. Please let me know if more info is needed.
    Thanks in Advance!
    TRIP85

    In the game of life, it's not whether you win or lose, it's how drunk you get.
    -Homer Simpson

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The directory that it trying to create and write the file on is constant.
    That sounds bad What directory is it?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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