Re: Problems with boost::threads and C++/CLI using VS 2005 SP1 Beta



John Dunn wrote:
If I link my /clr application to the boost::thread library when using
the new SP1 I get the following error when running my application

The application failed to initialize properly (0xc000007b). Click
on OK to terminate the application.

If I run it in the debugger it gives the same error and never breaks
into something I can step through.

This worked fine pre-SP1 so I'm guessing something's changed. I have
made sure that I've recompiled the boost libraries afer SP1. I've
posted to the boost newsgroup and they've said they're not doing
anything 'CLI hostile' and they would expect it to work.

Is this the proper place to report issues with the service pack?
Here's a simple example which will fail when compiled with /clr. Note
that including the boost::thread header automatically links with the
library.

#include <boost/thread/thread.hpp>
int main( int argc, const char* * argv ) {
return 1;
}

Any help would be appreciated.

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


.



Relevant Pages

  • Re: A DLL gone bad ?
    ... version is equal to or higher than what's listed in the manifest. ... Do the file versions between the two machines match? ... MDAC 2.8 SP1 MDAC_TYP.exe file on a computer that is running Windows ...
    (microsoft.public.vb.general.discussion)
  • Re: VC8-SP1 MS Update und "The system cannot execute the specified program."
    ... Du meinst damit also "wenn in dem Binary meiner Applikation (auf ... SP1 natuerlich nicht nochmal gebaut. ... Wenn Linker/Manifest File/Generate Manifest auf Yes steht, ... Applikation nicht mehr nach der SP1 CRT, ...
    (microsoft.public.de.vc)
  • Application Crash on Vista, Visual C++ 2005 SP1 (non-SP1 works)
    ... Compile application with VS 2005 SP1 and add the trustinfo ... manifest files to a directory, ... Install the vc redist package on Vista, ...
    (microsoft.public.vstudio.general)
  • Re: Nochmal. Software + Manifeste
    ... Wenn wir das Redistributable ... Software mit VC2005 SP1 erstellt braucht bene auch diese Redistributables! ... Was hat das mit externen Manifesten zu tun! ... Du musst nur die Manifest Dateien manipulieren und kannst Sie dann wieder als Ressource hinzufügen. ...
    (microsoft.public.de.vc)
  • Re: Problems with boost::threads and C++/CLI using VS 2005 SP1 Bet
    ... Does the boost threads DLL include a manifest? ... Turning that option off doesn't fix the problem. ...
    (microsoft.public.vc.language)