FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour FWH 8.09 for MinGW - beta 1 ready
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Test
Posted: Sat Sep 20, 2008 03:29 PM
Antonio

The BRWTOOLS.exe is created with your new update ( still without RC ).
There was no problem.
I still have to include the RC-file.

I added the RC-file with you changes, still the same :
( i included the BMP again. It is the complete RC-file for download )
http://www.pflegeplus.com/fw_downloads/brwtools.rc
The EXE-file without resource : http://www.pflegeplus.com/DOWNLOADS/BRWtoolsMinGW2.zip
The loading-time is very fast.
( Because of the missing RC, you cannot open the main-dialog )
I think it is a good test-object
( round about 6000 lines of source )
I noticed the black DOS-box as well, after closing the application.

I think the problem is the RC-syntax
I tested a single dialog
The first CTEXT included < SS_CENTER > as well like the second one >
There was a error in the first CTEXT.
I deleted < SS_CENTER > the first line was ok and the error in the next CTEXT

Code (fw): Select all Collapse
// A look at WINAPI.ch => SS_CENTER i couldn't find

#define SS_BLACKRECT                      4
#define SS_WHITERECT                      6
#define SS_WHITEFRAME                     9
#define SS_LEFT                           0
#define SS_SIMPLE                        11   // 0x0B

CTEXT "0.01", 520, 282, 34, 19, 11,  WS_BORDER | WS_GROUP | WS_TABSTOP
CTEXT "1.00", 530, 282, 121, 19, 11, SS_CENTER | WS_BORDER | WS_GROUP | WS_TABSTOP




Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Some more Tests
Posted: Sat Sep 20, 2008 06:02 PM
Antonio,

I had a look at WINAPI.ch and the RC-file.

I found that in WINAPI.ch some #defines are missing ( incomplete ) :

ES_AUTOVSCROLL ( missing )
SS_CENTER ( missing )

I could'nt find.

existing values in WINAPI :
-------------------------------

#define ES_LEFT 0
#define ES_RIGHT 2
#define ES_MULTILINE 4
#define ES_AUTOHSCROLL 128 // 0x0080
#define ES_READONLY 2048 // 0x0800
#define ES_WANTRETURN 4096 // 0x1000

#define SS_BLACKRECT 4
#define SS_WHITERECT 6
#define SS_WHITEFRAME 9
#define SS_LEFT 0
#define SS_SIMPLE 11 // 0x0B

Is that the reason for the RC-errors ?
I didn't look for more in the moment.
I cannot complete WINAPI.ch by myself,
because i don't know the values.

I incuded your RC-file TESTXBR3.rc ( just for a test )
Works fine, no errors.

#include "d:\fwh\include\winapi.ch"

TEST DIALOG 6, 15, 306, 227
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "TXBrowse demo"
FONT 8, "MS Sans Serif"
{
 DEFPUSHBUTTON "OK", IDOK, 252, 211, 50, 14
 CONTROL "", 101, "TXBrowse", 0 | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 4, 5, 297, 202
}

STAR 	 BITMAP "favorite.bmp"
GREEN 	 BITMAP "level1.bmp"
RED 	 BITMAP "level2.bmp"


After solving the RC-problem, i can put a new MinGW-tool-version in the forum.

Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.09 for MinGW - beta 1 ready
Posted: Sat Sep 20, 2008 07:46 PM

Uwe,

You can get those values from your C compiler windows.h file.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Bitmaps included inside resources
Posted: Sat Sep 20, 2008 09:12 PM
Antonio,

some bitmaps are defined / loaded inside the resource.
It seems, only bitmaps from disk are working

That works !!!
----------------
CANCELAR BITMAP "cancel.bmp"

Syntax-error, invalid argument
------------------------------------
Blanc BITMAP 
{
 '42 4D EE 00 00 00 00 00 00 00 76 00 00 00 28 00'
 '00 00 0F 00 00 00 0F 00 00 00 01 00 04 00 00 00'
 '00 00 78 00 00 00 C4 0E 00 00 C4 0E 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 80'
 '00 00 00 80 80 00 80 00 00 00 80 00 80 00 80 80'
 '00 00 80 80 80 00 C0 C0 C0 00 00 00 FF 00 00 FF'
 '00 00 00 FF FF 00 FF 00 00 00 FF 00 FF 00 FF FF'
 '00 00 FF FF FF 00 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0 FF FF'
 'FF FF FF FF FF F0 FF FF FF FF FF FF FF F0'
}


These bitmaps must be deleted and loaded as files from disk ?

It looks, there are many changes in the original resource have to be done. To use them 1 : 1 is not possible.
Maybe to save them as DLL ?
I don't know, if there will be a difference.

Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Working sample
Posted: Sat Sep 20, 2008 10:39 PM

Antonio

a good message : It's working now.
It is not as much to change, i thought before.
I will give you the informations about, how i handled the resource
( changes and so on and the winapi.ch-changes ) and a final
BRW-Tools MinGW-Version tomorrow.
I will do still some more testing and have to add some bitmaps.
It looks very nice and is very fast.
Please copy this version to the same directory like the other version,
because of bmp's and so on and to test the speed-difference.

Download : http://www.pflegeplus.com/fw_downloads/ ... sMinGW._xe

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.09 for MinGW - beta 1 ready
Posted: Sat Sep 20, 2008 11:38 PM

Uwe,

Very good :-)

Many thanks for your feedback,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.09 for MinGW - beta 1 ready
Posted: Mon Sep 22, 2008 02:37 PM

We have a new FWH beta for MinGW gcc, without the "background" console window :-)

Quite close to have it ready :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
New Release
Posted: Mon Sep 22, 2008 02:54 PM

Antonio,

I have the same error again, like in the first release
< Multidefine MESSAGEBOX >

20.09.2008 = 775.545 Byte => OK

22.09.2008 = 775.512 Byte => New
( The Files inside dated : 19.09.2008 seems to be the wrong one )

Tomorrow, a new version of xBrowse-tools is ready
with some nice new functions like :
Creating any dialog-background in relation to the browser.
A new folder-tab for that is included.

I could compile it with the MinGW as well.

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
FWH 8.09 for MinGW - beta 1 ready
Posted: Mon Sep 22, 2008 03:11 PM

Uwe,

We have just emailed you a new beta :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
New beta
Posted: Mon Sep 22, 2008 03:44 PM

Antonio,

It is tested and works fine.
No problems

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion