Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

In the samples given on microsoft s

Status
Not open for further replies.

rackit

Technical User
Oct 2, 2002
10
US
In the samples given on microsoft support (Q178749: HOWTO Create automation projects using MFC and a type library) The instructions are to select Microsoft Excel Object Library if were using excel automation.

But, what if I'm working from home and don't have the objects on my home pc when compiling the code, VC++ 6.0.

How can I get passed this without having to go to the office to do the selection of these objects and compiling the program??
 
With VBA, it can be accomplished with "late binding", and I assume you can do the same thing with VC++. Basically, you define things as generic objects and call functions that are presumed to exist. The disadvantage to doing this is that you don't have intellisense drop-downs, and you never know if things will blow up until you run the program.

Anyway, do a google search for "late binding" and C++ if no one else offers better advice.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top