From: David E. <de...@us...> - 2007-05-11 22:43:31
|
John R. Culleton wrote: > ... > Can all the required files be packaged up in > zip file and deployed into a single directory > on the end user's machine? > > I think I can avoid using DLLs although I have > not yet fooled with Tiny on a Windows partition. Yes you can install all files into a single directory. Unless you are deploying a large number of executables, I would use static libraries. This way no TC run-time elements are required by the end user. To save yourself and the end user much aggravation, you may wish to use an installation generation program. When run, the install program which will create short-cuts, un-install file, and most other things which Win32 users expect. TC (MinGW edition) uses INNO setup. It generates an install program from about 20 lines of options (script). See tcobol.iss, generated by the configure script 'tconfig.mingw.sh' from 'info/isetup/tcobol.iss.in'. Some things to keep in mind when using Win32 and MinGW. If a DLL version of a library is found, the DLL will be used in the link step. Console and GUI applications are compiled differently (see tgui02). So if console applications is compiled as a GUI application, the ACCEPT/DISPLAY verbs will not work properly. DLL's need to be installed in the CWD or the PATH or SYSTEM PATH, otherwise the application will fail to run with a DLL not found error dialog. Hope this helps. |