M
mickeydisn
Hello .
I have many probleme whise Powerpoint.Application:
VARIANT x;
x.vt = VT_I4;
x.lVal = 0;
hr = AutoWrap(DISPATCH_PROPERTYPUT, NULL, this->main_app_, L"Visible",
1, x);
is error Invoke; why i can't make visible = false?
And in :
hr = AutoWrap (DISPATCH_METHOD, &varRetVal, this->Presentation_,
L"Open", 1, varg);
SysFreeString (varg.bstrVal);
if (!SUCCEEDED(hr))
return -1;
pres = varRetVal.pdispVal;
hr = AutoWrap (DISPATCH_METHOD, &varRetVal, pres, L"Slides", 0);
if (SUCCEEDED(hr))
{
slides = varRetVal.pdispVal;
this->scan_ppt_slides(slides);
slides->Release();
}
Error Invoke: Slided . why i can't open slide to presente
I have many probleme whise Powerpoint.Application:
VARIANT x;
x.vt = VT_I4;
x.lVal = 0;
hr = AutoWrap(DISPATCH_PROPERTYPUT, NULL, this->main_app_, L"Visible",
1, x);
is error Invoke; why i can't make visible = false?
And in :
hr = AutoWrap (DISPATCH_METHOD, &varRetVal, this->Presentation_,
L"Open", 1, varg);
SysFreeString (varg.bstrVal);
if (!SUCCEEDED(hr))
return -1;
pres = varRetVal.pdispVal;
hr = AutoWrap (DISPATCH_METHOD, &varRetVal, pres, L"Slides", 0);
if (SUCCEEDED(hr))
{
slides = varRetVal.pdispVal;
this->scan_ppt_slides(slides);
slides->Release();
}
Error Invoke: Slided . why i can't open slide to presente