GOT 64 Bit Version running

User avatar
Jimmy
Posts: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Post by Jimmy »

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

#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

    -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

    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: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Post by Jimmy »

hi,

as i can say, i can reduce CODE to 1 Line to produce the Error

Code: Select all | Expand

    #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
Enrico Maria Giordano
Posts: 8734
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Been thanked: 1 time
Contact:

Re: GOT 64 Bit Version running

Post by Enrico Maria Giordano »

I tried your sample with MSC32, MSC64, BCC32 and BCC64: no errors nor warnings. Can I see your compile batch?
User avatar
Jimmy
Posts: 1734
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: GOT 64 Bit Version running

Post by Jimmy »

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

    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

    -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

#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
Enrico Maria Giordano
Posts: 8734
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Been thanked: 1 time
Contact:

Re: GOT 64 Bit Version running

Post by Enrico Maria Giordano »

Sorry, hbmk2.exe does not work (and never worked) for me. Please try with a simple batch.
Post Reply