[DUG] MSIMG32.DLL
Conor Boyd
Conor.Boyd at trimble.co.nz
Fri Mar 17 12:07:52 NZDT 2006
Rather than having different units, use compiler directives and
conditional compilation to compile only part of your printing unit into
the Windows 95 version of your exe.
Would save you from duplicating your code.
HTH,
Conor
-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of John Bird
D2006: I have a program using Rave Reports in Code (RVSystem component).
I have just discovered this program will not run on Windows 95, which
does not contain MSIMG32.DLL. As far as I can tell Windows 98 and later
generally have this file (used for enhanced graphics).
This program does need to be able to run on Windows 95, which can live
without the printing function. I figure the best way is to make a
version of the program without the Rave component for those pcs.
Q1 - is the MSIMG32.DLL used for Rave? (I am guessing used for the
print
preview)
Q2 - Is this scheme below the best way to make an alternate version of
the program minus the printing?
The printing code and definition of RVSystem is all in one unit, with
several printing functions and procedures in it called from other units
as needed, so I guess the way to do it is make a cut down version of
this unit with a similar name, and a messagebox saying "printing is not
supported in this version", and in the second version of the program
have the cut down unit in the project instead of the full one.....
More information about the Delphi
mailing list