Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C0000005 error under W2K non-admin account
Message
De
21/08/2003 15:52:05
 
 
À
21/08/2003 13:58:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00822135
Message ID:
00822332
Vues:
11
>>I recently migrated a VFP EXE to Ver. 8. My Windows 2000 clients get a Fatal Error C0000005 when starting up. If the app is run under an administrative account there is no problem.
>>Can anybody help me understand why this is happening?
>>
>>Thanks in advance.
>>
>>Andrew
>
>Sounds like you may be trying to reference an ActiveX control or some other component that only an Administrator can access.

Code as simple as the following also fails: This is the entire program, it checks for the file date and copies an EXE file if a newer one is available.



* determine most recent exe file and update client's version to
* new version...
_screen.Visible = .f.
SET DEFAULT TO q:\eanew\project\
PUBLIC newdate,newtime,newfile,olddate,oldtime,oldfile
execount = ADIR(newexe,"matest.exe")
newdate = DTOC(newexe[1,3])
newtime = newexe[1,4]
newfile = CTOT(newdate+" "+newtime)
execount = ADIR(oldexe,"matest.exe")
olddate = DTOC(oldexe[1,3])
oldtime = oldexe[1,4]
oldfile = CTOT(olddate+" "+oldtime)
IF newfile - oldfile > 0
* MESSAGEBOX("Copy the file!")
SET SAFETY off
WAIT WINDOW 'Copying latest version of program, please wait...' nowait
COPY FILE "q:\eanew\project\matest.exe" TO "c:\program files\computing resources\default\matest.exe"
MESSAGEBOX("Newest version of lotting program successfully copied!","Please Note...")
WAIT clear
ELSE
MESSAGEBOX("Your program is up to date","Please note...")
ENDIF
SET DEFAULT TO q:\eanew
_screen.Visible = .t.

On a CLEAR day you can see forever.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform