Search found 64 matches: declarations

Return to advanced search

Re: De *.C Para *.Obj en BCC74 no funciona más.

I need the C declarations of these C functions:

Code: Select all  Expand view
TWAIN_GetNextSourceName()
TWAIN_GetDefaultSourceName()
by Enrico Maria Giordano
Tue Nov 21, 2023 5:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39473

Re: De *.C Para *.Obj en BCC74 no funciona más.

jhnsnlb wrote:Bcc74 working fine


The problem is not in BCC but in your code. Please, show me the declarations I requested and I will help you.
by Enrico Maria Giordano
Tue Nov 21, 2023 11:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39473

Re: De *.C Para *.Obj en BCC74 no funciona más.

Can I see the declarations of the functions

Code: Select all  Expand view
TWAIN_GetNextSourceName()
TWAIN_GetDefaultSourceName()


?
by Enrico Maria Giordano
Tue Nov 21, 2023 11:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: De *.C Para *.Obj en BCC74 no funciona más.
Replies: 84
Views: 39473

Re: Interesting discussion with ChtGPT

... does so linking back, actually, to the Clipper days. Look at the generalizations. It keeps comparing to Clipper, but the arguments, to me, fail: Declarations: Having to specify Data Type is certainly not new. It pre-dates Clipper ( an old, DOS, compiler ) in many languages. Harbour frees us from ...
by TimStone
Mon Nov 06, 2023 10:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Interesting discussion with ChtGPT
Replies: 15
Views: 1241

Re: Create a variable

Natter wrote:Hi,

To create a variable, I can write, for example: LOCAL AAA
Is it possible to create such a variable programmatically ?


No.
Because, the local declarations must be available to the compiler.

Ofc, you can create private variables at runtime.
by nageswaragunupudi
Wed Nov 16, 2022 7:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a variable
Replies: 11
Views: 736

Issue with FWH64/Harbour64/BCC7164 and Mysql.h file

... c:\bcc7164\include\windows\sdk\winuser.h:1154:5: warning: declaration does not declare anything [-Wmissing-declarations] MOUSEHOOKSTRUCT DUMMYSTRUCTNAME; ^~~~~~~~~~~~~~~ c:\bcc7164\include\windows\sdk\winuser.h:13112:5: warning: declaration does not declare ...
by Compuin
Fri Jun 25, 2021 7:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4077

Re: PAINTSTRUCT ps

Antonio Linares wrote:In C code all variables declarations must go before the code, so please move that line here:

that happens when a Newbie like me copy/paste HB_FUNC code.
Thx for Advice

p.s. can i still use hb_* in HB_FUNC or do i need fw_* Syntax :?:
by Jimmy
Wed Dec 18, 2019 10:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PAINTSTRUCT ps
Replies: 3
Views: 445

Re: PAINTSTRUCT ps

In C code all variables declarations must go before the code, so please move that line here: HB_FUNC(BMP_PAINT){   HWND hWnd;   HBITMAP hBitmap;   HDC memDC, hDC;   RECT rect;  ...
by Antonio Linares
Wed Dec 18, 2019 5:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: PAINTSTRUCT ps
Replies: 3
Views: 445

Re: Orientación para migración desde visual flagship

... ^ source/winapi/printers.c: In function ‘HB_FUN_CREATEPRINTER’: source/winapi/printers.c:16:7: warning: ‘g_type_init’ is deprecated [-Wdeprecated-declarations] g_type_init(); ^ In file included from /usr/include/glib-2.0/gobject/gobject.h:24:0, from /usr/include/glib-2.0/gobject/gbinding.h:29, ...
by alfaguilarz
Wed Nov 06, 2019 5:52 am
 
Forum: FiveLinux / FiveDroid (Android)
Topic: Orientación para migración desde visual flagship
Replies: 5
Views: 7964

Re: Rpreview issues - PDF

...    hMeta := GetEnhMetaFile(f[1])        hMeta := GetEnhMetaFile(f)  4) Got two undeclared symbols and so I added these two local variable declarations (i) static proc pdf_Header(pdf,pRecord,pTable)   local page // GNR  (ii) static proc pdf_TextOut(page,pRecord)LOCAL i // ...
by nageswaragunupudi
Thu May 09, 2019 10:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Rpreview issues - PDF
Replies: 58
Views: 7328

Re: Ribbon Theme

... I typically use a small button bar above the ribbon bar, but when I add the following to the BuildRibbon function, immediately after the local declarations, the layout is no longer correct, apparently because the top of the ribbon bar location gets pushed down. I would try putting the button ...
by James Bott
Wed May 01, 2019 11:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28227

Re: Ribbon Theme

... I typically use a small button bar above the ribbon bar, but when I add the following to the BuildRibbon function, immediately after the local declarations, the layout is no longer correct, apparently because the top of the ribbon bar location gets pushed down. DEFINE BUTTONBAR oBar SIZE 22, ...
by rhlawek
Sun Apr 28, 2019 2:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Theme
Replies: 163
Views: 28227

Re: 3rd party c wrapper functions for harbour

Reinaldo, > You will probably have to comment the line that includes TOCRdll.h and instead create prototypes using harbour vm declarations This is not needed at all. The transym.prg that I have posted compiles fine using the TOCRdll.h header file I have tried to create the import library ...
by Antonio Linares
Sun Mar 26, 2017 7:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7389

Re: 3rd party c wrapper functions for harbour

... build using Borland c++ 5.82. You will probably have to comment the line that includes TOCRdll.h and instead create prototypes using harbour vm declarations. For example, this EXTERN_C long WINAPI TOCRInitialise(long *JobNo);  Needs to change to this: extern long TOCRInitialise(long ...
by reinaldocrespo
Sun Mar 26, 2017 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7389

Re: 3rd party c wrapper functions for harbour

Well, thank you. I did not know the compiler assumed int. However, with my revised code that includes prototype declarations, I still have the same problem. Code with prototypes is shared on my previous entry on this thread. I have placed all the files needed to recreate the project ...
by reinaldocrespo
Sun Mar 26, 2017 6:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 3rd party c wrapper functions for harbour
Replies: 26
Views: 7389
Next

Return to advanced search

cron