none
msvcr80.dll

    Question

  • 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 !
     
    Friday, February 17, 2006 1:36 PM

Answers

All replies

  • 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

    Friday, February 17, 2006 4:44 PM
  • 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
    Friday, February 17, 2006 6:45 PM
  • 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


    Saturday, February 18, 2006 1:52 PM
  • Did you try registering the binary without moving msvcr80.dll from its original location?

    Thanks,
    Ayman Shoukry
    VC++ Team
    Saturday, February 18, 2006 6:32 PM
  • 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"
    Monday, February 20, 2006 8:39 AM
  •  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 !
     
    Thursday, November 16, 2006 10:50 AM
  • 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?
    Tuesday, January 23, 2007 2:25 PM
  • Anyone?

    Please?

     

    This is driving me insane..

     

     

    Wednesday, May 02, 2007 10:04 PM
  • 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...

     

     

    Thursday, May 03, 2007 4:18 PM
  • Have a truble in MSVCR80.dll 
    log :
    Soulstorm.exe caused an Access Violation in module MSVCR80.dll at 001b:781455cb.
    Error occurred at 6/30/2008 23:42:24.
    Soulstorm.exe, run by Administrator.
    Microsoft Windows XP?.
    1 processor(s), type 586.
    1536 MBytes physical memory.
    Read from location 2040fffc caused an access violation.

    MiniDump saved to file 'G:\Games\Dow-Storm\6-30-2008_23_42_24_MiniDump.dmp'

    Registers:
    EAX=00000000 CS=001b EIP=781455cb EFLGS=00210606
    EBX=0d6ade38 SS=0023 ESP=0189fd5c EBP=0189fd64
    ECX=04b5834e DS=0023 ESI=2040fffc FS=003b
    EDX=00000000 ES=0023 EDI=33170d54 GS=0000
    Bytes at CS:EIP:
    f3 a5 fc ff 24 95 a0 56 14 78 8d 49 00 8a 46 03

    Call Stack:
    0x781455CB: memmove (C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\MSVCR80.dll)
    0x00404661: GMatrix2D::Swap (G:\Games\Dow-Storm\Soulstorm.exe)



    How i can fix it?
    Tuesday, July 01, 2008 4:50 AM
  • By fixing the bug in Soulstorm.exe. This has nothing to do with MSVCR80.dll per se.
    Tuesday, July 01, 2008 6:33 AM