COM Interface oddity

P

Peter Katsoulas

We have an application written in C++ under VS 2008 using CLR. It has

feature which uses a COM interface to pass data to MS Project 200
Professional. If Project 2007 SP2 is installed and only if SP2 i
installed, the COM error -2147219988 is produced.

The Microsoft expalnation is:

Couldn't Backup Destination SysDataUpgrade Procedure...TERMINATED"Thi
error occurs when upgrading through the install in the InstallAssist.Lo
orif you are running the InstallAssist from the exe.

This COM error comes from the following call to the MS Projec
interface. The
instance ( SPRMPDFile::GetMSProjectApplication()) of MS Project appear

correct. I agree that this error makes no sense.

SPRMPDFile::GetMSProjectApplication()->FileOpen
(
(_bstr_t) m_strXMLPathName,
nullVariant, // not readOnly
(long)MSProject::pjDoNotMerge, // merge flag
nullVariant, // taskInformation
nullVariant, // table
nullVariant, // sheet
nullVariant, // noAuto
nullVariant, // UserID
nullVariant, // DatabasePassWord
_T("MSProject.XML"), // formatID for XML file
nullVariant, // map
MSProject::pjPoolReadOnly // PjPoolOpen
);

Does anyone have any ideas? Is this an MS Project 2007 SP2 problem
 
M

Mike Glen

Hi Peter,

Try posting on the microsoft.public.project.developer newsgroup (forum).
Please see FAQ Item: 24. Project Newsgroups. FAQs, companion products and
other useful Project information can be seen at this web address:
http://project.mvps.org/faqs.htm

Mike Glen
Project MVP
 

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