FUNCTION Init() *** Load configuration settings so we can dynamically *** create our 'real' Web Connection server loConfig = GetConfigData() *** Have to do this so VFP comiler doesn't pull in wconnect.prg into this project *** This is the loader that does a bunch of SET PROCEDURE TO lcCmd = "DO wconnect.prg in '" + loConfig.AppFileName + "'" LogString(lcCmd) *** THIS IS WHAT FAILS - WCONNECT.PRG NOT FOUND *** loConfig.AppFileName is a full valid path to the .app file &lcCmd *** If I comment the above out - the NewObject() fires but then fails because *** it doesn't have the necessary dependencies for base classes etc. *** This needs to have the SET PROCEDURE TO etc. loaded this.oProxy = NEWOBJECT(loConfig.ServerClassName,loConfig.AppFileName) ENDFUNCI also tried just instantiating a class directly from the .APP file (the last line) and that works fine, except it fails because it's missing a bunch of references like its base class. I need to be able to SET PROCEDURE TO to get the class bootstrapped.