Thanks. That prg is Maurice De Bejirs debugging routine. It seemed like it didn't really use that header file..
>>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\"
> Case VERSION(5) = 800
> cPath = "E:\DifferentAPth\"
> Case VERSION(5) = 900
> cPath = HOME()+"HH_Files\"
>ENdcase
>
>STRTOFILE("#Include "+cPath+"foxpro.h","avfp_h.h",0)
>.
>.
>DO NextPRG
>.
>.
>.
>
>
>
>*!* 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