Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining OS System Directory
Message
 
À
30/08/2000 16:59:18
Ronald Suen
Epic Solutions Inc.
Edmonton, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00411030
Message ID:
00411046
Vues:
10
This is what I've used for a long time:
DECLARE INTEGER GetSystemDirectory IN Win32API AS GetSysDir ;
	String @cBuffer, Integer nBufferSize

pcBuffer = SPACE(199)
=GetSysDir(@pcBuffer, 200)
pcBuffer = ALLT(STRTRAN(pcBuffer, CHR(0), ""))
IF .NOT.EMPT(pcBuffer)
	lcWinSysDir = pcBuffer
ENDIF
>I am trying to develop an application that will self-distribute itself and install the OCX and DLL files it needs but I don't know what syntax is or function to call to locate the System directory of the OS to copy these files to. I cannot use the Setup Wizard to generate the setup files or to install the OCX and DLL files. I need my application to do it. Can someone help me on this one?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform