Search found 741 matches: null

Return to advanced search

Re: ayuda con uso de hb_xfree

... imprime información de seguimiento en la consola. Se verifica si pItem es nulo. Si es así, se crea un nuevo objeto PHB_ITEM utilizando hb_itemNew(NULL). Si pItem ya existe y es un objeto complejo (verificado con HB_IS_COMPLEX(pItem)), se llama a hb_itemClear(pItem) para limpiar el objeto. Se establece ...
by Antonio Linares
Mon Apr 29, 2024 6:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 188

Re: ayuda con uso de hb_xfree

Carlos,

> hb_itemPutCLPtr(pItem, szResult, lLen);

Ese pItem que usas es NULL ó fué creado con hb_itemNew( NULL ); ?

Si es NULL, entonces se crea uno nuevo que tienes que liberar. Si pItem no es NULL, el que tendrás que liberar es pItem.
by Antonio Linares
Sun Apr 28, 2024 4:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 188

ayuda con uso de hb_xfree

...  ( PHB_ITEM pItem, char * szText, HB_SIZE nLen ); ! hb_itemPutCPtr(), hb_itemPutCLPtr() fixed to put empty string to item if szText is NULL and length is non-zero, instead of trying to free NULL pointer causing internal error. * contrib/examples/rdddbt/dbfdbt1.c * I did a mistake in ...
by carlos vargas
Sun Apr 28, 2024 2:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con uso de hb_xfree
Replies: 6
Views: 188

Re: Ayuda C++ : SOLUCIONADO

... la impresora por defecto no pueder ser PDF24 O PDFCREATOR (VIRTUALES) HB_FUNC_STATIC( STARTDOC ) { HDC hDC = (HDC) hb_parnl(1) ; LPDOCINFO sDoc = NULL; BOOL Result = FALSE ; if (hDC ) { sDoc = (LPDOCINFO) hb_xgrab(sizeof(DOCINFO)); sDoc->cbSize= sizeof(DOCINFO) ; sDoc->lpszDocName= hb_parc(2) ...
by russimicro
Fri Apr 19, 2024 9:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda C++ : SOLUCIONADO
Replies: 12
Views: 345

Re: How to include hbCurl?

... Your request doesn't appear to be valid JSON: Parse error on line 1: tags: { name: tag1, ^ Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
by Marc Venken
Wed Mar 20, 2024 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to include hbCurl?
Replies: 13
Views: 3007

Por qué el error en este SELECT?

... Con navicat reviso la tabla cuando esta vacía y me muestra un registro con todo los campos a NULL. Esta es la estructura de la tabla, por si sirve de apoyo a su respuesta     cCmdSql := "CREATE TABLE IF NOT EXISTS HdrOdc (" +;      ...
by Armando
Fri Mar 01, 2024 7:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Por qué el error en este SELECT?
Replies: 9
Views: 325

Data exchange between PC and Android device on the same loca

... the CORS rules, generating the error: Access to XMLHttpRequest at 'http://192.168.1.110/cgi-bin/menu_jmg.hrb?qry=ASKING_SIMPLE_TEXT' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Which means it doesn't find the ...
by Arturo Lopesoria
Tue Feb 20, 2024 11:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Data exchange between PC and Android device on the same loca
Replies: 17
Views: 826

Intercambio de datos entre PC y dispositivo Android en la m

... las normas CORS, generando el error: Access to XMLHttpRequest at 'http://192.168.1.110/cgi-bin/menu_jmg.hrb?qry=ASKING_SIMPLE_TEXT' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Lo que significa que no encuentra ...
by Arturo Lopesoria
Tue Feb 20, 2024 10:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Intercambio de datos entre PC y dispositivo Android en la m
Replies: 2
Views: 223

Re: come recuperare il codice fivewin da .c file

... 11, /* DBSELECTAREA */ HB_P_PUSHNIL, HB_P_PUSHVARIABLE, 2, 0, /* CD */ HB_P_DOSHORT, 1, HB_P_ENDPROC /* 00121 */ }; hb_vmExecute( pcode, symbols, NULL ); } PROCEDURE APRIDBCONPASSWORD( PASSWORD, NOME )   IF PASSWORD == NIL      PASSWORD := "LORRY"  ...
by Antonio Linares
Mon Feb 12, 2024 9:55 pm
 
Forum: All products support
Topic: come recuperare il codice fivewin da .c file
Replies: 7
Views: 467

Re: Conectarse con mariaDB

... #include <mysql/mysql.h> int main() { MYSQL *conn; MYSQL_RES *res; MYSQL_ROW row; // Initialize the MySQL connection conn = mysql_init(NULL); // Replace these with your MySQL server details const char *host = "localhost"; const char *user = "your_username"; const ...
by Antonio Linares
Mon Jan 01, 2024 2:55 pm
 
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: Conectarse con mariaDB
Replies: 4
Views: 10775

Re: Xbase++ :lockUpdate() -> Fivewin ?

Antonio yo la dejaría como al principio pero usando hb_parptr:
Code: Select all  Expand view

HB_FUNC( LOCKWINDOWUPDATE )
{
   hb_retl( LockWindowUpdate( ( HWND ) hb_parptr( 1 ) ) );
}
 


hb_parptr() devuelve NULL si no se pasa nada que exactamente. lo que se quiere.
:)
by xmanuel
Fri Nov 03, 2023 12:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbase++ :lockUpdate() -> Fivewin ?
Replies: 10
Views: 785

Re: App Termination and Relaunch.

... a. `ShellExecute`: ```cpp #include <Windows.h> int main() { // Terminate the current instance // Relaunch the application ShellExecute(NULL, L"open", L"your_app.exe", NULL, NULL, SW_SHOWNORMAL); return 0; } ``` In this example, replace `"your_app.exe"` ...
by Antonio Linares
Fri Oct 06, 2023 6:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: App Termination and Relaunch.
Replies: 5
Views: 413

Consultando una api

... NACIONAL DE ADUANAS Y DE ADMINISTRACION TRIBUTARIA - SUNAT","nombreComercial":null,"telefonos":[],"tipo":null,"estado":"ACTIVO","condicion":"HABIDO","direccion":"AV. ...
by lubin
Thu Oct 05, 2023 6:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consultando una api
Replies: 1
Views: 288

Re: eMail with html

... the body of the e-mail (and not include the attachment). --- Officially, Simple MAPI does not support HTML. If you however set the message body to NULL (not just an empty string), and the very first attachment is an HTML file, the outgoing message will be HTML populated from the atttachment data. ...
by Jimmy
Sun Sep 24, 2023 9:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: eMail with html
Replies: 2
Views: 263
Next

Return to advanced search