Parameter incorrect - corrupt mixed mode image? RRS feed

  • Question

  • After almost two days of linking problems I've managed to make my application link and now when I try to execute it I get a message box with the error "The parameter is incorrect". It looks like Windows doesn't even try to load the exe.
    What could be causing this? It is a mixer mode exe with a few cpp files compiled with /clrSurpriseldSyntax. I've linked it with msvcrt.lib, msvcmrt.lib, MSVCPRT.LIB and mscoree.lib. If I remove mscoree.lib I get an unresolved external __CorExeMain@0. This used to work with VS .Net 2003.


    Monday, April 25, 2005 11:29 PM


  • I asked a developer on my team if this issue looked familiar. He wants to know if your application has a manifest. Visual C++ 2005 now requires an application to build with a manifest to use the C-runtime library. The product documentation has a great deal of information about this subject if you're not familiar with it.

    Thursday, May 26, 2005 11:36 PM