Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updated links on www.activevfp.com for AVFP3
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
ActiveVFP
Divers
Thread ID:
01001361
Message ID:
01001493
Vues:
36
>Ok, I'll make the changes to accomodate that. I also noticed that all the html pages have avfpdemo2r hard coded for the images link which will have to be fixed in the next build, probably tonight. So, if any other fixes are needed, please let me know (you or anybody listening in)
>Thanks!
>>It will works until you can try to run something like
>>
>>loRegistry.GetRegKey('', @lcGUID, tcProgID + '\clsid', HKEY_CLASSES_ROOT)
>>
>>because HKEY_CLASSES_ROOT is not defined.

You can parameterize #INCLUDE paths as follows
.
.
.
*!* Main.prg  (the first PRG to run)
Do case
  Case VERSION(5) = 700
    cPath = "C:\PAth1\"  && path to the foxpro.h
  Case VERSION(5) = 800
    cPath = "E:\DifferentAPth\"  && path to the foxpro.h
  Case VERSION(5) = 900
    cPath = HOME()+"HH_Files\"  && path to the foxpro.h
ENdcase
  
STRTOFILE("#Include "+cPath+"foxpro.h","avfp_h.h",0)
.
.
DO NextPRG  && READ EVENT 
.
.
.
*!* NextPRG.prg (or what ever where #Include file is set
.
.
#Include avfp_h.h

*!* Top test uncomment next two lines
* aaa=CFSTR_HYPERLINK
* ?aaa
.
.
.
Now this (test) is done with DO NextPRG but normally it would be hadled with READ EVENT.

AT

P.S. Evenif foxpro.h is included, HKEY_CLASSES_ROOT is still not defined as it is in hmm... WINDOWS.H
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform