Page 1 of 1
BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 7:39 am
by Jimmy
hi,
what is in c:\BCC7\include\*.*
i have only Sub Folder
c:\BCC7\include\dinkumware\
c:\BCC7\include\windows\
but no other Files like *.H
---
i want to use
c:\fwh\source\winapi\listview.c
c:\fwh\source\classes\tlistvie.prg
for a new CLASS TGrid
i have rename HB_FUNC() in listview.c and also in tlistvie.prg with new "Prefix" to avoid "dupe" Warning
i use c:\fwh\samples\buildh.bat and
bcdir=c:\bcc7
and get Warning missing "Windows.h" ...
---
so what must i do
how can use modify listview.c for new Project TGrid

Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 7:43 am
by Antonio Linares
Dear Jimmy,
It seems as you are using an uncomplete bcc7
In those folders there should be lots of header files
Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 7:44 am
by Antonio Linares
If you post your code here then we will review it and build it
Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 8:07 am
by Jimmy
Antonio Linares wrote:It seems as you are using an uncomplete bcc7
In those folders there should be lots of header files
that is what i thought
where do i get a complete Version or can i use BCC 5.83 \INCLUDE Files

Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 9:12 am
by Antonio Linares
Dear Jimmy,
Please check your email, I sent you the official URLs to download it
Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 9:31 am
by Jimmy
hi Antonio,
Antonio Linares wrote:Please check your email, I sent you the official URLs to download it
did you send it to @WEB,DE ?
i have not got a Email ,,, WEB.DE often refuse Mail ...
Re: BCC 7 32 Bit \INCLUDE
Posted: Sun Oct 16, 2022 3:01 pm
by Antonio Linares
Re: BCC 7 32 Bit \INCLUDE
Posted: Mon Oct 17, 2022 6:21 am
by Jimmy
hi Antonio,
using your LVCOLUMN Sample i recognize that i use "C" Source wrong.
i have try
which give me Warnings
---
when use it in same PRG
Code: Select all | Expand
#pragma BEGINDUMP
#include <windows.h>
#include <commctrl.h>
#include <hbapi.h>
HB_FUNC(...)
#pragma ENDDUMP
i get no Warning about "missing"

Re: BCC 7 32 Bit \INCLUDE
Posted: Mon Oct 17, 2022 6:38 am
by Antonio Linares
Dear Jimmy,
there are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP
can you use it for now inside the PRG ?
Re: BCC 7 32 Bit \INCLUDE
Posted: Mon Oct 17, 2022 8:12 am
by Jimmy
hi Antonio,
Antonio Linares wrote:there are some differences if you want to use it as a standalone C file or inside a PRG using #pragma BEGINDUMP ... ENDDUMP
Ok, begin to understand
Antonio Linares wrote:can you use it for now inside the PRG ?
not sure if HB_FUNC() is working ... but i get no Warning when compile
i do "add" those HB_FUNC() which i "think" is need ... just search for Listview_Macro in Source
those HB_FUNC() later are used in CLASS TGrid()
i will present CLASS TGrid() when have a working Sample but it will take some Time ...