Announcement

Collapse
No announcement yet.

DAEMON Tools API Doc 3.16 and DaemonMountEx

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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!

    Comment


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

      Comment


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

        Comment


        • #5
          that did the trick. thanks.

          Comment

          Working...
          X