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!