msvcr80.dll

i have a Com DLL project that is created on VC++ 2003 .i have converted this project to VC++ 2005 project.this project is running on VC++ 7.1 fine but when i compile on the VC++ 8.0 i get this error message;"LoadLibrary("project.ocx") is failed;specified module could not be found"
then i have copied the MSVCR80.dll from "x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd" to "project Directory\debug" location.then i try to register using regsvr32.exe i get this message
"Runtime Error
program: c:\Windows\system32\regsvr32.exe
R6034
An application has made attemt to load the c runtime library incorrectly.Please contact the application's support team for more information"
can anybody help me please !



Answer this question

msvcr80.dll

  • MikeW

    Did you try registering the binary without moving msvcr80.dll from its original location

    Thanks,
    Ayman Shoukry
    VC++ Team


  • domls

    Hi Ahmet,

    VC2005, you need to embed the manifest info in your dll (binary) to be able to find the CRT at runtime. http://msdn2.microsoft.com/en-us/library/ms235285.aspx contains more details.

    As for the second error, it simly tells you that you need to load the CRT dlls from the SxS directory. http://msdn2.microsoft.com/en-US/library/ms235560(VS.80).aspx should have more details.

    Hope this helps!

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Todder

    Ahmet,

    This forum is for questions on Visual Studio Team Edition for Software Developers. I'll move this thread to the C++ specific forum where it can be better answered.

    Thanks,

    Ian



  • Blinky

    Yes ;i did.but i get this error message:                        loadlibrary("project.ocx") is failed;specified modul could not be found"
     
    When the Project.ocx file open  with Dependency Walker ,Dependency Walker can not found "MVCR80.dll" and "MSJAVA.DLL"


  • Debra Dove - MSFT

    We too are getting the "R6034 - An application has made an attempt to load the C runtime libraries incorrectly." error when attempting to run regsvr32 against our OCX files. We have put mfc80.dll, msvcr80.dll, and msvcp80.dll into the path and have linked with the manifest flags. Still the problem occurs. Did you ever find a solution to this
  • miles2t17

    Anyone

    Please

    This is driving me insane..


  • Ruiner1111

    Ahmet CAN wrote:
    i have a Com DLL project that is created on VC++ 2003 .i have converted this project to VC++ 2005 project.this project is running on VC++ 7.1 fine but when i compile on the VC++ 8.0 i get this error message;"LoadLibrary("project.ocx") is failed;specified module could not be found"
    then i have copied the MSVCR80.dll from "x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd" to "project Directory\debug" location.then i try to register using regsvr32.exe i get this message
    "Runtime Error
    program: c:\Windows\system32\regsvr32.exe
    R6034
    An application has made attemt to load the c runtime library incorrectly.Please contact the application's support team for more information"
    can anybody help me please !

  • Terry Sullivan

    If it helps anyone, i fixed this by adding msvcrt.lib to the list of libraries to ignore.

    i.e. Under theprojects ConfigurationProperties->C/C++->Linker->Input, under IgnoreSpecificLibrary i added msvcrt.lib.

    I saw this on another thread....

    Unfortunately i don't understand why this should fix it...


  • Stavros Makridis

    this project already have a manifest file on the "Project\debug\" directory(project.ocx.intermediate.manifest) and its embedded on Project.ocx (Manifest Tool>input and output>Embed Manifest=true). the Manifest file
    "< xml version='1.0' encoding='UTF-8' standalone='yes' >
    <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
    <dependency>
    <dependentAssembly>
    <assemblyIdentity type='win32' name='Microsoft.VC80.DebugCRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
    </dependentAssembly>
    </dependency>
    <dependency>
    <dependentAssembly>
    <assemblyIdentity type='win32' name='Microsoft.VC80.DebugMFC' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
    </dependentAssembly>
    </dependency>
    </assembly>
    "
    when i create the new Com dll project ;it is running fine;but that old version Project (converted VC2003 to 2005) is not
    thanks




  • msvcr80.dll