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?