| Subject |
ot4xb - Build:1_5_2_139 |
| From |
Pablo Botella |
| Date |
Thu, 18 Sep 2008 14:40:54 +0200 |
| Newsgroups |
ot4xb.snapshots |
| Attachment(s) |
ot4xb.zip, ot4xb_src.zip |
ot4xb - Build:1_5_2_139
--------------------------------
ENHANCEMENT:
New behavior for functions nFpCall(), ndFpCall(), qwFpCall() , FpQCall() and DLL...IMPORT and @dllname:function() commands
In previous versions when these functions was called using and empty function pointer ( or an invalid dll/funcname pair ) the return value was always NIL without attempt to call the function pointer or throw any error , however DLL...IMPORT and @dllname:function() commands was including some error handling when the OT4XB_DEBUG was defined or when the OT4XB_ASSERT_LEVEL was defined to 3 or higher.
From this build an internal errorhandling is added issuing when attemp to call these functions providing an empty function pointer or an invalid dll/function pair.
This errorhandling mechanism is now enabled by default and can de disabled using the new function
SET_FPCALL_FLAGS( nFlags ) -> nOld // Global scope ( all threads using the same value)
The default value is 1 ( activated )
--------------------------------
PREPROCESSOR BUG FIXED : Conflict with the .NOT. operator and the WITH OBJECT commands
( Thanks to Andreas Gehrs-Pahl )
Some expresions like this:
if .not. ::lOk
was wrongly preprocessed to
if .notWithObjectStackTop:lOk
Really seems to be an Xbase++ preprocessor bug as this only occurs for the .not. operator while .and. .or. operators was not affected
In any case this is NOW FIXED with a small workarround added inside ot4xb.ch
---------------------------------
COMPATIBILITY ISSUE FIXED: ot4xb.ch conflict with Thomas Braun's regclass.ch
( Thanks to Jimmy ( AUGE_OHR) )
Both ot4xb.ch and RegClass.ch uses some #defines from the winapi so the preprocessor report some warnings like this
warning XBT0110: Redefinition or duplicate definition of
#define STANDARD_RIGHTS_READ
Currently added some #ifndef inside ot4xb.ch to avoid these warnings, however you must include RegClass.ch before ot4xb.ch
-----------------------------------
|
|