GetItem method - WeOnlyDo Discussion board

GetItem method (wodFtpDLX / wodFtpDLX.NET)

by Oleg, Wednesday, August 22, 2007, 03:38 (6304 days ago)

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?


Complete thread: