Posted on 2001-06-13
I am using an automation component which was developed by someone else?
After importing the corresponding *.tlb file,
the complier will genearte one *.tlh file which contain the following code!
HRESULT IFnVersionableDual::Checkout ( BSTR * CheckoutPath, _bstr_t Directory, _bstr_t FileName, const _variant_t & Options );
When I use the Checkout method,
I want to know how can I enter the paramter correctly.
I have tried this:
MyObject->Checkout("c:\\test.txt", "c:\\", "test.txt");
But it cannot be complied
The erros is cannot convert parameter 1 from 'char ' to 'unsigned short ** '.
How can I correct this problem?