Search found 321 matches: ifdef

Return to advanced search

Re: Request : function GetSerialCol()

hi, You may comment out #ifdef and #endif in your copy and test. i do have include Copy of PGSUPORT.PRG and it work like i need p.s. have also include copy of METHOD SavePQQ() CLASS TDataRow to work with GetSerialCol() as currval() is ...
by Jimmy
Mon Sep 25, 2023 1:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : function GetSerialCol()
Replies: 8
Views: 581

Re: Request : function GetSerialCol()

You may comment out #ifdef and #endif in your copy and test.
by nageswaragunupudi
Mon Sep 25, 2023 4:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Request : function GetSerialCol()
Replies: 8
Views: 581

Re: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?

... + "___record_seq')" + ","   --- i found in c:\fwh\source\function\pgsuport.prg function FWPG_PrimaryKeys( oQry, cTable ) or #ifdef UNUSEDFUNCS static function GetSerialCol( oQry, aStruct ) it would be nice if METHOD SavePQQ() use these Function for WHERE
by Jimmy
Wed Aug 02, 2023 11:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: METHOD SavePQQ() need "id" or how to use own PRIMARY KEY ?
Replies: 21
Views: 719

Re: hbmk2 and #ifdef

:D
by frose
Sat Jun 03, 2023 8:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 and #ifdef
Replies: 2
Views: 148

Re: hbmk2 and #ifdef

Add -D__NOXHBCOM__ inside hbmk2.hbp
by Antonio Linares
Sat Jun 03, 2023 7:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 and #ifdef
Replies: 2
Views: 148

hbmk2 and #ifdef

trying to switch from xHarbour to Harbour

Have a lot of
Code: Select all  Expand view
#ifdef __NOXHBCOM__
    ...
#endif

in my source prg.

How do I configure go.bat/hbmk2.hbp so that conditional compilation respects '__NOXHBCOM__'?
by frose
Sat Jun 03, 2023 7:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hbmk2 and #ifdef
Replies: 2
Views: 148

Re: mod_harbour + ADS on linux server

... add this lib name to libs.txt: -lrddads 11. In mod_harbour apache.prg modify this to force the use of ADS: #define HB_WITH_ADS // new !!! #ifdef HB_WITH_ADS #define __HBEXTERN__RDDADS__REQUEST #include "../../harbour/contrib/rddads/rddads.hbx" #endif 12. build mod_harbour running ...
by Antonio Linares
Thu Dec 01, 2022 10:17 am
 
Forum: mod_harbour
Topic: mod_harbour + ADS on linux server
Replies: 39
Views: 31182

Re: Get real date from the Internet

#pragma BEGINDUMP

#include <hbapi.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>

#ifdef __BORLANDC__
#include <winsock2.h>
#endif

#include <ws2tcpip.h>
by Antonio Linares
Fri Sep 30, 2022 10:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get real date from the Internet
Replies: 55
Views: 4466

Re: hb_base64 link

Antonio Linares wrote:Dear Enrico,

> you can solve the problem with #ifdef __XHARBOUR__, can't you?

going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it


I dont know...
by Enrico Maria Giordano
Mon Sep 12, 2022 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3482

Re: hb_base64 link

Dear Enrico,

> you can solve the problem with #ifdef __XHARBOUR__, can't you?

going to check if we can wrap a pragma BEGINDUMP ENDDUMP using it
by Antonio Linares
Mon Sep 12, 2022 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3482

Re: hb_base64 link

... So why the same libs for MSC should have any problems? Anyway, (maybe there is something that I am missing) you can solve the problem with #ifdef __XHARBOUR__, can't you?
by Enrico Maria Giordano
Mon Sep 12, 2022 7:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: hb_base64 link
Replies: 57
Views: 3482

Re: 32 Bit BCC7 *.MAK -> 64 Bit ?

... Files for 32 Bit i have nade a working *.MAK using BCC7 for FiveWin and MSVC i do not know how to use a Project File so i wrote #define _WIN64#ifdef _WIN64   #include "FWVLC.PRG"   #include "READM3U.PRG"#endif it does work with BUILDH64 but not "usable" for "other" ...
by Jimmy
Mon Aug 01, 2022 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: 32 Bit BCC7 *.MAK -> 64 Bit ?
Replies: 6
Views: 336

Re: FW Preview user style

... the block with this simple definition you can switch between the original CLASS and the modified CLASS #define MODIFIED_CLASS MODIFIED_CLASS #ifdef MODIFIED_CLASS #include "C:\Entwicklung_2012\print\source\rpreview_BuildButtonBar.prg" #else #include "C:\Entwicklung_2012\print\source\rpreview_STD_BuildButtonBar.prg" ...
by Otto
Sun May 08, 2022 6:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview user style
Replies: 24
Views: 1700

Re: HARU PDF

In response to what version FWH, below is from the FiveWin.ch: #define FWCOPYRIGHT "(c) FiveTech Software, 1993-2015" #ifdef __HARBOUR__ #ifdef __XHARBOUR__ #ifndef __64__ #define FWVERSION "FWHX 15.10" #define FWDESCRIPTION "FiveWin for xHarbour" #else #define ...
by byron.hopp
Mon Mar 28, 2022 7:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: HARU PDF
Replies: 8
Views: 616

Re: Know the size of a font selected

... := 0 IF oFont != nil oFont:Activate( ::oPrn:hDCOut ) ENDIF // 1,2 transparent or Opaque SetbkMode( ::oPrn:hDCOut, nBkMode ) IF nClrText != NIL #IFDEF __HARBOUR__ SetTextColor( ::oPrn:hDCOut, nClrText ) #ELSE SetTextCol( ::oPrn:hDCOut, nClrText ) #ENDIF ENDIF DO CASE CASE nPad == 1 // right nCol ...
by Otto
Tue Nov 03, 2020 10:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Know the size of a font selected - Resolved -
Replies: 9
Views: 1324
Next

Return to advanced search