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 !

msvcr80.dll
MikeW
Did you try registering the binary without moving msvcr80.dll from its original location
Thanks, Ayman Shoukry VC++ Teamdomls
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++ TeamTodder
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
Debra Dove - MSFT
miles2t17
Anyone
Please
This is driving me insane..
Ruiner1111
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
<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>
"