Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MMF uses INI Files in Win2000
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00392395
Message ID:
00392714
Vues:
21
Ed,

Good to hear from you...you look *smashing* in your picture!

This problem is actually fixed in an upcoming service pack release. I removed the check for 16/32 bit operating systems since VFP6 only runs on 32-bit operating systems. For now, you can simply replace ALL of the code in CAppBase.GetSystemSettingClass() with the following:

LOCAL lcSystemSettingClass

IF !This.lUseINIFile
*--------------------------------------------------------------
*-- Define the cRegistry as the class handling system settings.
*--------------------------------------------------------------
lcSystemSettingClass = "Registry"

*-----------------------
*-- Get the registry key
*-----------------------
This.cRegistryKey = This.GetRegistryKey()

*------------------------------
*-- Initialize the INI property
*------------------------------
This.cINIFile = ""
ELSE
lcSystemSettingClass = "INIFile"

*--------------------------------------------------------
*-- Initialize the cRegistryKey property
*--------------------------------------------------------
this.cRegistryKey = ""

*--------------------------------------------------
*-- Retrieve the name of the application's INI file
*--------------------------------------------------
This.cINIFile = This.GetINIFile()
ENDIF

RETURN lcSystemSettingClass

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform