Deploying Mixed MFC C++ app in Win98

Deploying Mixed MFC C++ app in Win98

Post by RShor » Tue, 25 Mar 2003 13:14:14



Hi All, I developed an application using MFC Visual C++
that includes some managed C++ code in order to use the
OLEDBConnection classes. On XP machines it installs and
runs great. However, on Win98 and Me machines, it
installs, but then when you run the app the hour glass
appears for a few moments then disappears without
launching the app and no errors are reported.  The 98 and
Me machines both have the .NET framework installed. Is
there something else I need to do in order to run this
mix MFC C++ application on Win98? Maybe a compiler
switch? I have the /CLR and Managed C++ code switches
enabled already. Any clues.

Thanks,
Robert

 
 
 

Deploying Mixed MFC C++ app in Win98

Post by Tian Min Hua » Thu, 27 Mar 2003 17:12:58


Hi,

I'd like to share the following information with you:

1. Since you are using MFC in your app, you need to redistribute the MFC
dlls to your Windows 98 machine. You can see redist.txt file in C:\Program
Files\Microsoft Visual Studio .NET directory for more info on how to
redistribute those dlls.

2. Please check whether or not other simple .NET application works properly
on your Windows 98 system.

3. In addition, I recommend you install the latest .NET Framework SP2
(http://msdn.microsoft.com/netframework/downloads/updates/sp/default.asp)
if it was not applied.

Hope this helps.

Regards,
HuangTM
This posting is provided "AS IS" with no warranties, and confers no rights.

 
 
 

1. Controls blackout in a Deployed App on Win98 machine

I have created an VB.Net Winforms Application in Win XP using RC1 with SQL
2000 data. I have created a deployment project and installed on a Win 98
laptop that has only 64 MB Ram. I also have some 3rd party controls in the
App including, most notably, a C1 TrueDBGrid (which I like, BTW).

When I stack forms, as I close them the forms underneath reappear with some
of their controls blacked out. Buttons and Text Boxes and combo boxes,
mostly.

Has anyone else had this problem? If so, do you know how to fix it?

I'm hoping this is isolated to this one low Ram Win98 machine. I have not
tried to deploy to other machines, yet. This was my first one.

Burton Roberts

2. New Diamond Firmware Posted - Beta Site

3. Can JavaScript call c++ functions defined in an MFC-based browser app?

4. How do I enter distances in feet

5. Need really dumb VSS interface for C++ MFC app

6. Help with ES DBM login?

7. Minimum .NET framework install for native C++/MFC app?

8. XSLT problem: entity references inside attribute values

9. Visual C++ 6.0 MFC DLLs not backward compatible with Visual C++ 5.0 programs

10. MFC with managed Extension crashes on win98??

11. Are there the MFC library and the list of API commands for Win98 ?

12. Sending messages from MFC app to .Net app

13. App.exe.config problem with WinForm App deployed via IIS