Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sdt51j.zip - hex2decimal syntax err?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Sdt51j.zip - hex2decimal syntax err?
Divers
Thread ID:
00502557
Message ID:
00502557
Vues:
68
I just unzipped sdt51j.zip and do the update app. Then I recomiple the sdt project into an app.

I did have sdt51i installed and everything hunky doree.

Problem is I think my 51j has a syntax err. When I tried to reindex programatically I get a error in VMP5 stating "can't find hex2decimal.prg" error.

The line of code is in sdtutility/getDriveSpace() line 68 listed below:
     declare short GetDiskFreeSpaceEx in Win32API ;
          string @lpDirectoryName, string @lpFreeBytesAvailableToCaller, ;
          string @lpTotalNumberOfBytes, string @lpTotalNumberOfFreeBytes
     store replicate(chr(0), 8) to lcCaller, lcTotal, lcFree
     if GetDiskFreeSpaceEx(@lcDir, @lcCaller, @lcTotal, @lcFree) <> 0
68          lnResult = Hex2Decimal(iif(tlTotal, lcTotal, lcFree))
     endif GetDiskFreeSpaceEx(@lcDir, ...


My question is, shouldn't this line be modified by placing a . in front of the Hex2Decimal call as shown below:
68          lnResult = .Hex2Decimal(iif(tlTotal, lcTotal, lcFree))



What happens is the program crashes in the middle of a re-index and my indexes are lost. (Yuck)

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform