[quote=“cstrato”]… this may be a chance (for me) to understand the behavior on WinXP vs Vista.
[/quote]My advice was - use google. Use Google for “Vista MSVCRT.DLL” to find tones of the explanations
kobyk.wordpress.com/2007/07/20/d … al-c-2005/
neilhendo.wordpress.com/2008/09/ … -versions/
bytes.com/topic/net/answers/6110 … -dll-error
llbit.se/?p=19
like this:[quote]… they (Microsoft) thought that non-Windows developers (third parties as well as
MS non-Windows developers) are never
supposed to use system32’s msvcrt.dll.
That’s only for Windows components. We believe you should be using
msvcr80.dll followed with VS2005.
To find out why your application is connecting to system32’s msvcrt.dll,
you could use depends.exe to check just which binary is trying to access
msvcrt.dll. Or enable loader snaps and look at the output in the debugger.[/quote]
I’ve downloaded your files as well as R and none contains MSVCRT.DLL file.
Then Vista may not provide any MSVCRT.DLL as the mandatory system component.
XP does provide it. This is the main difference between these systems.
If MSVCRT.DLL is not a part of your Vista system and it is not the part of your distribution then WHERE it comes from?
See for example
social.answers.microsoft.com/For … 43c08341a5
[quote]msvcrt.dll is part of the Microsoft Visual C++ runtime, which is something used by many Windows applications.
Some of the software update can replace the version used by Windows with another version[/quote]
(of course Axel and Bertrand knew all of these. This explanation for Christian only)
That’s theory. My conclusion, one has to fix "R"to get rid of the toxic “msvcrt.dll”(or include the concrete version into the destribution) . How to do that? It may be very simple (and it may be impossible without the recompilation of the entire ROOT under MinGW) but I was reluctant to spend time to download, learn and investigate the system (R + MinGW) that I have no chance to use in the foreseen future. I hoped the information I was providing was sufficient to allow you to resolve the issue yourselves.
I have no Vista right now, its hard drive died and I am waiting it back from the repair shop.
For the HelloWorld.cxx
int main() { return 0; }
compiled with MinGW the “Dependency walker” provides:[quote]gcc HelloWord.cxx
[code]d:\downloads\rootforum\expert\A.EXE ( 15 KBytes)
- c:\windows\system32\MSVCRT.DLL (version version 7.0.2600.5512) [/code][/quote]
[quote]gcc HelloWord.cxx -lmsvcr70
[code] d:\downloads\rootforum\expert\A.EXE ( 15 KBytes)
- c:\windows\system32\MSVCR70.DLL (version 7.00.9466.0) [/code][/quote][quote]
gcc HelloWord.cxx -lmsvcr80
[code] d:\downloads\rootforum\expert\A.EXE ( 15 KBytes) - c:\windows\system32\MSVCR80.DLL (version 8.00.50727.762) [/code][/quote]
[quote]gcc HelloWord.cxx -lmsvcr90
[code] d:\downloads\rootforum\expert\A.EXE ( 15 KBytes)
- MSVCR90.DLL - Error opening file. The system can not find the file specified[/code][/quote]
With VC++ [quote]cl HelloWord.cxx /MD
[code] d:\downloads\rootforum\expert\HELLOWORD.EXE ( 5 KBytes)- c:\windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR80.DLL
( version 8.00.50727.3053 ) [/code][/quote]As one can see Bertrand is correct [quote=“Bertrand”]. . . this is going nowhere…
. . . I don’t see how making this exercise with MinGW would help …[/quote]unless I have missed something.
- c:\windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\MSVCR80.DLL
By this reason I think we should stop and do not pollute this list further. Send me the private message as soon as you need my assistance.