C++ automation MS Project

M

Mark

I am trying to use the MS Project API inside my c++ mfc code. At the moment
I can use any property off the activeproject but when i retrieve any
collection from the activeproject I get an access denied issue.

I have searched the net for anyone who has experienced using MS Project
inside c++ code but cannot find anything. I did find a posting from someone
who is experiencing the same problem as me though but there was no reply.

Any direction on this one would be most hopeful.

link to posting
http://www.talkaboutsoftware.com/group/microsoft.public.vc.mfcole/messages/27308.html


Thanks
 
M

Mark

Thanks Rod for your reply but we already use vb to do this. The reason why
we want to do this work in C++ is because our core product is written in this
language and so it will speed things up in our program.

It must be possible as I am so close to making it work. Its just these
collections that are causing the problem. Someone at microsoft must know the
answer :)

Mark
 
S

Scudder

Mark, unless you are planning to do some massive number crunching with the
project data ~ such as Monte Carlo farm. I do not see you gaining any
advantage by using C++ for MS Project interop since by far the greatest
latency will be introduced by MS Project and it's COM object model anyway.

I've coded a couple of test frames in the past for areas where I thought
process times would be much improved by C++ but have yet to see any
significant performance gains.

C++ interop is also designed for those who like their pain in bright blue.
 
M

Mark

Would it be possible for you to send some of these test frames or did you
ever experience the same problem I am experiencing it and solve it?

Regards

Mark
 
K

Koen Verwimp

Hey Rod, Mark,

I have to link our existing ERP-software (written in unmanaged C++) and
Project 2007.
Could you help me with this problem?

thanks
 

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