Skip to main content



      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 05:49
Eclipse UserFriend
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: Wed Jul 16 10:14:15 EDT 2025

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

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

Back to the top