Hello
We've compiled the following code against VDDK 5 U1, 5.1 and 5.1.1 on Windows as x32 application.
int main(int argc, char *argv[]) { VixError ret; char *msg = NULL; if(VIX_OK != (ret = VixDiskLib_InitEx(1, 1, m_logfunc, m_warnfunc, m_panicfunc, "libdir", "config.vddk"))) { cout << "VixDiskLib_InitEx" << endl; return ret; } VixDiskLib_Exit(); cout << "\nRETURN 42" << endl; return 42; }
In case using VDDK 5 and it's dll's the application is returning 42 as expected.
In case using 5.1 and above, the application is returning 0 most of the times.
The problem arises in case the diskLibPlugin.dll can be found and is beeing initialized.
In this case the application will return 0.
If the dll isn't available and cannot be initialized, the return code will be the expected 42.
Any hints how to resolve this issue?
Regards