New FWH 13.07 revised build
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
New FWH 13.07 revised build
Revised build July 2013
=====================
* Fix: XBrowse.prg: Destroy() method of TXBrowse class now releases refernces
to recordset and other similar objects by setting their references to nil.
* Fix: DataRow.prg: TDataRow class now releases refernces to recordset and
other similar objects by setting their references to nil while exiting.
* Fix: Class TImage still required some changes for FWH 64 bits. Now it is ok.
Print Preview on 64 bits properly exports to PDFs.
* Fix: Class TButtonBmp was not checking if the supplied bitmap name is an
empty string. Now it is ok:
http://forums.fivetechsupport.com/viewt ... 68#p149268
* Fix: datarow.prg: Method End() results in runtime error with Harbour. Fixed
* Enhancement: FW_OpenRecordSet(...): Improved to open persistently saved recordsets
Syntax: FW_OpenRecordSet( nil, cFileName )
Not necessary but better FW_OpenRecordSet( nil, cFileName, nil, nil, nil, adCmdFile )
* Fix: There was a bug in samples/fivedbu.prg on Memo editing, now it is ok.
You can download the more recent FiveDBU from here:
https://code.google.com/p/fivewin-contr ... 130803.zip
* Fix: Print Preview send as email feature is properly working now. There was a bug
when creating the attached file name of the PDF. Thanks to Lucas!
* XBrowse.prg: While browsing a recordset opened with adLockBatchOptimistic, the browse stays
stable even if connection to server is lost. Any edits during the browse are not saved to the
Server. After exiting from the browse, programmer has to update the changes by calling
oRs:UpdateBatch() in TRY..CATCH block.
* New DATA XBrowse: lFullGrid (default .f. ). If set to .t. horizontal grid lines are drawn
completely till right and till bottom even when there is not enough data.
* Enhancement: ButtonBmp: Tooltip can be specified in the command. Valid bitmap handle also can
be specified in the BITMAP clause
* XBrowse: New Method GoToCol( oCol ) --> lSuccess. The parameter oCol can be a column object,
or nCreationOrder or Header of the column. Cursor is repositioned on the column selected. If the
column is outside display area, the column is brought into the display area. The method does not
succeed when the column is hidden or freeed columns themselves occupy the entire display.
This method may be used instead of SelectCol() for repositioning the cursor.
* XBrowse: New DATA lSortDescend ( default .t. ). If set to .F., toggling to descend sort is disabled.
* New: New DATA bToExcel in TReport class. If specified this bToExcel is evaluated instead of the
builtin method to export to excel
* XBrowse: Inconsistencies in painting row color to the right of the last data column betwen
drawline() and paint() methods is fixed.
* New: samples/bmptoc.prg and curtoc.prg create the C source code for bitmaps and cursors, in
case that you want to store them in your code.
* New: Print Preview no longer needs the prev...DLL. All the preview resources have been ported
to C code.
* New: We have implemented a new FWH strings API to provide internationalization at runtime,
and that you can also use to provide internationalization to your own apps too:
The Strings API functions are:
1. FWSetLanguage( nNewLanguage ) // sets the language to use at rumtime
2. FWString( "my string" ) // searches for "my string" translation and returns it
3. FWMissingStrings() // generates the source code for the missing strings to translate
By default the language is automatically set to the HB_LangSelect(), if the program has
already set HB_LangSelect() our functions adopt the same language by default
User can add a new language using FWAddLanguage( aTranslates ), for example if you want to
add whatever language (not unicode), you have to build an array with your language translates
for the same words used in strins api and call FWAddLanguage( aTranslates ) then onwards the
system uses the new language translates.
Using the function FWAddString( aString ) you can add your own strings at runtime.
* Enhancement: function ShellExecute() has been ported to C language, so now it properly
works on FWH 64 bits too.
=====================
* Fix: XBrowse.prg: Destroy() method of TXBrowse class now releases refernces
to recordset and other similar objects by setting their references to nil.
* Fix: DataRow.prg: TDataRow class now releases refernces to recordset and
other similar objects by setting their references to nil while exiting.
* Fix: Class TImage still required some changes for FWH 64 bits. Now it is ok.
Print Preview on 64 bits properly exports to PDFs.
* Fix: Class TButtonBmp was not checking if the supplied bitmap name is an
empty string. Now it is ok:
http://forums.fivetechsupport.com/viewt ... 68#p149268
* Fix: datarow.prg: Method End() results in runtime error with Harbour. Fixed
* Enhancement: FW_OpenRecordSet(...): Improved to open persistently saved recordsets
Syntax: FW_OpenRecordSet( nil, cFileName )
Not necessary but better FW_OpenRecordSet( nil, cFileName, nil, nil, nil, adCmdFile )
* Fix: There was a bug in samples/fivedbu.prg on Memo editing, now it is ok.
You can download the more recent FiveDBU from here:
https://code.google.com/p/fivewin-contr ... 130803.zip
* Fix: Print Preview send as email feature is properly working now. There was a bug
when creating the attached file name of the PDF. Thanks to Lucas!
* XBrowse.prg: While browsing a recordset opened with adLockBatchOptimistic, the browse stays
stable even if connection to server is lost. Any edits during the browse are not saved to the
Server. After exiting from the browse, programmer has to update the changes by calling
oRs:UpdateBatch() in TRY..CATCH block.
* New DATA XBrowse: lFullGrid (default .f. ). If set to .t. horizontal grid lines are drawn
completely till right and till bottom even when there is not enough data.
* Enhancement: ButtonBmp: Tooltip can be specified in the command. Valid bitmap handle also can
be specified in the BITMAP clause
* XBrowse: New Method GoToCol( oCol ) --> lSuccess. The parameter oCol can be a column object,
or nCreationOrder or Header of the column. Cursor is repositioned on the column selected. If the
column is outside display area, the column is brought into the display area. The method does not
succeed when the column is hidden or freeed columns themselves occupy the entire display.
This method may be used instead of SelectCol() for repositioning the cursor.
* XBrowse: New DATA lSortDescend ( default .t. ). If set to .F., toggling to descend sort is disabled.
* New: New DATA bToExcel in TReport class. If specified this bToExcel is evaluated instead of the
builtin method to export to excel
* XBrowse: Inconsistencies in painting row color to the right of the last data column betwen
drawline() and paint() methods is fixed.
* New: samples/bmptoc.prg and curtoc.prg create the C source code for bitmaps and cursors, in
case that you want to store them in your code.
* New: Print Preview no longer needs the prev...DLL. All the preview resources have been ported
to C code.
* New: We have implemented a new FWH strings API to provide internationalization at runtime,
and that you can also use to provide internationalization to your own apps too:
The Strings API functions are:
1. FWSetLanguage( nNewLanguage ) // sets the language to use at rumtime
2. FWString( "my string" ) // searches for "my string" translation and returns it
3. FWMissingStrings() // generates the source code for the missing strings to translate
By default the language is automatically set to the HB_LangSelect(), if the program has
already set HB_LangSelect() our functions adopt the same language by default
User can add a new language using FWAddLanguage( aTranslates ), for example if you want to
add whatever language (not unicode), you have to build an array with your language translates
for the same words used in strins api and call FWAddLanguage( aTranslates ) then onwards the
system uses the new language translates.
Using the function FWAddString( aString ) you can add your own strings at runtime.
* Enhancement: function ShellExecute() has been ported to C language, so now it properly
works on FWH 64 bits too.
- lucasdebeltran
- Posts: 1303
- Joined: Tue Jul 21, 2009 8:12 am
- Contact:
Re: New FWH 13.07 revised build
Excelente.
¿También está disponible FWH64 corregida?.
Muchas gracias.
¿También está disponible FWH64 corregida?.
Muchas gracias.
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
Note for xhb.com users:
FWH 13.07 uses standard C language functions strlwr() and strdup(), but unfortunately the C compiler used by xhb.com (PellesC) does not provide them:
http://www.diplom.org/~njudge/cxref/strdup.c.src.html
http://www.cprogramming.com/snippets/so ... trlwr-in-c
For those that don't know to implement this code in their apps, we will provide them a modified FWH library that does not require them.
And our best advise for you: Migrate to Harbour
FWH 13.07 uses standard C language functions strlwr() and strdup(), but unfortunately the C compiler used by xhb.com (PellesC) does not provide them:
http://www.diplom.org/~njudge/cxref/strdup.c.src.html
http://www.cprogramming.com/snippets/so ... trlwr-in-c
For those that don't know to implement this code in their apps, we will provide them a modified FWH library that does not require them.
And our best advise for you: Migrate to Harbour
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: New FWH 13.07 revised build
Or migrate to free xHarbour.org, why not?Antonio Linares wrote:And our best advise for you: Migrate to Harbour
EMG
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
Enrico,
Yes, thats fine too, so any C compiler can be used
Yes, thats fine too, so any C compiler can be used
Re: New FWH 13.07 revised build
Hi Antonio,Antonio Linares wrote:Note for xhb.com users:
FWH 13.07 uses standard C language functions strlwr() and strdup(), but unfortunately the C compiler used by xhb.com (PellesC) does not provide them:
http://www.diplom.org/~njudge/cxref/strdup.c.src.html
http://www.cprogramming.com/snippets/so ... trlwr-in-c
For those that don't know to implement this code in their apps, we will provide them a modified FWH library that does not require them.
And our best advise for you: Migrate to Harbour
Is it possible to provide these functions for xhb in fwh lib.?
Thanks.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Re: New FWH 13.07 revised build
Antonio
I migrate from version March 2013 ( it works OK) to this version
I use Harbor and Microsoft Visual Studio 2010 x86
When I execute the EXE , I have this message :
Impossibile trovare il punto di ingresso K32GetModuleFileNameExA della procedura nella libreria di collegamento dinamico KERNEL32.DLL
Regards
Maurizio
I migrate from version March 2013 ( it works OK) to this version
I use Harbor and Microsoft Visual Studio 2010 x86
When I execute the EXE , I have this message :
Impossibile trovare il punto di ingresso K32GetModuleFileNameExA della procedura nella libreria di collegamento dinamico KERNEL32.DLL
Regards
Maurizio
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
Maurizio,
Please add this function to your main PRG:
function GetTasks() ; return nil
Please add this function to your main PRG:
function GetTasks() ; return nil
Re: New FWH 13.07 revised build
Thank Antonio ,
It works , you cann fix it for the next version ?
Regards Maurizio
It works , you cann fix it for the next version ?
Regards Maurizio
- lucasdebeltran
- Posts: 1303
- Joined: Tue Jul 21, 2009 8:12 am
- Contact:
Re: New FWH 13.07 revised build
Antonio,
Please, is there any fix?.
Your proposed solution crashed when calling errorsys.prg.
Thank you very much.
Please, is there any fix?.
Your proposed solution crashed when calling errorsys.prg.
Thank you very much.
Muchas gracias. Many thanks.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
Unfortunately there is no fix for that as GetModuleFileNameEx() does not exist in XP.
If you want XP support then forget about using GetModuleFileNameEx()
If nobody wants it, then we will remove it from FWH
If you want XP support then forget about using GetModuleFileNameEx()
If nobody wants it, then we will remove it from FWH
- Enrico Maria Giordano
- Posts: 7355
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Contact:
Re: New FWH 13.07 revised build
Antonio,
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Here they say it does exist:Antonio Linares wrote:Unfortunately there is no fix for that as GetModuleFileNameEx() does not exist in XP.
http://msdn.microsoft.com/en-us/library ... s.85).aspx
EMGRequirements
Minimum supported client
Windows XP [desktop apps only]
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
Enrico,
You are right
This is the key:
You are right
This is the key:
It uses different libraries for XP and for Windows 7 and above. Lets see if there is a way to solve itKernel32.lib on Windows 7 and Windows Server 2008 R2;
Psapi.lib (if PSAPI_VERSION=1) on Windows 7 and Windows Server 2008 R2;
Psapi.lib on Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FWH 13.07 revised build
It uses the same lib always, psapi.lib
What was the error on XP ?
What was the error on XP ?