Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FILES=XXX and FILES()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
FILES=XXX and FILES()
Divers
Thread ID:
00858230
Message ID:
00858230
Vues:
56
Hi everyone,

The problem occurs with Windows XP when we try to modify file CONFIG.NT to add FILES=150

When CONFIG is located as C:\WinNT\SYSTEM32\CONFIG.NT as it should be, everything works just fine. SYS(2010) detects correctly the number of FILES available and correct the situation if needed as expected with FOPEN() and FPUTS().

We do not use Windows XP ourselves, but some far away user experience problems with this automatic CONFIG.NT update.

It seems that when CONFIG.NT is not located where expected, Windows XP takes over and some users not knowing what to do, just Quit the application and thats the end of it - they just tell us that nothing works, when they care to reply.

The way I can see this, there is two possibilities.
Remember that this occurs when CONFIG.NT is not located where we expect it is.

So, either the test IF FILE("C:\WinNT\SYSTEM32\CONFIG.NT") triggers Windows -or-
the test IF FILE("C:\WinNT\SYSTEM32\CONFIG.NT") gives a .T. by error
and the following FOPEN() WITH (2) READ/WRITE triggers Windows.

Anyone knows which one does not function properly under Windows XP and what is the solution to this situation??

Also, do we have to expect this with other Windows versions?
Réal Philippon
www.ultra.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform