Subject | Re: [firebird-support] Path to database on CD |
---|---|
Author | Daniel Rail |
Post date | 2004-08-05T12:12:04Z |
Hi,
At August 4, 2004, 23:28, Don Gollahon wrote:
drive where the application is running from is a CD drive or not.
Take a look at JCL's function GetDriveTypeStr. So, if the drive type
is a CD drive, then you can use Florian's suggestion, otherwise use
the INI file. This way you wont need to have 2 separate executables.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)
At August 4, 2004, 23:28, Don Gollahon wrote:
> I should add that the app uses an INI file for the path in the productionYou probably will have to. But, it is also possible to know if the
> version. I would rather not change the operation of it just so it can be
> viewed on CD unless I have to.
drive where the application is running from is a CD drive or not.
Take a look at JCL's function GetDriveTypeStr. So, if the drive type
is a CD drive, then you can use Florian's suggestion, otherwise use
the INI file. This way you wont need to have 2 separate executables.
--
Best regards,
Daniel Rail
Senior System Engineer
ACCRA Group Inc. (www.accra.ca)
ACCRA Med Software Inc. (www.filopto.com)