2206 - 64 bit errors (solved)

2206 - 64 bit errors (solved)

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: 2206 - 64 bit errors

Postby Antonio Linares » Fri Jul 01, 2022 5:24 am

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: 2206 - 64 bit errors

Postby Antonio Linares » Fri Jul 01, 2022 5:31 am

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

Our apologizes for this
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: 2206 - 64 bit errors

Postby richard-service » 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 (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: 2206 - 64 bit errors

Postby Antonio Linares » Thu Jul 07, 2022 3:49 pm

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: 2206 - 64 bit errors

Postby richard-service » Fri Jul 08, 2022 3:51 am

Dear Antonio,

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

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: 2206 - 64 bit errors

Postby Antonio Linares » Fri Jul 08, 2022 5: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: 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"

 
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42081
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: 2206 - 64 bit errors

Postby richard-service » Fri Jul 08, 2022 9: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: 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
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 56 guests