FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour 2206 - 64 bit errors (solved)
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
2206 - 64 bit errors (solved)
Posted: Thu Jun 30, 2022 11:40 PM

I believe debugging code was left in the 64 bit FWH 22.06.

When opening a dialog, I get a MsgInfo() saying TBAR, and then one saying TXBROWSE. These tend to repeat on any dialogs using the bar control and the browse control. It locks up the program.

The exact same code compiled with the 32 bit FWH is working. However, I am trying to actually focus on full 64 bit development.

I just downloaded this today ( 06/30/2022 ) so it's not an "early release" issue.

The exact same code built with 22.03 works perfectly.

Thank you.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: 2206 - 64 bit errors
Posted: Fri Jul 01, 2022 05:24 AM

Dear Tim,

Here is the answer:

viewtopic.php?f=3t=41926p=251426#p251426

We are going to remove it and publish a revised version

We are sorry for this

&&

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: 2206 - 64 bit errors
Posted: Fri Jul 01, 2022 05:31 AM

We have just published a revised build, please download it again

Our apologizes for this

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: 2206 - 64 bit errors
Posted: Thu Jul 07, 2022 12:49 PM
Antonio Linares wrote:We have just published a revised build, please download it again

Our apologizes for this


Dear Antonio,

Today, I download it and same as appear TXBROWSE dialog.
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: 2206 - 64 bit errors
Posted: Thu Jul 07, 2022 03:49 PM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: 2206 - 64 bit errors
Posted: Fri Jul 08, 2022 03:51 AM
Dear Antonio,

I use build64 compile sample xbrgen and xbrdbu appear error below:

Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: 2206 - 64 bit errors
Posted: Fri Jul 08, 2022 05:57 AM
Dear Richard,

That error happens when the used manifest file is not the right one (the 32 bits one is being used instead of the 64 bits one).
Please use this xbrgen.rc

We are updating our FWH builds, so if you download them in a while, they will be fixed :-)

many thanks for your great feedback
Code (fw): Select all Collapse
#include <windows.h>

#ifndef __64__
  1 24 "WinXP/WindowsXP.Manifest" 
#else
  1 24 "WinXP/WindowsXP.Manifest64"
#endif 

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_BORDER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 4, 5, 297, 202
}

STAR     BITMAP "../bitmaps/16x16/favorite.bmp"
GREEN    BITMAP "../bitmaps/level1.bmp"
RED      BITMAP "../bitmaps/level2.bmp"
FIVEBACK BITMAP "../bitmaps/fiveback.bmp"
STONE    BITMAP "../bitmaps/backgrnd/stone.bmp"
PAPER    BITMAP "../bitmaps/backgrnd/paper.bmp"
ON   BITMAP "../bitmaps/checkon.bmp"
OFF      BITMAP "../bitmaps/checkoff.bmp"
EXCEL    BITMAP "../bitmaps/excel.bmp"
REPORT   BITMAP "../bitmaps/32x32/print.bmp"
ATTACH   BITMAP "../bitmaps/32x32/attach.bmp"
CALC     BITMAP "../bitmaps/32x32/calc.bmp"
OPEN     BITMAP "../bitmaps/16x16/folder3.bmp"
CLOSE    BITMAP "../bitmaps/16x16/folder.bmp"
BLUBRICK BITMAP "../bitmaps/backgrnd/blubrick.bmp"
CONFIG   BITMAP "../bitmaps/config.bmp"
EXPAND   BITMAP "../bitmaps/expand.bmp"
COLLAPS  BITMAP "../bitmaps/collaps.bmp"
TREE     BITMAP "../bitmaps/tree.bmp"
SOURCE   BITMAP "../bitmaps/prg.bmp"
COPY2    BITMAP "../bitmaps/copy2.bmp"
COPY3    BITMAP "../bitmaps/copy3.bmp"
COMPILE  BITMAP "../bitmaps/compile.bmp"
SAVE     BITMAP "../bitmaps/save.bmp"
SAVE2    BITMAP "../bitmaps/save2.bmp"
RUN      BITMAP "../bitmaps/run.bmp"
CLOSE2   BITMAP "../bitmaps/close.bmp"
CODE     BITMAP "../bitmaps/code.bmp"
DLG      BITMAP "../bitmaps/dlg.bmp"
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 866
Joined: Tue Oct 16, 2007 08:57 AM
Re: 2206 - 64 bit errors
Posted: Fri Jul 08, 2022 09:27 AM
Antonio Linares wrote:Dear Richard,

That error happens when the used manifest file is not the right one (the 32 bits one is being used instead of the 64 bits one).
Please use this xbrgen.rc

We are updating our FWH builds, so if you download them in a while, they will be fixed :-)

many thanks for your great feedback
Code (fw): Select all Collapse
#include <windows.h>

#ifndef __64__
  1 24 "WinXP/WindowsXP.Manifest" 
#else
  1 24 "WinXP/WindowsXP.Manifest64"
#endif 

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_BORDER | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP, 4, 5, 297, 202
}

STAR     BITMAP "../bitmaps/16x16/favorite.bmp"
GREEN    BITMAP "../bitmaps/level1.bmp"
RED      BITMAP "../bitmaps/level2.bmp"
FIVEBACK BITMAP "../bitmaps/fiveback.bmp"
STONE    BITMAP "../bitmaps/backgrnd/stone.bmp"
PAPER    BITMAP "../bitmaps/backgrnd/paper.bmp"
ON   BITMAP "../bitmaps/checkon.bmp"
OFF      BITMAP "../bitmaps/checkoff.bmp"
EXCEL    BITMAP "../bitmaps/excel.bmp"
REPORT   BITMAP "../bitmaps/32x32/print.bmp"
ATTACH   BITMAP "../bitmaps/32x32/attach.bmp"
CALC     BITMAP "../bitmaps/32x32/calc.bmp"
OPEN     BITMAP "../bitmaps/16x16/folder3.bmp"
CLOSE    BITMAP "../bitmaps/16x16/folder.bmp"
BLUBRICK BITMAP "../bitmaps/backgrnd/blubrick.bmp"
CONFIG   BITMAP "../bitmaps/config.bmp"
EXPAND   BITMAP "../bitmaps/expand.bmp"
COLLAPS  BITMAP "../bitmaps/collaps.bmp"
TREE     BITMAP "../bitmaps/tree.bmp"
SOURCE   BITMAP "../bitmaps/prg.bmp"
COPY2    BITMAP "../bitmaps/copy2.bmp"
COPY3    BITMAP "../bitmaps/copy3.bmp"
COMPILE  BITMAP "../bitmaps/compile.bmp"
SAVE     BITMAP "../bitmaps/save.bmp"
SAVE2    BITMAP "../bitmaps/save2.bmp"
RUN      BITMAP "../bitmaps/run.bmp"
CLOSE2   BITMAP "../bitmaps/close.bmp"
CODE     BITMAP "../bitmaps/code.bmp"
DLG      BITMAP "../bitmaps/dlg.bmp"


I change .RC code and working now. Thank you
Best Regards,



Richard



Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 32bit

MySQL v8.0

Harbour 3.2.0dev (r2503251254) => Borland C++ v7.7 64bit

Continue the discussion