PC Review


Reply
Thread Tools Rate Thread

package and deploy VISUAL C++ 6 app with MFC - I AM SO DESPERATE!!!

 
 
=?Utf-8?B?V0wgR2FyZG5lcg==?=
Guest
Posts: n/a
 
      4th Feb 2004
I am trying DESPERATELY to package and deploy a visual c++ 6 application which uses MFC. My application runs without problem on the developer's (my) machine -windows xp. But I can't figure out how to make the app run on other people's machines which are also running XP!!!!

SHORT QUESTION:
How do I package a visual c++ 6 app? Do I need different versions for different OS's?


EXPLANATION:
First I tried to copy my app's .exe file to the other computer, run it, watched which DLL's it complained about, found them on the developer machine, and copied them to the target machine. That lame idea worked for awhile, and now my app just crashes.

So then I tried to do what I thought was the right way. I used depends.exe and redistrib.txt (or something) to figure out which DLL's I can (need?) to include (according to M$'s documentation). GULP! Does this mean I have to look at every single DLL and check to see if it's on the list!?!? There's over 50 DLL's for my SIMPLE project!! I used a free packaging tool to do this and it didn't seem like it was going to figure out which DLL's I need. There's gotta be a packager that figures out what stuff you need and puts them in a single MSI or exe file. If this exists, what is the cheapest one and what is it's name?

W.L. Gardner
WWWSoftware
Fargo, ND

 
Reply With Quote
 
 
 
 
Jan Roelof de Pijper
Guest
Posts: n/a
 
      4th Feb 2004
On Tue, 3 Feb 2004 21:16:05 -0800, "WL Gardner" <(E-Mail Removed)>
wrote:

>I am trying DESPERATELY to package and deploy a visual c++ 6 application which uses MFC. My application runs without problem on the developer's (my) machine -windows xp. But I can't figure out how to make the app run on other people's machines which are also running XP!!!!
>
>SHORT QUESTION:
> How do I package a visual c++ 6 app? Do I need different versions for different OS's?
>
>
>EXPLANATION:
> First I tried to copy my app's .exe file to the other computer, run it, watched which DLL's it complained about, found them on the developer machine, and copied them to the target machine. That lame idea worked for awhile, and now my app just crashes.
>
>So then I tried to do what I thought was the right way. I used depends.exe and redistrib.txt (or something) to figure out which DLL's I can (need?) to include (according to M$'s documentation). GULP! Does this mean I have to look at every single DLL and check to see if it's on the list!?!? There's over 50 DLL's for my SIMPLE project!! I used a free packaging tool to do this and it didn't seem like it was going to figure out which DLL's I need. There's gotta be a packager that figures out what stuff you need and puts them in a single MSI or exe file. If this exists, what is the cheapest one and what is it's name?
>
>W.L. Gardner
>WWWSoftware
>Fargo, ND


I think that if in step 5 of the MFC AppWizard you say that want the
MFC library linked statically rather than as a shared DLL you should
have no problems. Your exe will be substantially bigger, though ...

Hope this helps,
Jan Roelof

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Package and deploy in .NET -xx- Microsoft C# .NET 7 18th Dec 2006 02:57 AM
Package and Deploy =?Utf-8?B?TWFs?= .mullerjannie@hotmail.com> Microsoft Access Getting Started 3 11th Jan 2005 11:07 AM
package and deploy Carlo Microsoft VB .NET 3 31st Mar 2004 04:31 AM
package and deploy Carlo Microsoft VB .NET 1 31st Mar 2004 12:47 AM
ADP, SQL & Package and Deploy Warren Rudman Microsoft Access ADP SQL Server 1 25th Nov 2003 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:09 PM.