|
||
ProPath works with both single EXE and Multi-DLL applications.
If your program is a single EXE program, accept the default setting and your done.
If your program is Multi-DLL, you need to make your selection as shown:
For the Data DLL, check this box:
You will notice that selecting the Data DLL option automatically disables the box that tells ProPath to generate the code that sets the data path. All that happens in the Data DLL is that the class instances and global are declared and exported so they are accessible from any other part of the program.
For Other DLLs, you need to make your selection as shown:
This selection prototypes the class and global objects as EXTERNAL so that the program module has access to the items declared and exported from the Data DLL.
This option also makes it possible for that module access to the ProPath Explore Folder option that allows the user to open a copy of Windows Explorer to the data folders. All you have to do is add the #CODE template to your button or menu option.
For the Main EXE, you need to make your selections as shown:
This selection prototypes the class and global objects as EXTERNAL so that the program module has access to the items declared and exported from the Data DLL.
The "This application sets the path locations" checkbox tells the ProPath template to generate the class code needed to detect and set the data paths.