New FTDN September/Septiembre 2012 (FWH 12.09)
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
New FTDN September/Septiembre 2012 (FWH 12.09)
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
==============
* 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)
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
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)
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Robb, Tim,
I have emailed you the right libs, please check them, thanks
I have emailed you the right libs, please check them, thanks
-
- Posts: 454
- Joined: Sun Oct 30, 2005 6:37 am
- Location: Guangzhou(Canton),China
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Hope enhance tgantt class .
Regards!
Shuming Wang
Regards!
Shuming Wang
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Thank you. The new libs are now working correctly and the build is successful.
Tim
Tim
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
These libraries worked for me as well.
Any word on the 64 bit 12.09 build?
Any word on the 64 bit 12.09 build?
Solved
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Maurizio,
Yes, thats right as QUIT can not be called from Windows, instead:
PostQuitMessage( 0 )
__Quit()
has to be used. Thanks for commenting it
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)
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
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
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: New FTDN September/Septiembre 2012 (FWH 12.09)
Mauruzio,
Yes, Tim Stone noticed it but we have not published the revised ones.
We email them to you
Yes, Tim Stone noticed it but we have not published the revised ones.
We email them to you