After releasing Xailer 2 with support to build and use external components (see here) I thought about releasing the most of the componets I wrote in the last two years.
Dear Xailer users,
After Xailer 2 is possible to create DLLs, dynamic link libraries. As its name says, they are libraries that can be loaded on run time by the main application. When loaded, all its functions will be ready to use. The main benefit of the use of DLLs is that you can break any of your applications into different modules, so you can deliver only the modules you want and in case you need to send an update of the program you only need to send the modified or new modules.
Following a message from Dionissis in the forum in which he asked the needed to restart a computer from his application I wrote this component. It encapsulates the functionality of Windows to acomplish this task in a simple way and it does the necessary checks to each plaftorm.
Traditionally on xBase the Database control management was done in advance, that is to say, you just control that no run-time error would be generated and for that job you used the RLock(), FLock() or NetErr() functions. RLock() and FLock() are functions that permit to perform updates on the DBF table when is opened in shared mode and NetErr() function basically permits to check if a USE or APPEND BLANK operation has been made correctly. Logically with Xailer you can still use this same scheme.