S
SK
Hi.
I want to open an manipulate some Visio documents from my application,
but I don"t want that the Visio Window shows up. Is this possible? I
already tried to create the Application Object in process, but that
does not seem to work:
Visio::IVApplicationPtr app;
if (FAILED(app.CreateInstance(__uuidof(Visio::Application), NULL,
CLSCTX_INPROC))) {
std::cout << GetLastError();
} else {
std::cout << "OK";
}
Gives 14007 as an error.
Any other ideas?
Thank you!
I want to open an manipulate some Visio documents from my application,
but I don"t want that the Visio Window shows up. Is this possible? I
already tried to create the Application Object in process, but that
does not seem to work:
Visio::IVApplicationPtr app;
if (FAILED(app.CreateInstance(__uuidof(Visio::Application), NULL,
CLSCTX_INPROC))) {
std::cout << GetLastError();
} else {
std::cout << "OK";
}
Gives 14007 as an error.
Any other ideas?
Thank you!