Page 1 of 1
New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 11, 2012 12:38 pm
by Antonio Linares
September 2012
==============
* Fix: Required change in Class TRBtn to destroy ::hBack if it is not the same as
the used by its container:
http://forums.fivetechsupport.com/viewt ... 77#p134977
* Fix: Class TExplorerbar Method Redefine() missing initialization for nVirtualTop
and nVirtualHeight. samples/explbar2.prg was failing. Now it is ok.
* Fix: Class TExplorerBar Method CheckScroll() was not properly calculating the
represented size in the scrollbar. Now it is ok:
http://forums.fivetechsupport.com/viewt ... 11#p135111
* Fix: Class TRBtn Method Destroy(), DATA hBack was not properly destroyed when its
container was not TRBGroup. Now it is ok:
http://forums.fivetechsupport.com/viewt ... 77#p134977
* Fix: samples\fivedbu.prg modify structure uses the original filename instead of the
alias. Reported by Colin Haig.
* Enhancement: Print Preview (rpreview.prg) has greatly enhanced, thanks to Anser:
If the user wants to create a PDF from the Report preview and MS-Word is not available on the PC, it would use FWH methods
ie FWSavePreviewToPDF().
The new OpenOffice ToWordDocViaWriter() is used only If MS-Word is not installed and the user wants to save the report preview
as a Word doc file, then it would make use of the OpenOffice (if available), to achieve the same
* Enhancement: Class TPrinter Method Setup() returns a logical value so you can use it
this way:
if ! oPrinter:Setup()
return nil
endif
http://forums.fivetechsupport.com/viewt ... 16#p135916
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 11, 2012 7:00 pm
by rhlawek
Using MSVC 2010
Two items:
1) Will you be releasing 12.09 for 64 bit to keep things in sync?
2) I just upgraded my test machine frmo 12.08 to 12.09 and I now get the following unresolved externals. When I rolled back from 12.09 to 12.08 and built this file the unresolved externals error is not present, but rolling forward to 12.09 brings the error back.
viewer.obj : error LNK2001: unresolved external symbol _HB_FUN_SETDLGGRADIENT
viewer.obj : error LNK2001: unresolved external symbol _HB_FUN_DRAWTILED
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_XFREEPROC
FiveH32.lib(INI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(TMETAFIL.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(GETTASKS.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(LONGNAM2.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(HELP32.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(IMAGE.obj) : error LNK2019: unresolved external symbol _HB_FUN_FREELIBRARY referenced in function _HB_FUN_FIISTRANSPARENT
FiveH32.lib(DIALOG.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_FREELIBRARY
FiveH32.lib(INI.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(PRV2PDF.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(TMETAFIL.obj) : error LNK2019: unresolved external symbol _HB_FUN_LOADLIBRARY referenced in function _HB_FUN_TMETAFILE_SETFILE
FiveH32.lib(SHELLAPI.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(GETTASKS.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(FILENAME.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(LONGNAM2.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(HELP32.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(IMAGE.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(DIALOG.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
FiveH32.lib(HARBOUR.obj) : error LNK2001: unresolved external symbol _HB_FUN_LOADLIBRARY
Robb
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 11, 2012 8:45 pm
by Antonio Linares
Please add these functions to your main PRG:
Code: Select all
#pragma BEGINDUMP
#include <hbapi.h>
#include <windows.h>
HB_FUNC( LOADLIBRARY )
{
hb_retnl( ( HB_LONG ) LoadLibrary( hb_parc( 1 ) ) );
}
HB_FUNC( FREELIBRARY )
{
hb_retl( FreeLibrary( ( HMODULE ) hb_parnl( 1 ) ) );
}
#pragma ENDDUMP
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Fri Oct 12, 2012 12:30 am
by rhlawek
Thank you, that cleared all but these three:
viewer.obj : error LNK2001: unresolved external symbol _HB_FUN_SETDLGGRADIENT
viewer.obj : error LNK2001: unresolved external symbol _HB_FUN_DRAWTILED
FiveH32.lib(WINDOW.obj) : error LNK2001: unresolved external symbol _HB_FUN_XFREEPROC
Roibb
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Fri Oct 12, 2012 3:50 am
by Antonio Linares
Robb, Tim,
I have emailed you the right libs, please check them, thanks
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Fri Oct 12, 2012 7:56 am
by ShumingWang
Hope enhance tgantt class .
Regards!
Shuming Wang
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Fri Oct 12, 2012 4:53 pm
by TimStone
Thank you. The new libs are now working correctly and the build is successful.
Tim
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Wed Oct 17, 2012 5:00 pm
by rhlawek
These libraries worked for me as well.
Any word on the 64 bit 12.09 build?
Solved
Posted: Thu Oct 25, 2012 8:58 am
by Maurizio
Antonio ,
try this sample with harbour ( with xHarbour it works)
when you press exit button the programm crash
Maurizio
I have solved with :
#ifdef __HARBOUR__
#command QUIT => ( PostQuitMessage( 0 ), __Quit() )
#endif
Code: Select all
#include "FiveWin.ch"
#include "metro.ch"
//----------------------------------------------------------------------------//
function Main()
local oMetro
DEFINE METRO oMetro ;
TITLE "My FWH Metro app" ;
BACKGROUND "..\bitmaps\hires\earth.bmp"
DEFINE METROBUTTON OF oMetro ;
PROMPT "Exit" COLOR CLR_WHITE, RGB( 2, 174, 224 ) ;
IMAGE "..\bitmaps\metro\exit.bmp" ;
ACTION __quit()
ACTIVATE METRO oMetro
return nil
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 25, 2012 12:18 pm
by Antonio Linares
Maurizio,
Yes, thats right as QUIT can not be called from Windows, instead:
PostQuitMessage( 0 )
__Quit()
has to be used. Thanks for commenting it
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 25, 2012 2:47 pm
by Maurizio
Antonio,
some function are missing in fiveh32.lib or fivehc.lib
aggiorna.obj : error LNK2001: simbolo esterno _HB_FUN_TMETROPANEL non risolto
aggiorna.obj : error LNK2001: simbolo esterno _HB_FUN_SETDLGGRADIENT non risolto
XBROWSE.obj : error LNK2001: simbolo esterno _HB_FUN_FW_VALTOEXP non risolto
fiveh32.lib(WINDOW.obj) : error LNK2001: simbolo esterno _HB_FUN_XFREEPROC non risolto
Regards Maurizio
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Posted: Thu Oct 25, 2012 3:06 pm
by Antonio Linares
Mauruzio,
Yes, Tim Stone noticed it but we have not published the revised ones.
We email them to you