Board index » cppbuilder » TWordApplication, TWordDocument and OleContainer
Sat, 21 May 2005 06:55:08 GMT
TWordApplication, TWordDocument and OleContainer
I'm trying to use the TWord* automation objects and embed my TWordDocument in an OleContainer. I found some Delphi examples, but after writing a C++ version, I get an "Incorrect Parameter" error on the call to "OleContainer->CreateObjectFromInfo(CrInfo);"
Any help would be appreciated!
OleVariant Template = EmptyParam;
// Create new document
// Turn Spell checking off because it takes a long time if enabled and slows down Winword
// Embed the WordDocument in the OleContainer }