"Carl Daniel [VC++ MVP]" wrote:
Off hand, this seems very likely to be a problem with manifests -
lack thereof or incorrect content in some manifest.
Does the boost threads DLL include a manifest? Does your application
include a manifest? What do those manifests say?
-cd
The boost libraries I'm using are static .lib files - do these contain
manifests? I searched the boost source and didn't find any manfiest
files. If they do include a manifest it must be automatically
generated.
My application does not explicitly include a manifest. It consists of
a single .cpp file. The build output does say 'Embedding
manifest...' which I assume means it's using an automatically
generated manifest. Turning that option off doesn't fix the problem.
I can fix the problem by removing the /clr option while still using
the automatically generated manifest.
Hmm.. last I knew, Boost::threads needed a DLL, which is why I suspect
manifest problems, but perhaps that's not the issue.