Hello all,
I am trying to retrieve the impromptu version using the COM SDK. It works pretty well in VB:
Dim major As String
Dim minor As String
Dim build As String
res = objImpApp.GetAppVersionInfo(major, minor, build)
However I am having trouble doing the same thing in C/C++.
The profile of the function is:
long GetAppVersionInfo(const _variant_t& fmajor,const _variant_t& fminor,const _variant_t& fbuild);
I tried a couple of things like:
VARIANT major;
major.vt = VT_BSTR;
VariantInit(&major);
(same thing for minor and build)
long l = application->GetAppVersionInfo(major,minor,build);
But it keep throwing an exception.
Do you know the precise type of parameters I should use?
Any other ideas ?
cheers,
Olivier
I am trying to retrieve the impromptu version using the COM SDK. It works pretty well in VB:
Dim major As String
Dim minor As String
Dim build As String
res = objImpApp.GetAppVersionInfo(major, minor, build)
However I am having trouble doing the same thing in C/C++.
The profile of the function is:
long GetAppVersionInfo(const _variant_t& fmajor,const _variant_t& fminor,const _variant_t& fbuild);
I tried a couple of things like:
VARIANT major;
major.vt = VT_BSTR;
VariantInit(&major);
(same thing for minor and build)
long l = application->GetAppVersionInfo(major,minor,build);
But it keep throwing an exception.
Do you know the precise type of parameters I should use?
Any other ideas ?
cheers,
Olivier