Search found 44 matches: undef

Return to advanced search

Re: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)

Puedes explicarnos como lo has solucionado ? gracias Agrege a mi prg este porcion #pragma BEGINDUMP #include <hbapi.h> #undef hb_retclen_buffer #undef hb_parldef void hb_retclen_buffer( char * szText, int nLen ) { hb_retclen( szText, nLen ); } int hb_parldef( int iParam, int iDefValue ...
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error al Compilar con Fwh 2307 Bcc76 (Solucionado)
Replies: 5
Views: 285

Re: Listview Unicode for CLASS TGrid()

#define UNICODE    // Made Unicode compatible 2023-07-07#include <CommCtrl.h>#undef UNICODE#include "fwh.h"  Sole purpose of this def and undef is to get the our program defines to work with Wide structures and Wide api functions. Beyond ...
by nageswaragunupudi
Wed Aug 30, 2023 6:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

Listview Unicode for CLASS TGrid()

... the same as AnsiToWide() :?: --- i have now include #define UNICODE    // Made Unicode compatible 2023-07-07#include <CommCtrl.h>#undef UNICODE#include "fwh.h" Question : why "#undef UNICODE" :?: --- now i get Warning Warning W8075 .\\HB_FUNC.PRG 702: Suspicious ...
by Jimmy
Wed Aug 30, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 421

Re: DLLCALL under Fivewin

... Warning W0002  Redefinition or duplicate definition of #define TEST You should work with warnings activated. The correct way is: #define TEST 123 #undef TEST #define TEST "Another" function Main() ? TEST return nil
by Enrico Maria Giordano
Sat Dec 03, 2022 9:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2779

Re: Harbour warnings

... /q quiet /q0 quiet and don't display program header /s syntax check only /u[[+]<file>] use command def set in <file> (or none) /undef:<id> #undef <id> /v variables are assumed M-> /vd external functions are assumed as dynamic functions /w[<level>] set warning ...
by hmpaquito
Fri Jun 24, 2022 4:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Harbour warnings
Replies: 34
Views: 2400

harbour v1.x -> v.3x Error

... -iC:\bcc55\Include -iC:\harbour\include -ic:\hmg.3.4.4\HARBOUR\contrib\hbxpp -ic:\hmg.3.4.4\HARBOUR\contrib\gtwvg -iC:\harbour\contrib\hbwin -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__ Harbour 3.0.0 (Rev. 16951) Copyright (c) 1999-2011, http://harbour-project.org/ ...
by Jimmy
Thu Oct 17, 2019 10:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: harbour v1.x -> v.3x Error
Replies: 2
Views: 516

Re: Pritpal, HBIDE developer, assists us to use it with FWH

... -iC:\bcc55\Include -iC:\harbour\include -ic:\hmg.3.4.4\HARBOUR\contrib\hbxpp -ic:\hmg.3.4.4\HARBOUR\contrib\gtwvg -iC:\harbour\contrib\hbwin -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__ Harbour 3.0.0 (Rev. 16951) Copyright (c) 1999-2011, http://harbour-project.org/ ...
by Jimmy
Thu Oct 17, 2019 7:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pritpal, HBIDE developer, assists us to use it with FWH
Replies: 293
Views: 99845

Re: Qué es lo erróneo?

... asignado a DEFINE USAR_PRINTLIB mediante la funcion Type(NombreFunctEnLib), (que lo toma correctamente), es usar ese valor (cuando es 0) para #UNDEF USAR_PRINTLIB. No lo veo posible por dos motivos: Primero, como comenté la evaluacion de Type() se realiza en tiempo de ejecución y Segundo, Harbour ...
by hmpaquito
Wed Jan 16, 2019 8:28 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué es lo erróneo?
Replies: 9
Views: 2018

Re: Qué es lo erróneo?

... asignado a DEFINE USAR_PRINTLIB mediante la funcion Type(NombreFunctEnLib), (que lo toma correctamente), es usar ese valor (cuando es 0) para #UNDEF USAR_PRINTLIB. Posteriormente usariamos en el menu: MENUITEM "Opciones" MENU MENUITEM "UNO" ACTION XXX #IFDEF USAR_PRINTLIB ...
by FranciscoA
Tue Jan 15, 2019 8:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué es lo erróneo?
Replies: 9
Views: 2018

Re: Qué es lo erróneo?

... 0, 1 ) MSGINFO( USAR_PRINTLIB ) if USAR_PRINTLIB == 0 //Aqui salta el error en tiempo de compilacion Error E0025 Error in #if expression // #undef USAR_PRINTLIB MsgInfo("NO ESTA LINKEADA") endif Return nil Saludos Eduardo Borondon Muñiz
by EBM
Tue Jan 15, 2019 6:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Qué es lo erróneo?
Replies: 9
Views: 2018

Re: Includes en .prg

... previa tendrás problemas ya que usará el primero. 2.- Es poco elegante e ilegible. Lo mejor es un include y usar lo que te dice Cristobal: #ifdef #undef #define etc Muchas gracias a todos!!
by Compuin
Fri Nov 02, 2018 12:05 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Includes en .prg (SOLUCIONADO)
Replies: 6
Views: 1085

Re: Includes en .prg

Si es posible...
Pero dos cosas al respecto...
1.- Ponlo al principio de tu PRG por que si hay una definición previa tendrás problemas ya que usará el primero.
2.- Es poco elegante e ilegible.

Lo mejor es un include y usar lo que te dice Cristobal:
#ifdef
#undef
#define
etc
by xmanuel
Fri Nov 02, 2018 11:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Includes en .prg (SOLUCIONADO)
Replies: 6
Views: 1085

Re: Building Harbour 3.4 for BCC outside MSYS

... -iC:\Program Files\Embarcadero\Studio\18.0\Include\windows\sdk -ic:\harbour\include -ic:\fwh\include -undef:.ARCH. -D__PLATFORM__WINDOWS -D__LITTLE_ENDIAN__ -D__ARCH32BIT__ Harbour 3.2.0dev (r1703231115) Copyright (c) 1999-2016, http://harbour-project.org/ ...
by byte-one
Fri Dec 08, 2017 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Building Harbour 3.4 for BCC outside MSYS
Replies: 87
Views: 17413

Re: Building TensorFlow using Borland 7 32 bits

... Eigen will include Windows.h, which defines various // macros that conflict with TensorFlow symbols. Undefine them here to // prevent clashes. #undef DeleteFile #undef ERROR #undef LoadLibrary #endif // _WIN32
by Antonio Linares
Fri Aug 04, 2017 7:07 pm
 
Forum: TensorFlow.dll for Harbour and FWH
Topic: Building TensorFlow using Borland 7 32 bits
Replies: 5
Views: 1385

Re: Looking for cliparse.zip / Buscando cliparse.zip

... 03 00 0006 (13) SYMF [QOUT] 13 02 00 0009 (01) PUSHC "Hello world!" 01 ... 0018 (27) DO(1) 27 01 00 001B (2A) LINE 5 2A 05 00 001E (7B) UNDEF 7B 001F (79) SAVE_RET 79 0020 (1E) JMP 0023 1E 00 00 0023 (60) ENDPROC 60 We could define a pcode.h file to better read that pcode: pcode.h #define ...
by Antonio Linares
Mon Oct 24, 2016 7:51 am
 
Forum: Off Topic / Otros temas
Topic: Looking for cliparse.zip / Buscando cliparse.zip
Replies: 6
Views: 2375
Next

Return to advanced search