Page 1 of 1

2206 - 64 bit errors (solved)

PostPosted: Thu Jun 30, 2022 11:40 pm
by TimStone
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.

Re: 2206 - 64 bit errors

PostPosted: Fri Jul 01, 2022 5:24 am
by Antonio Linares
Dear Tim,

Here is the answer:
viewtopic.php?f=3&t=41926&p=251426#p251426

We are going to remove it and publish a revised version

We are sorry for this

Re: 2206 - 64 bit errors

PostPosted: Fri Jul 01, 2022 5:31 am
by Antonio Linares
We have just published a revised build, please download it again

Our apologizes for this

Re: 2206 - 64 bit errors

PostPosted: Thu Jul 07, 2022 12:49 pm
by richard-service
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.

Re: 2206 - 64 bit errors

PostPosted: Thu Jul 07, 2022 3:49 pm
by Antonio Linares

Re: 2206 - 64 bit errors

PostPosted: Fri Jul 08, 2022 3:51 am
by richard-service
Dear Antonio,

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

Re: 2206 - 64 bit errors

PostPosted: Fri Jul 08, 2022 5:57 am
by Antonio Linares
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: Select all  Expand view
#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"

 

Re: 2206 - 64 bit errors

PostPosted: Fri Jul 08, 2022 9:27 am
by richard-service
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: Select all  Expand view
#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