We've just finished testing and posting CHT Build 14A1.01 in both C6.x and C7.x versions.
This version removes all dependency on HND*.LIB files with the exception of HNDSPELL.LIB and HNDML.LIB. These two remaining .LIBs are based on CHT DLLs which are exclusive to CHT. All other HND*.LIBs which may have potentially included WINAPI functions located in MS Windows DLLs, used by Clarion or other 3rd parties, will be removed from your CHT installation by our installer because they are no longer necessary. The WINAPI functions in various CHT classes that once depended on these .LIBs are now accessed by dynamically loading the Windows DLL in which the function(s) are located.
This avoids entirely the possiblity of a "Duplicate Function Declaration" error (or similar) produced by the Clarion compiler.
You do not need to change anything in your CHT based apps to incorporate this change.
Other changes in Build 14A1.01...
New Demo APP called: HNDZIPBACKUPTOGMAIL.APP an app that lets you zip some files and send them to your gmail account as a backup mechanism.
Significantly Changed Demo APP: HNDGMAILEXPLORER.APP this app now lets you enter your own GMAIL account and visit your gmail account with a single click. There's also a backup to GMAIL capability in this application.
The HNDERROR class which is derived by all CHT classes - and are hence available for error trapping and logging - now has a direct capability to write to the windows error log. You'll remember that in previous CHT versions, you needed to add the HandyCOMEventLogger template to your procedure. While this template and its accompanying DLL-based functionality is still available, you no longer need this in order to log errors to the Windows Error Log. The functions involved are described in HNDERROR.INC and look as follows:
!Windows event log direct from this error class.
PostWindowsEventLog PROCEDURE (STRING xDescription, LONG xType=HND_INFORMATION_MESSAGE, LONG xCategory=0),BYTE,PROC,VIRTUAL
GetLastEventLogged PROCEDURE (),STRING,VIRTUAL
LogErrorEvent PROCEDURE ( STRING xsMessage ),BYTE,PROC,VIRTUAL
LogInfoEvent PROCEDURE ( STRING xsMessage ),BYTE,PROC,VIRTUAL
LogWarningEvent PROCEDURE ( STRING xsMessage ),BYTE,PROC,VIRTUAL
Cheers...
Gus Creces
The Clarion Handy Tools Page
www.cwhandy.com
gcreces@gmail.com
February 18, 2010
The CHT Blogger
Thanks for your interest in The Clarion Handy Tools, an awesome collection of productivity enhancements for Clarion developers. These tools consist of an ever-expanding set of Clarion Templates and OOP Classes that extend or complement the normal functionality of the Clarion Application Development System from SoftVelocity.
Thursday, February 18, 2010
Subscribe to:
Posts (Atom)