GOT 64 Bit Version running

GOT 64 Bit Version running

Postby Jimmy » Mon Sep 16, 2024 3:14 pm

hi

GOT 64 Bit Version running :D

i use this *.HBP (add -lDrXlsx64 and my dualgrid.rc)
Code: Select all  Expand view
   -gui  -mt

    DUALGRID.PRG
    TGRID.PRG
    HB_FUNC.PRG
    SHELLAPP.PRG
    HBEJECT.PRG
    CODEPAGE.PRG
    IPHONE.PRG
    PROPERTY.PRG
    EVERYTH.PRG
    ABOUT.PRG
    DLGREPL.PRG
    XBROWSE.PRG
    YBROWSE.PRG
    HBSTACK.PRG
    PICKLIST.PRG
    FWMODIFY.PRG
    TCALENDA.PRG
    FWREGDB.PRG
    XBROWSER.PRG
    DATAROW.PRG
    ADO.prg
    XLSWRITE.PRG
    xmlview.prg

        -workdir=

        -optim-
        -ldflag+=-aa
        -Ic:\fwh64\include
        -Lc:\fwh64\lib

    -lFiveH64
    -lFiveHC64
    -lDrXlsx64

    -lgdiplus
    -lole32
    -lOleDlg
    -lversion
    -lucrt
    -luxtheme

    xhb.hbc
    hbct.hbc
    hbwin.hbc
    hbmzip.hbc
    hbziparc.hbc
    hbfoxpro.hbc
    hbodbc.hbc

    -ldflag=/NODEFAULTLIB:msvcrt
    -ldflag+=/NODEFAULTLIB:libucrt
     hbziparc.hbc
    dualgrid.rc

but still have a Question : why does App have NO ICON :?: no Resource at all :?:
and it is much smaller than *.MAK VERION ? 7.2 MB vs. 10.7 MB
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

GOT 64 Bit Version running

Postby Jimmy » Mon Sep 16, 2024 3:17 pm

hi,

OK GOT it
have include *.RC into *.HBP
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Antonio Linares » Mon Sep 16, 2024 6:54 pm

very good! :-)
regards, saludos

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

Re: GOT 64 Bit Version running

Postby Jimmy » Wed Sep 18, 2024 10:54 am

hi,

i got it run under 64 BIt but same CODE give me Error using 32 Bit :shock:
R:\Temp\hbmk_emyvx0.dir\HB_FUNC.c:
Warning W8027 x:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h 18147: Functions containing for are not expanded inline
+ Full parser context
+ HB_FUNC.PRG, line 48: #include x:\bcc770\INCLUDE\windows\sdk\ShlObj.h
+ x:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 111: #include x:\bcc770\INCLUDE\windows\sdk\shobjidl.h
+ x:\bcc770\INCLUDE\windows\sdk\shobjidl.h, line 776: #include x:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h
Warning W8027 x:\bcc770\INCLUDE\windows\sdk\shlobj_core.h 3503: Functions containing while are not expanded inline
+ Full parser context
+ HB_FUNC.PRG, line 48: #include x:\bcc770\INCLUDE\windows\sdk\ShlObj.h
+ x:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 113: #include x:\bcc770\INCLUDE\windows\sdk\shlobj_core.h
*** 1 errors in Compile ***
hbmk2[testx32]: Error: Running C/C++ compiler. 2

i do not understand why ShlObj.h, under 32 Bit, give me a Error ... it work under 64 BIt
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Enrico Maria Giordano » Wed Sep 18, 2024 11:02 am

Sorry, I can't see any errors, only warnings you can safely ignore.
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: GOT 64 Bit Version running

Postby Jimmy » Wed Sep 18, 2024 4:21 pm

Enrico Maria Giordano wrote:Sorry, I can't see any errors, only warnings you can safely ignore.

YES, only 2 Warning but on End i got
hbmk2[testx32]: Error: Running C/C++ compiler. 2

and NO 32 Bit *.EXE are generated

i use this *.HBP
-gui -mt
-w-inl

DUALGRID.PRG
TGRID.PRG
HB_FUNC.PRG
SHELLAPP.PRG
HBEJECT.PRG
CODEPAGE.PRG
IPHONE.PRG
PROPERTY.PRG
EVERYTH.PRG
ABOUT.PRG
DLGREPL.PRG
XBROWSE.PRG
YBROWSE.PRG
HBSTACK.PRG
PICKLIST.PRG
FWMODIFY.PRG
TCALENDA.PRG
FWREGDB.PRG
XBROWSER.PRG
DATAROW.PRG
ADO.prg
XLSWRITE.PRG
xmlview.prg
dualgrid.rc

-Ix:\fwh\include
-Lx:\fwh\lib

-lFiveH32
-lFiveHC32
-lDrXlsx

-lgdiplus
-lole32
-lOleDlg
-lversion
-lucrt
-luxtheme

#ficheros de configuraci├│n debido a las funciones usadas
xhb.hbc
hbct.hbc
hbwin.hbc
hbmzip.hbc
hbziparc.hbc
hbfoxpro.hbc

-ldflag=/NODEFAULTLIB:msvcrt
-ldflag+=/NODEFAULTLIB:libucrt
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Antonio Linares » Wed Sep 18, 2024 4:24 pm

Please try with:

-lcflag=-w-8027
regards, saludos

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

Re: GOT 64 Bit Version running

Postby Jimmy » Thu Sep 19, 2024 4:10 am

hi Antonio,
Antonio Linares wrote:-lcflag=-w-8027

THX for Advice.
i did it, but i got same Error with ShlObj.h

i use this *.HBP for Borland 32 bits
Code: Select all  Expand view
   -gui -mt
-w-inl
-lcflag=-w-8027

DUALGRID.PRG
ABOUT.PRG
ADO.PRG
CODEPAGE.PRG
DATAROW.PRG
DLGREPL.PRG
EVERYTH.PRG
FWMODIFY.PRG
FWREGDB.PRG
HBEJECT.PRG
HBSTACK.PRG
HB_FUNC.PRG
IPHONE.PRG
PGSUPORT.PRG
PICKLIST.PRG
PROPERTY.PRG
SHELLAPP.PRG
TCALENDA.PRG
TGRID.PRG
XBROWSE.PRG
XBROWSER.PRG
XLSWRITE.PRG
YBROWSE.PRG

-Ic:\fwh\include
-Lc:\fwh\lib

-lfiveh
-lfivehc
-luxtheme

hbct.hbc
xhb.hbc
hbziparc.hbc

Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h 18147: Functions containing for are not expanded inline
+ Full parser context
+ HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h
+ c:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 111: #include c:\bcc770\INCLUDE\windows\sdk\shobjidl.h
+ c:\bcc770\INCLUDE\windows\sdk\shobjidl.h, line 776: #include c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h
Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shlobj_core.h 3503: Functions containing while are not expanded inline
+ Full parser context
+ HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h
+ c:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 113: #include c:\bcc770\INCLUDE\windows\sdk\shlobj_core.h
*** 1 errors in Compile ***
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Antonio Linares » Thu Sep 19, 2024 4:55 am

Modify the code this way:

#pragma warn -8027
#include <windows/sdk/ShlObj.h>
regards, saludos

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

Re: GOT 64 Bit Version running

Postby Jimmy » Thu Sep 19, 2024 5:08 am

hi Antonio,

can is use *.ch from 64 BIt Version of BCC7764 for 32 Bit Version BCC77 ?
the 32 Bit Version of ShObjIdl.h is 1104.293 while 64 Bit Version is 272.111

Modify the code this way:
#pragma warn -8027
#include <windows/sdk/ShlObj.h>

which File should i modify :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Antonio Linares » Thu Sep 19, 2024 5:14 am

+ HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h
regards, saludos

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


Re: GOT 64 Bit Version running

Postby Jimmy » Thu Sep 19, 2024 2:35 pm

hi Antonio,
Antonio Linares wrote:+ HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h

does make same Error / Warnimg
Code: Select all  Expand view
Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h 18147: Functions containing for are not expanded inline
 + Full parser context
 + HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h
 + c:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 111: #include c:\bcc770\INCLUDE\windows\sdk\shobjidl.h
 + c:\bcc770\INCLUDE\windows\sdk\shobjidl.h, line 776: #include c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h
Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shlobj_core.h 3503: Functions containing while are not expanded inline
 + Full parser context
 + HB_FUNC.PRG, line 48: #include c:\bcc770\INCLUDE\windows\sdk\ShlObj.h
 + c:\bcc770\INCLUDE\windows\sdk\ShlObj.h, line 113: #include c:\bcc770\INCLUDE\windows\sdk\shlobj_core.h
*** 1 errors in Compile ***

when include in HB.FUNC.PRG
Code: Select all  Expand view
#pragma warn -8027
i got much more Errors
[quote]Turbo Incremental Link 6.97 Copyright (c) 1997-2022 Embarcadero Technologies, Inc.
Error: Unresolved external '__streams' referenced from C:\HARBOUR\LIB\WIN\BCC\HBVMMT.LIB|fm
Error: Unresolved external '_HB_FUN_VAR2CHAR' referenced from R:\TEMP\HBMK_5XHQ19.DIR\DATAROW.OBJ
Error: Unresolved external '_HB_FUN_CTRLS_COLORS' referenced from R:\TEMP\HBMK_5XHQ19.DIR\ADO.OBJ
Error: Unresolved external '_HB_FUN_MAKETOP' referenced from R:\TEMP\HBMK_5XHQ19.DIR\PICKLIST.OBJ
Error: Unresolved external '_HB_FUN_FILEONLY' referenced from R:\TEMP\HBMK_5XHQ19.DIR\FWMODIFY.OBJ
Error: Unresolved external '_HB_FUN_MY_DIRECTORY' referenced from R:\TEMP\HBMK_5XHQ19.DIR\TGRID.OBJ
Error: Unresolved external '_HB_FUN_ENDWITHSLASH' referenced from R:\TEMP\HBMK_5XHQ19.DIR\TGRID.OBJ
Error: Unresolved external '_HB_FUN_PATHONLY' referenced from R:\TEMP\HBMK_5XHQ19.DIR\YBROWSE.OBJ
Error: Unresolved external '_HB_FUN_ATINSIDE' referenced from R:\TEMP\HBMK_5XHQ19.DIR\YBROWSE.OBJ
Error: Unresolved external 'SQLAllocEnv' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLAllocConnect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLExecDirect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLDriverConnect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLConnect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLAllocStmt' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLDescribeCol' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLError' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLPrepare' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLFreeStmt' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLDisconnect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLFreeConnect' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLFreeEnv' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLNumResultCols' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLFetch' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetInfo' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSetConnectOption' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSetStmtOption' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetConnectOption' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetStmtOption' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSetCursorName' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetCursorName' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLRowCount' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLCancel' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLTransact' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSetParam' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLExecute' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLParamData' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLPutData' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLExtendedFetch' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSetPos' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLPrimaryKeys' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetDiagRec' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLStatistics' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLColumns' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLSpecialColumns' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLTables' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external 'SQLGetData' referenced from C:\FWH\LIB\FIVEHC.LIB|odbc32x
Error: Unresolved external '_HB_FUN_COPYTOCLIPBOARD' referenced from R:\TEMP\HBMK_5XHQ19.DIR\ADO.OBJ
Error: Unable to perform link
hbmk2[test32]: Error: Running linker. 2

hbmk2: Error: Referenced, missing, but unknown function(s): VAR2CHAR(),
CTRLS_COLORS(), MAKETOP(), FILEONLY(), MY_DIRECTORY(), ENDWITHSLASH(),
PATHONLY(), ATINSIDE(), COPYTOCLIPBOARD()
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Postby Enrico Maria Giordano » Thu Sep 19, 2024 2:39 pm

Jimmy, can you provide a very little sample showing the error, please?
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: GOT 64 Bit Version running

Postby Antonio Linares » Thu Sep 19, 2024 9:17 pm

Jimmy,

Are you linking odbc32.lib ?
regards, saludos

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 66 guests