dll files and redistributable package

Jul 11, 2009 at 3:23am
Hi

I have a version of vs 2008 pro edition.
I'll start with redistributable package... How do I find which one I need in order to send it to an other person that doesn't have VS installed to make a program I made run on his PC too.

now with the dll files. I created several dll files to help me create a window or init Direct3D or DirectInput, and some more things like this. The problem is that I don't want to copy the .dll file for each new project. Is there a way to make a folder and store them all in there. I found that I can do this with the .lib files and the .h files, but I have no ideea on how I should do with the .dll files.

Any hints would be good.

Thank you for helping me.
Jul 11, 2009 at 5:30am
I'll start with redistributable package... How do I find which one I need in order to send it to an other person that doesn't have VS installed to make a program I made run on his PC too.
Weird question. Just pass the installer.

Is there a way to make a folder and store them all in there.
c:\windows\system32 (may be different in your Windows installation)
Windows looks for DLLs in each of the directories listed in the PATH environment variable.
Jul 11, 2009 at 12:05pm
the installer for visual studio had about 3.31 GB, so it's quite hard to pass that.

Check this site...
http://www.microsoft.com/downloads/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en

There it says something about it, and I can download it, but for vs 08 they have at least 3 versions. I don't know how I can find out which one is the right one.



And about the c:\windows\system32 I know that there are most of my dlls, but I want to make a different folder to store those I make there. I don't want to delete one of those that are in there by accident.
Last edited on Jul 11, 2009 at 12:10pm
Jul 11, 2009 at 3:12pm
so add the new folder to your PATH variable...
Jul 11, 2009 at 3:48pm
It seems that Visual Studio has paths only for... I'll type the exact text that's there
1. Executable Files // I'm sure it's not this one
2. Include Files // I have placed a path here for thse files
3. Reference Files // I'm sure it's not this one
4. Library Files // I have placed a path here for thse files
5. Source Fileso // I have placed a path here for thse files
6. Exclude directories // I'm sure it's not this one

So I don't see where I should add it. You can find this thing in Tools->Options. Then in Projects and Solutions->VC++ Directories, and in the right side you will see Show directories for: but that's all I have there, so it has to be an other way to save that path.
Jul 11, 2009 at 3:49pm
No, pass the redistributable's installer.
The link only has one download, so I have no idea what you're talking about. I think you need to read it more carefully.

PATH belongs to the OS, not to Visual Studio.
Last edited on Jul 11, 2009 at 3:50pm
Jul 11, 2009 at 4:01pm
Scroll down... you will find more versions down there. You will find this:

What Others Are Downloading
Others who downloaded Microsoft Visual C++ 2008 Redistributable Package (x86) also downloaded:

1. Microsoft Visual C++ 2005 Redistributable Package (x86)
2. Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)
3. Microsoft .NET Framework 3.5
4. Microsoft .NET Framework Version 2.0 Redistributable Package (x86)
5. Microsoft Visual C++ 2008 Redistributable Package (x64)

those above are links on that site. so it seems that there is vs 2008 (x86) , vs 2008 sp 1 ( x86) and vs 2008 (x64)
Last edited on Jul 11, 2009 at 4:09pm
Jul 11, 2009 at 4:23pm
You don't need any of those, which is why they're at the bottom, and not next to the "download" button.
Jul 11, 2009 at 4:31pm
I see. I hope it will work. I'll try to send it to someone to see if it works. If not, I'll try the rest of the packages, and if that is not working either, I'll let you know.

Thank you for helping me with that thing. Now I still have to find out how I should fix the .dll files problem.
Topic archived. No new replies allowed.