Hello,
I encounter a problem with the Thread library. The library works fine when I use it in a .exe project. It means it has been correctly built. Then I try to use
the same library in an DLL project (so as to build a XLL object thanks to the XLW library). But as soon as I add the line
#include <boost/thread.hpp>
to my project, even if it compile without any problem, I get the following message when I debug my project through Excel:
The file you are trying to open, “mylibrary.xll” is in a different format than specified by the file extension, Verify that the file is not corrupted […]. Do
you want to open the file now?
And I can no more use my C++ functions in Excel. Do you have already encounter this problem?
I use VS2010. I have tried both Multi-threaded Debug DLL (/MDd) and Multi-threaded DLL (/MD) options. My solution includes two other static libraries and also
with the classic RunInterfaceGenerator XLW-project (the one which is executed when debugging).
Regards,
Pierre