Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xcas2dbc fails - points at wrong directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00681207
Message ID:
00683032
Vues:
46
Hi Bob.

>use DBXXREG and browse - 3 records
>
>CPRODNAME / MLIBPATH
>System Record
>Core Manager G:\SDT\SOURCE\
>Stonefield Database Toolkit G:\SDT\

I owe you an apology -- this was definitely a bug! Here's the fix: in the SFUtility class (in SFUTILITY.VCX), open the GetAppDirectory method and remove the following lines of code near the end:
if version(2) = 2 and upper(right(lcPath, 7)) = '\SOURCE'
  lcPath = fullpath('..\', addbs(lcPath))
endif version(2) = 2 ...
Because of pathing, the incorrect directory hadn't shown up as a problem (and it's not in an application EXE that uses SDT), but definitely is when you're using xCas2DBC. Thanks for helping me track this down!

Doug
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform