By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,938 Members | 1,584 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,938 IT Pros & Developers. It's quick & easy.

Help on Excel and managed C++

P: n/a
jdu
Hi,

I try to launch Excel in Managed C++. To do that I Write the following code:

Interop::Excel::Application* oExcelApp;

oExcelApp = dynamic_cast<Interop::Excel::Application *>(new
ApplicationClass());

oExcelApp->Visible = true;

This is working on my own computer but when I install this application on an
another computer (Using the same version of Excel) it doesn't work. the
following error apear :

QueryInterface for interface Interop.Excel._Application failed

What can I do to solve my problem.

Thanks


Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.