Search found 918 matches: int

Return to advanced search

Re: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file(SOLVED)

... HB_VMHANDLE HANDLE; c:\harbour\include/clipdefs.h:100:16: error: typedef redefinition with different types ('USHORT' (aka 'unsigned short') vs 'int') typedef USHORT BOOL; c:\harbour\include/clipdefs.h:78:22: error: typedef redefinition with different types ('unsigned int' vs 'unsigned short') ...
by Compuin
Sat Jun 26, 2021 5:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Issue with FWH64/Harbour64/BCC7164 and Mysql.h file
Replies: 61
Views: 4142

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

... included from c:\bcc7164\include\windows\sdk\minwindef.h:183: c:\bcc7164\include\windows\sdk\winnt.h:411:13: warning: redefinition of typedef 'INT' is a C11 feature [-Wtypedef-redefinition] typedef int INT; ^ c:\bcc7164\include\windows\sdk\minwindef.h:177:29: note: previous definition is here ...
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: 4142

Re: Make para BCC10

... command-line and GUI Windows applications. You are welcome and encouraged to use the tools, including for learning C++ or ensuring C++ code you maintain is compatible with this compiler. Basic Information ----------------- To install the Embarcadero C++ 10.1 Berlin Free Command-line Tools, simply ...
by cnavarro
Sun Mar 28, 2021 5:24 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Make para BCC10
Replies: 7
Views: 1121

CRC8

... */ public static String calculate(String input) throws UnsupportedEncodingException { byte[] data = input.getBytes(UTF_8); int len = data.length; byte crc = 0; for (int i = 0; i < len; i++) crc = crc8_table[(crc ^ data [i]) & 0xff]; return String.format("%03d", ...
by landaga
Sat Feb 27, 2021 9:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CRC8
Replies: 2
Views: 441

Re: Inicio con SQlite3 y hbsqlit3.lib

Gracias Joao Muy interesante , le hechare un vistazo tranquilamente. por cierto he descubierto las funciones de la lib y he conseguido compilar, pro si a alguien le interesa las libs a incluir son hbsqlit3.lib pero tambien sqlite3.lib ...
by jvtecheto
Mon Feb 22, 2021 6:32 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Inicio con SQlite3 y hbsqlit3.lib
Replies: 3
Views: 356

Re: Funciones C en Harbour

... un entero largo largo. Si te das cuentas el primer parámetro realmente es un manejador de venta o lo que es lo mismo un puntero a la estructura interna de definición de una ventana. Harbour tiene para eso una función de tipo hb_parxx() es la hb_parptr() que esta definida así: extern HB_EXPORT ...
by xmanuel
Wed Feb 10, 2021 12:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funciones C en Harbour
Replies: 19
Views: 1666

problemas al linkear

Hola. usando harbour y Fwh la ultima. Me arroja estos errores: [1]:iLink32.Exe -Gn -q -aa -Tpe -x @testMaria.bcl Error: Unresolved external 'WinMain' referenced from X:\HARB\BCC7\LIB\C0W32.OBJ Error: Unresolved external '_hb_vmProcessSymbols' referenced from X:\PROYECTOS\TEST\MARIA\OBJ\MARIA.OBJ Err...
by goosfancito
Thu Feb 04, 2021 9:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas al linkear
Replies: 6
Views: 450

Re: New FTDN December/Diciembre 2020 (FWH 20.12)

... nombre de tabla o una consulta SQL. http://forums.fivetechsupport.com/viewtopic.php?f=3&p=236838#p236838 * Corrección: Método SayImage() en printer.prg. Debido a un error en las versiones 20.07 y 20.08, este método genera un error en tiempo de ejecución cuando se ejecuta. Solucionado. Para ...
by Antonio Linares
Mon Dec 28, 2020 3:18 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2553

New FTDN December/Diciembre 2020 (FWH 20.12)

... Fixed. Now the 2nd parameter can be either a table name or sql query. * Fix: method SayImage() in printer.prg: Due to a bug in versions 2007 and 2008, this method raises a runtime error when executed. Fixed now. For details and recommended fix for ...
by Antonio Linares
Mon Dec 28, 2020 10:16 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2020 (FWH 20.12)
Replies: 8
Views: 2553

Al compiliar sbrowse TSBFUNCS.C me marca errores

... hFont, nHeightCell, // nHeightHead, nHeightSuper ) #else HARBOUR HB_FUN_ATSBRWPOSRECT( PARAMS ) #endif { HWND hWnd = (HWND) ; _parni( 1 ) ; int wRow = _parni( 2 ) ; int wCol = _parni( 3 ) ; int wWidth = _parni( 4 ) ; HFONT hFont = (HFONT) _parni( 5 ) ; int wHeight = _parni( 6 ) ; int nHeightHead ...
by noe aburto
Thu Aug 27, 2020 6:26 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Al compiliar sbrowse TSBFUNCS.C me marca errores
Replies: 1
Views: 289

Error calling a service

... "url:127.0.0.1">>exito.txt It receives an info in "archivo,txt", process it, then answers in "exito.txt" and prints a ticket in LPT1 If I call the .bat file directly works with no problem, but if I call it from inside my app with waitrun() or Shellexecute() does ...
by Adolfo
Tue Aug 25, 2020 3:00 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error calling a service
Replies: 7
Views: 760

Re: Ejecutar llamada a servicio.

... de esta rareza. Cree un exe en Pelles C con las siguientes lineas #include <stdio.h> #include <windows.h> #include <shellapi.h> int main() { #define WIN32_DEFAULT_LIBS static char *cmdstr="do.bat"; ShellExecute(NULL,"open",cmdstr,NULL,NULL,SW_HIDE); return ...
by Adolfo
Tue Aug 25, 2020 2:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 1602

convertir gpointer en data

Tengo el siguiente código donde la función KeyPressEvent recive un PHB_ITEM en gpointer pero al convertir no me pasa los valores. Algo estoy haciendo mal ¿si alguien me puede ayuda? g_print("%d %s \n", (int)hb_arrayGetNL( aData, 1 ), (char *)hb_arrayGetC( ...
by jgayoso
Tue Aug 04, 2020 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: convertir gpointer en data
Replies: 1
Views: 377

Re: Pregunta a los expertos en algoritmos

I intended the algorithm for integers. If you want to use values with 2 decimal places, then I suggest you make the array of Int( eachvalue * 100 ). Also, convert the target value to Int( nTarget * 100 ) After finding items, divide by 100 and show it to the user. Algorithms like this ...
by nageswaragunupudi
Tue Jul 28, 2020 4:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pregunta a los expertos en algoritmos
Replies: 5
Views: 775

Re: Ayuda con Mysql

Hola gente, tengo un problema, genero esta tabla: CREATE TABLE Clientes1 ( id int(11) NOT NULL AUTO_INCREMENT, Numero decimal( 6, 0), Domicleg character( 100), Zona decimal( 10, 0), Con_iva decimal( 1, 0), Cuit character( 13), Nombre character( 40), Domic character( ...
by jpcavagnaro
Fri Jul 10, 2020 10:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ayuda con Mysql
Replies: 11
Views: 1954
PreviousNext

Return to advanced search