GetItem method (wodFtpDLX / wodFtpDLX.NET)
Can't get to work GetItem method. VC++ code is:
IDirItem DirItem;
VARIANT var;
var.vt = VT_INT;
var.intVal = 0;
DirItem = DirItems.GetItem(var);
It course COleDispatchException with empty discription information.
But if I use:
VARIANT var;
var.vt = VT_BSTR;
var.bstrVal = _T( testfile );
DirItem = DirItems.GetItem(var);
It is working. What can be the problem?