com - Adding chart in PowerPoint using C++ OLE automation -
i've encountered problem when tried add chart powerpoint in c++
autowrap(dispatch_method, null, pshapes, l"addchart", 0);
it throws "0x80020009 exception occured" error. code works addtable, addtextbox etc.
i think you'll find here: http://support.microsoft.com/kb/222960
note: not functions available in office available through ole in c++. addchart may not supported. if can, @ using com call managed dll. much easier. full support when add references powerpoint in .net.
mdsn interop documentation: http://msdn.microsoft.com/en-us/library/ms173184.aspx
Comments
Post a Comment