Oct
16
Fox Trails was designed to be embeddable in existing Foxpro Applications. You have a few different options for this.
The easiest means is to simply reference your database files from within a separate Fox Trails installation. I’d recommend making a Foxtrails subdirectory in your main application folder. Recompile the project and follow the steps in our getting started guide to get up and running. From within the Fox Trails controllers reference any resources from the parent application as needed. You may need to modify your application logic to run in a non-interactive fashion.
You can also add the dispatch.prg program and utility folder to your existing application. Then either add the remaining Fox Trails folders or modify Fox Trails to use the folder structure of your choice. You’ll need to compile your application as both an exe and a multi-threaded dll. You will also need to create a com interop dll using tlbimp.exe — see the How To, Getting Started post for details on this command.
Leave a Reply
You must be logged in to post a comment.