Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Linker issues when trying to build Autowrap (Excel Automation)(Trying to read from and write to Excel cells using Autowrap. Linker errors on example code)
Linker issues when trying to build Autowrap (Excel Automation) [message #1852256] Fri, 06 May 2022 09:49
Mark Walker is currently offline Mark WalkerFriend
Messages: 2
Registered: February 2022
Junior Member
Trying to read from cells and write to cells in excel spreadsheet. I had been using Autowrap which uses COM.
I have used in the past with another C++ compiler but want to use it with Eclipse c++ (Msys2/Mingw64) under Windows 11.
I am trying initially to run the example from Microsoft and with the ole2 include, the program compiles fine but I get a number of linker errors. They are all undefined references.
The issue may be related to static vs dynamic linking.
Viz
undefined reference to `__imp_CoCreateInstance'
The others are similar.

I don't know how to move forward with this and I am having difficulty understanding things which I have read about what may be the issue.

Would some kind sole help me to move forward.

I'm of limited knowledge about much of what I'm trying to do so please assume that I am a "bear of very little brain" - Pooh Bear.

Many thanks in advance
Previous Topic:about how to package the cdt build result
Next Topic:Best mini electric skateboard that you are looking for
Goto Forum:
  


Current Time: Thu Apr 18 11:25:08 GMT 2024

Powered by FUDForum. Page generated in 0.02599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top