Click here to Skip to main content
15,911,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Hot to get ouput of console application executed by my program? Pin
Matt Gullett18-Apr-02 8:04
Matt Gullett18-Apr-02 8:04 
GeneralRe: Hot to get ouput of console application executed by my program? Pin
18-Apr-02 13:44
suss18-Apr-02 13:44 
AnswerRe: Hot to get ouput of console application executed by my program? Pin
Jeremy Falcon18-Apr-02 8:51
professionalJeremy Falcon18-Apr-02 8:51 
GeneralRe: Hot to get ouput of console application executed by my program? Pin
18-Apr-02 13:44
suss18-Apr-02 13:44 
AnswerRe: Hot to get ouput of console application executed by my program? Pin
Aoife19-Apr-02 3:44
Aoife19-Apr-02 3:44 
GeneralSDI Project Pin
Peter Liddle18-Apr-02 7:10
Peter Liddle18-Apr-02 7:10 
GeneralRe: SDI Project Pin
Matt Gullett18-Apr-02 10:07
Matt Gullett18-Apr-02 10:07 
GeneralDLLs to redistribute with VC++ 7.0 applications Pin
W2k18-Apr-02 6:31
W2k18-Apr-02 6:31 
Hi guys - this is my first ever posting here so I'll start with an introduction. I'm Wilhelm Svenselius, I go by the nickname of "W2k" (not related to the operating system) and I enjoy C++ programming using Visual C++ .NET (7.0) as a hobby.

I've now put together my first MFC app worthy of distributing (as in, publishing for download on my personal website) - but I quickly realized that unlike the good old days of writing console apps that run in text-only mode, there are quite a few DLL's I need to include if I want people without the full range of MFC dependencies installed to be able to use my program.

Obviously, my installer will need to include at least a few of these DLL's. I looked at my EXE in Dependency Walker and there were a massive amount of system DLL's referenced, no way can I determine which (may) need to be updated on any potential target user's system for my app to work. MFC70.DLL and MSVCRT70.DLL are apparently not sufficient.

In my search for answers I found the pages
MSDN: Redistributing Microsoft Visual C++ 6.0 Applications and MSKB: Vcredist.exe Installs the Latest Run-Time Components for Visual C++ (Q259403). Neither is what I need; both are aimed at Visual C++ 6.0, the DLL's for which will clearly not do when I'm using Visual C++ 7.0.

However, a utility which automatically installs all the latest runtimes like the one found in the KB article, except for VS7.0, would rock. Sadly, I haven't been able to find one.

I have tried various installers: InstallShield is payware and it has funky copy protection which messes up my floppy drive, so I can't use that. NSIS is excellent but it can't figure out what DLL's I need to include on its own. Visual Studio.NET has a built in Setup Wizard which includes all the neccessary DLL's automatically, but the installer generated by that is massively ugly and I'd rather not use it. Anyone know how to use those .MSM "Merge Modules"? They seem to hold the files I need to include but I can't figure out how to open them. I have been strongly recommended against merely copying DLLs out of my windows\system32 folder.

My question all put together into one sentence (for those of you who can't be bothered to read all the above, or seek clarification):

How can I determine what DLL's to redistribute with my MFC application, and where can I get them?

Thank you for any help you might be able to provide.

[ PlanetCPP ][ home of the n00blist ]
GeneralRe: DLLs to redistribute with VC++ 7.0 applications Pin
W2k19-Apr-02 2:57
W2k19-Apr-02 2:57 
QuestionGenertic Auto-ptr ? Pin
Todd Smith18-Apr-02 5:35
Todd Smith18-Apr-02 5:35 
AnswerRe: Genertic Auto-ptr ? Pin
Maxime Labelle18-Apr-02 5:47
Maxime Labelle18-Apr-02 5:47 
GeneralRe: Genertic Auto-ptr ? Pin
Paul M Watt18-Apr-02 17:50
mentorPaul M Watt18-Apr-02 17:50 
GeneralRe: Genertic Auto-ptr ? Pin
Maxime Labelle18-Apr-02 21:19
Maxime Labelle18-Apr-02 21:19 
GeneralRe: Genertic Auto-ptr ? Pin
Paul M Watt18-Apr-02 21:44
mentorPaul M Watt18-Apr-02 21:44 
GeneralCEdit derived class Pin
User 988518-Apr-02 4:28
User 988518-Apr-02 4:28 
GeneralRe: CEdit derived class Pin
Ravi Bhavnani18-Apr-02 4:44
professionalRavi Bhavnani18-Apr-02 4:44 
GeneralRe: CEdit derived class Pin
User 988518-Apr-02 4:54
User 988518-Apr-02 4:54 
GeneralRe: CEdit derived class Pin
Jon Hulatt18-Apr-02 23:41
Jon Hulatt18-Apr-02 23:41 
GeneralRe: CEdit derived class Pin
User 988519-Apr-02 12:28
User 988519-Apr-02 12:28 
GeneralRe: CEdit derived class Pin
Bill Wilson18-Apr-02 13:28
Bill Wilson18-Apr-02 13:28 
GeneralRe: CEdit derived class Pin
User 988519-Apr-02 12:25
User 988519-Apr-02 12:25 
GeneralRe: CEdit derived class Pin
Bill Wilson19-Apr-02 12:42
Bill Wilson19-Apr-02 12:42 
GeneralRe: CEdit derived class Pin
PJ Arends19-Apr-02 12:58
professionalPJ Arends19-Apr-02 12:58 
GeneralRe: CEdit derived class Pin
User 988520-Apr-02 4:49
User 988520-Apr-02 4:49 
GeneralRe: CEdit derived class Pin
Matt Gullett19-Apr-02 17:28
Matt Gullett19-Apr-02 17:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.