--- Anthony Appleyard wrote:
> Of my current 3 Visual C++ 2008 (free download version) projects, I
> just now ran one in debug mode, and after I exited the program,
> Visual C++ listed in its debug output window a list of DLL loadings
> and unloadings, with their pathnames, but all in C:\Windows\ and
> mostly in C:\Windows\System32\ ; three of them were
 
'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.6000.16386_none_87e0cb09378714f1\comctl32.dll'
'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll'
'C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6000.16386_none_5d07289e07e1d100\comctl32.dll'

--- Thomas Hruska <[EMAIL PROTECTED]> wrote:
> Notice the 'winsxs' in those DLLs.  SxS comes from "side-by-side 
> assemblies".  ...
 This is Microsoft's solution to "DLL Hell". Not a very
> pretty solution, but it works...generally.

--- Anthony Appleyard wrote:
> Can I take this as meaning that my program does not need supplied
> .DLL's to run? Or what?

--- Thomas Hruska <[EMAIL PROTECTED]> wrote:
> What do you mean by "supplied DLLs"?

If I develop an application using my Visual C++ 2008 (free upload
version) and compile it as zxcvbnm.exe, then I would upload
zxcvbnm.exe and any necessary text readme files in a zipfile
zxcvbnm.zip on a web site :: I was asking about any DLL's that I would
have to include in that upload to make it run.

--- Thomas Hruska <[EMAIL PROTECTED]> wrote:
> ... Most people don't bother these days because XP is so prevalent.
 
--- Anthony Appleyard wrote:
> Would it work if I merely put the required DLL's in the same folder
> along with the program's .EXE file? Or what would have to be done?

--- Thomas Hruska <[EMAIL PROTECTED]> wrote:
> You can't legally distribute most Windows DLLs with the sole
> exception of redistributables. ...

I know that, and it is to be presumed or hoped that the
redistributables are all that is needed. But what are the Visual C++
2008 redistributables? The page
http://msdn2.microsoft.com/en-us/library/8kche8ah.aspx "Determining
Which DLLs to Redistribute" lists these nine DLL's: atl90.dll (Active
Template Library); msvcm90.dll msvcp90.dll msvcr90.dll (C Runtime and
Standard C++ Libraries); mfc90.dll mfc90u.dll mfcm90.dll mfcm90u.dll
mfcmifc90.dll (Microsoft Foundation Classes). But of these nine I can
only find msvcm90.dll msvcp90.dll msvcr90.dll anywhere in my folder
tree c:\Program Files\ .

The page http://msdn2.microsoft.com/en-us/library/8kche8ah.aspx has at
top right corner a window saying "This page is specific to Microsoft
Visual Studio 2008/.NET Framework 3.5"; but that page's text also says
"As you use DUMPBIN or depends.exe to view your dependencies, use the
file list in Redist.txt to see which of the DLLs that your application
depends on are Microsoft-supplied DLLs that are part of Visual Studio.
Redist.txt is located in the Program Files\Microsoft Visual Studio
2005 directory on the second Visual Studio 2005 product CD or on the
DVD.". There seems to be a contradiction here. Please where can I find
accurate information?

--- Thomas Hruska <[EMAIL PROTECTED]> wrote:
> ... use Dependency Walker (Depends).  It will probably 
> require at least msvcr90.dll...one of those redistributables I
> talked about earlier.

I tried a dependency program, and it drowned me in a long list of
Windows systems DLL's (without stating their pathnames), most of which
are in everybody's up-to-date Windowses rather than special to Visual C++.


Reply via email to