Hi!
Working on a installer for a web app in VS2010 that uses RealDWG 2013. The RealDWG part of the documentation made me a bit confused as it says that it has dependencies on the 2008 version of the MFC and C++ Runtime, see attachment.
Does RealDWG depend on both the 2008 and 2010 versions of the MFC and C++ Runtime? If so could not this create problems(memory leaks, crashes etc) if different components uses different versions?
Thanks,
Niclas
IMHO it is a typo in documentation. RealDWG 2013 depend on only VS 2010 SP1.
Відповідь корисна? Клікніть на "ВПОДОБАЙКУ" цім повідомленням! | Do you find the posts helpful? "LIKE" these posts!
Находите сообщения полезными? Поставьте "НРАВИТСЯ" этим сообщениям!
На ваше запитання відповіли? Натисніть кнопку "ПРИЙНЯТИ РІШЕННЯ" | Have your question been answered successfully? Click "ACCEPT SOLUTION" button.
На ваш вопрос успешно ответили? Нажмите кнопку "УТВЕРДИТЬ РЕШЕНИЕ"
Alexander Rivilis / Александр Ривилис / Олександр Рівіліс
Programmer & Teacher & Helper / Программист - Учитель - Помощник / Програміст - вчитель - помічник
Facebook | Twitter | LinkedIn
Played around a bit with this and it actually seem that RealDWG has a dependancy to VC++ 2008 runtimes!?
Using a clean win7x64 test env. (with the .NET framework 4.0 and VC++ 2010 64 redisributable installed) I ran a web app test installer that contained should deploy a simple webservice using RealDWG. Almost all RealDWG components were included (except the XXXPolygonXXX merge modules as one or more of them contained the same files so I removed them all).
When trying to browse the webapp the following error message displays:
Could not load file or assembly 'acdbmgd.dll' or one of its dependencies. The specified module could not be found.
The Event viewer gives the following information:
Activation context generation failed for "c:\inetpub\wwwroot\websetuptest\ACDB19.DLL". Dependent Assembly Microsoft.VC90.OpenMP,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.
This is confirmed by Dependency walker (acdbmgd.dll):
Error: The Side-by-Side configuration information for "c:\inetpub\wwwroot\websetuptest\ACDB19.DLL" contains errors. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail (14001).
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
I think the warning is irrelevant (IEFRAME.DLL is marked red with an hour-glass)
And also by looking at a sxstrace log:
================= Begin Activation Context Generation. Input Parameter: Flags = 0 ProcessorArchitecture = AMD64 CultureFallBacks = en-US;en ManifestPath = c:\inetpub\wwwroot\websetuptest\ACDB19.DLL AssemblyDirectory = c:\inetpub\wwwroot\websetuptest\ Application Config File = ----------------- INFO: Parsing Manifest File c:\inetpub\wwwroot\websetuptest\ACDB19.DLL. INFO: Manifest Definition Identity is (null). INFO: Reference: Microsoft.Windows.Common-Controls,language="*",processorArchitecture="amd64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0" INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" INFO: Reference: Microsoft.VC90.OpenMP,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" INFO: Resolving reference Microsoft.Windows.Common-Controls,language="*",processorArchitecture="amd64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.0.0". INFO: Resolving reference for ProcessorArchitecture amd64. INFO: Resolving reference for culture en-US. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.Windows.Common-Controls\6.0.0.0_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.MANIFEST. INFO: Did not find manifest for culture en-US. INFO: End assembly probing. INFO: Resolving reference for culture en. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.Windows.Common-Controls\6.0.0.0_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls\Microsoft.Windows.Common-Controls.MANIFEST. INFO: Did not find manifest for culture en. INFO: End assembly probing. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: Auto Servicing Policy redirected assembly version. INFO: Post policy assembly identity is Microsoft.Windows.Common-Controls,processorArchitecture="amd64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.7601.17514". INFO: Begin assembly probing. INFO: Attempt to probe manifest at C:\Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac.manifest. INFO: Manifest found at C:\Windows\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac.manifest. INFO: End assembly probing. INFO: Resolving reference Microsoft.Windows.Common-Controls.mui,language="*",processorArchitecture="amd64",publicKeyToken="6595b64144ccf1df",type="win32",version="6.0.7601.17514". INFO: Resolving reference for ProcessorArchitecture amd64. INFO: Resolving reference for culture en-US. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.Windows.Common-Controls.mui\6.0.7601.17514_en-US_6595b64144ccf1df\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.mui.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.mui\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.Windows.Common-Controls.mui\Microsoft.Windows.Common-Controls.mui.MANIFEST. INFO: Did not find manifest for culture en-US. INFO: End assembly probing. INFO: Resolving reference for culture en. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.Windows.Common-Controls.mui\6.0.7601.17514_en_6595b64144ccf1df\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.mui.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.mui\Microsoft.Windows.Common-Controls.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.Windows.Common-Controls.mui\Microsoft.Windows.Common-Controls.mui.MANIFEST. INFO: Did not find manifest for culture en. INFO: End assembly probing. INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". INFO: Resolving reference for ProcessorArchitecture amd64. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: Find publisher policy at C:\Windows\WinSxS\manifests\amd64_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_acd19a1fe1da248a.manifest INFO: Publisher Policy redirected assembly version. INFO: Post policy assembly identity is Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4940". INFO: Begin assembly probing. INFO: Attempt to probe manifest at C:\Windows\WinSxS\manifests\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c.manifest. INFO: Manifest found at C:\Windows\WinSxS\manifests\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c.manifest. INFO: End assembly probing. INFO: Resolving reference Microsoft.VC90.CRT.mui,language="*",processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4940". INFO: Resolving reference for ProcessorArchitecture amd64. INFO: Resolving reference for culture en-US. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT.mui\9.0.30729.4940_en-US_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.VC90.CRT.mui.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en-US\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.MANIFEST. INFO: Did not find manifest for culture en-US. INFO: End assembly probing. INFO: Resolving reference for culture en. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT.mui\9.0.30729.4940_en_1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.VC90.CRT.mui.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\en\Microsoft.VC90.CRT.mui\Microsoft.VC90.CRT.mui.MANIFEST. INFO: Did not find manifest for culture en. INFO: End assembly probing. INFO: Resolving reference Microsoft.VC90.OpenMP,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". INFO: Resolving reference for ProcessorArchitecture amd64. INFO: Resolving reference for culture Neutral. INFO: Applying Binding Policy. INFO: No publisher policy found. INFO: No binding policy redirect found. INFO: Begin assembly probing. INFO: Did not find the assembly in WinSxS. INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.OpenMP\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.OpenMP.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\Microsoft.VC90.OpenMP.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\Microsoft.VC90.OpenMP.MANIFEST. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\Microsoft.VC90.OpenMP\Microsoft.VC90.OpenMP.DLL. INFO: Attempt to probe manifest at c:\inetpub\wwwroot\websetuptest\Microsoft.VC90.OpenMP\Microsoft.VC90.OpenMP.MANIFEST. INFO: Did not find manifest for culture Neutral. INFO: End assembly probing. ERROR: Cannot resolve reference Microsoft.VC90.OpenMP,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8". ERROR: Activation Context generation failed. End Activation Context Generation.
I cannot see that I would get this error message if there really was no dependancy in RealDWG 2013(at least the ACDB19.DLL) to the 2008 runtimes.
I did not notice this on my development environment, where my app runs fine, as I have both the 2008 and 2010 runtimes installed. Next step is probably to check if it would be possible/better to create a realDWG 2013 host app using VS2008, but then there might be other parts of RealDWG that actually uses VC2010...
BR,
Niclas