Prev: Strange error, "LNK2005: already defined??"
Next: CComVariant::ReadFromStream: Function does not take 2 arguments
From: mike7411 on 5 Jan 2007 16:55 I noticed that, if I compile a regular C++ DLL in Visual Studio 2005 and try to load it with LoadLibrary in VC++ 6.0, the LoadLibrary call fails. GetLastError returns 14001, which is: ERROR_SXS_CANT_GEN_ACTCTX 14001 This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. Any ideas why this happens? Thanks.
From: Ben Voigt on 5 Jan 2007 18:03
<mike7411(a)gmail.com> wrote in message news:1168034101.719615.86240(a)42g2000cwt.googlegroups.com... >I noticed that, if I compile a regular C++ DLL in Visual Studio 2005 > and try to load it with LoadLibrary in VC++ 6.0, the LoadLibrary call > fails. > > GetLastError returns 14001, which is: > > ERROR_SXS_CANT_GEN_ACTCTX > 14001 This application has failed to start because the application > configuration is incorrect. Reinstalling the application may fix this > problem. > > Any ideas why this happens? Are you dynamically linking to the CRT library? If so, you'll need a manifest and correct installation of the CRT in the WinSXS directory structure. > > Thanks. > |