Can I deliver the directory created by generate-application? That is, can a user of my application simply install the directory and run the .exe file?
A 2.6-6) This answer applies to Allegro CL 5.0. In version 5.0.1, there are new tools for handling this issue and mfc42.dll is no longer needed. See doc/cl/delivery.htm#4.9 Windows specific information in the 5.0.1 final documentation for details. In 5.0, the answer is no; unfortunately it is not that simple. The directory created by generate-application also contains the system DLLs msvcrt.dll and mfc42.dll, user32.dll (if you use CLIM), and possibly others (note: starting with Allegro CL 5.0.1 final, mfc42.dll is no longer needed). These files, if present in both the Windows `system’ directory and the application directory can cause subtle failures. user32.dll will be present if you use CLIM. If you execute your application with a copy of this DLL in the application directory, you will experience problems, and possibly even crashes of Windows 95/98. If mfc42.dll is duplicated, when the user closes the application, the application will appear to exit but then an error will be signaled
Related Questions
- Can I deliver the directory created by generate-application? That is, can a user of my application simply install the directory and run the .exe file?
- Can I use PowerBroker Directory Integrator to deliver configuration to an in-house developed application?
- Do I need to use an Administrator user account to install or run Source Insight?