Extract text of power point

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top