GOT 64 Bit Version running

Re: GOT 64 Bit Version running

Postby Jimmy » Fri Sep 20, 2024 1:48 pm

hi,
Enrico Maria Giordano wrote:Jimmy, can you provide a very little sample showing the error, please?

i have made a Sample which include all #INCLUDE file to show the Error under 32 Bit

showerr.PRG
Code: Select all  Expand view  RUN
#include "FIVEWIN.ch"
#include "common.ch"
#include "dll.ch"

#include "DBSTRUCT.CH"
#include "FILEIO.CH"

#include "WCOLORS.ch"
#include "adodef.ch"
#include "dbinfo.ch"

#include "Directry.CH"
#include "fileio.ch"
#include "Splitter.ch"
#include "constant.ch"
#include "calendar.ch"
#include "hbthread.ch"

#include "xbrowse.ch"
#include "dbcombo.ch"
#include "Set.ch"

#include "DrXlsx.ch"

#include "hbmemory.ch"

#include "InKey.ch"
#include "Report.ch"
#include "dtpicker.ch"

PROcedure main
msginfo("show error")
return

#pragma BEGINDUMP

#include <windows.h>
#include <dbt.h>
#include <hbapierr.h>
#include <hbapi.h>
#include <hbapiitm.h>
#include <hbapifs.h>
#include <ShlObj.h>
#include <tchar.h>
#include <winioctl.h>
#include <stdio.h>

#pragma ENDDUMP


showerr.hbp
Code: Select all  Expand view  RUN
   -gui -mt
-w-inl

showerr.PRG

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

-lfiveh
-lfivehc
-luxtheme
-lDrXlsx32_bcc

hbct.hbc
xhb.hbc
hbziparc.hbc 


showerr.BAT
Code: Select all  Expand view  RUN
   set bcc=bcc770
    set path=c:\%bcc%\bin
    set HB_USER_CFLAGS=-Ic:\%bcc%\INCLUDE\windows\crtl -Ic:\%bcc%\INCLUDE\windows\sdk -Lc:\%bcc%\LIB
    set HB_USER_LDFLAGS=-Lc:\%bcc%\LIB;c:\%bcc%\LIB\psdk
    c:\harbour\bin\hbmk2.exe showerr.hbp -comp=bcc


Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h 18147: Functions containing for are not expanded inline
+ Full parser context
+ showerr.PRG, line 44: #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
+ showerr.PRG, line 44: #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
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 » Fri Sep 20, 2024 2:20 pm

Code: Select all  Expand view  RUN
Error F0029  Can't open #include file 'DrXlsx.ch'
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: GOT 64 Bit Version running

Postby Jimmy » Fri Sep 20, 2024 4:05 pm

hi,

as i can say, i can reduce CODE to 1 Line to produce the Error
Code: Select all  Expand view  RUN
   #include "FIVEWIN.ch"
    PROcedure main
    msginfo("show error")
    return

    #pragma BEGINDUMP
    #include <ShlObj.h>     // this Line make the Error
    #pragma ENDDUMP
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 » Fri Sep 20, 2024 5:10 pm

I tried your sample with MSC32, MSC64, BCC32 and BCC64: no errors nor warnings. Can I see your compile batch?
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: GOT 64 Bit Version running

Postby Jimmy » Sat Sep 21, 2024 3:58 am

hi,
Enrico Maria Giordano wrote:I tried your sample with MSC32, MSC64, BCC32 and BCC64: no errors nor warnings. Can I see your compile batch?

showerr.bat
Code: Select all  Expand view  RUN
   set bcc=bcc770
    set path=c:\%bcc%\bin
    set HB_USER_CFLAGS=-Ic:\%bcc%\INCLUDE\windows\crtl -Ic:\%bcc%\INCLUDE\windows\sdk -Lc:\%bcc%\LIB
    set HB_USER_LDFLAGS=-Lc:\%bcc%\LIB;c:\%bcc%\LIB\psdk
    c:\harbour\bin\hbmk2.exe showerr.hbp -comp=bcc


showerr.HBP
Code: Select all  Expand view  RUN
   -gui -mt
-w-inl

showerr.PRG

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

-lfiveh
-lfivehc
-luxtheme
-lDrXlsx32_bcc

hbct.hbc
xhb.hbc
hbziparc.hbc


SHOERR.PRG
Code: Select all  Expand view  RUN
#include "FIVEWIN.ch"

PROcedure main
msginfo("show error")
return

#pragma BEGINDUMP
#include <ShlObj.h>
#pragma ENDDUMP


give me this Error under 32 Bit OS Microsoft Windows [Version 10.0.19045.4894]
Warning W8027 c:\bcc770\INCLUDE\windows\sdk\shobjidl_core.h 18147: Functions containing for are not expanded inline
+ Full parser context
+ showerr.PRG, line 8: #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
+ showerr.PRG, line 8: #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 ***

all on 32 Bit OS
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 » Sat Sep 21, 2024 7:45 am

Sorry, hbmk2.exe does not work (and never worked) for me. Please try with a simple batch.
User avatar
Enrico Maria Giordano
 
Posts: 8716
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi and 60 guests