Showing results 1 to 5 of 5

Thread: DAEMON Tools API Doc 3.16 and DaemonMountEx

  1. #1
    New User
    Join Date
    22.11.2002
    Posts
    5

    Default DAEMON Tools API Doc 3.16 and DaemonMountEx

    i recently received DAEMON Tools API Doc 3.16.zip. i'm calling DaemonMountEx with no success. the exe code parses the command line and calls DaemonMountEx. the parameters that i am passing are the following:

    DaemonMountEx(0, "drive\directory\iso image", 512 error buffer, &BufSize)

    the error status returned is -1. even if i build the exe with hard coded values the call fails.

    daemon is set to use four drives, with daemon.exe the mount works.

    what i am doing wrong?

  2. #2

    Default

    There must be no space between the device number and the image file name, i.e.: DaemonMountEx(0,"drive\directory\iso image) ...
    Everybody be cool! You, be cool!
    They'll keep fighting! And they'll win!

  3. #3
    New User
    Join Date
    22.11.2002
    Posts
    5

    Default

    i'm building an exe. i assume that pre-processing strips white spaces.

  4. #4
    Administrator



    Join Date
    06.11.2002
    Posts
    2,044

    Default

    Before calling any other function from DLL make sure you call DaemonGetVersion.

  5. #5
    New User
    Join Date
    22.11.2002
    Posts
    5

    Default

    that did the trick. thanks.

Bookmarks

Posting Rules

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