Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Xcas2dbc fails - points at wrong directory
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00681207
Message ID:
00683032
Views:
47
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
Previous
Reply
Map
View

Click here to load this message in the networking platform