Search found 56 matches: malloc

Return to advanced search

Error al montar la aplicación.

Antonio a partir de un cambio de ordenador, estamos intentando monta la aplicacion en el nuevo y nos muestra estos errores. Creating library Factu.lib and object Factu.exp rtl.lib(hbregex.obj) : error LNK2019: unresolved external symbol pcre_exec refer enced in function hb_regexec rtl.lib(hbregex.ob...
by manuelcalerosolis
Thu Jul 02, 2009 11:28 am
 
Forum: FiveWin para Pocket PC
Topic: Error al montar la aplicación.
Replies: 1
Views: 530

Re: Download internet file without interference

Hello All, I am on Harbour 1.1.0dev (Rev. 10716) I have hbtip.lib in my buildh.bat and all programs compile ok except when I try to add turl code to my program. If I add this to my program: oConn := TipClientHttp():New(TURL():New(cUrl)) I get this error: Error: Unresolved external '_pcre_config' ref...
by Dave Zowasky
Fri May 01, 2009 1:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Download internet file without interference
Replies: 31
Views: 8855

Re: SMS question

... dwRead = 0; hr = SmsGetMessageSize (smshHandle, &dwSize); if (hr != ERROR_SUCCESS) { dwSize = 1024; return 0; } char *pMessage = (char *)malloc (dwSize+1); memset (&tpsd, 0, sizeof (tpsd)); hr = SmsReadMessage (smshHandle, NULL, &smsaDestination, NULL, (PBYTE)pMessage, dwSize, ...
by jlcapel
Sat Jan 10, 2009 7:52 pm
 
Forum: FiveWin for Pocket PC
Topic: SMS question
Replies: 51
Views: 22535

... :-) Estoy en ello, pero OrdWildSeek() sólo trabaja con CDX si no me equivoco, generaré el índice en CDX. Por cierto, la versión de la rutina sin malloc() y sin free(), no es que vuele, es que vuela a reación... Saludos!
by triumvirato
Fri Sep 12, 2008 7:26 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: SubNtx
Replies: 34
Views: 9896

Ruben,

Comprueba que tengas un fichero customer.ntx y que no esté abierto por una aplicación. Aqui funciona de lujo :-)

Y la versión sin malloc() y free(), es que vuela! :-D
by Antonio Linares
Thu Sep 11, 2008 12:41 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SubNtx
Replies: 34
Views: 9896

En esta versión he eliminado el uso de malloc() y free() para conseguir más velocidad aún :-) http://www.fivetechsoft.com/files/utilities/ntxview2.zip #define MAX_KEY 256 #define BUF_SIZE 1024 typedef struct { unsigned short int type; unsigned ...
by Antonio Linares
Thu Sep 11, 2008 12:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SubNtx
Replies: 34
Views: 9896

... use most of your swap space, then you may run out. A system that is "out of memory" can become fragile. Many programs do not react gracefully when malloc() returns 0. With newer Linux kernels, the kernel may decide to kill some processes to regain memory, and you may not like the kernel's choice ...
by karinha
Fri Oct 19, 2007 11:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: proteger exe contra debuggers y cracks
Replies: 16
Views: 6890

new fivewin unresolved externals MSVC

I have just purchased new version of FWH. I'm trying to compile and Link with MSVC++ 6.0 (I'm normally a borland user). The compile step works but the link step has many unresolved errors. I'm using buildxm.bat to compile one of the sample programs. What am I missing? Here are the errors: ┌ ...
by don lowenstein
Wed Aug 15, 2007 7:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: new fivewin unresolved externals MSVC
Replies: 5
Views: 4095

... ) { // Intentional to avoid report of memory leak if fatal error. char *sTemp = WideToAnsi( excep.bstrDescription ); sDescription = (char *) malloc( strlen( sTemp ) + 1 ); strcpy( sDescription, sTemp ); hb_xfree( sTemp ); } else { sDescription = Ole2TxtError(); } //TraceLog( NULL, "Desc: ...
by ask
Tue Dec 27, 2005 10:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to send email from within FWH25?
Replies: 29
Views: 14188

... With Harbour you have to use hb_xgrab() and hb_xfree() instead of malloc() and free().
by Antonio Linares
Wed Nov 16, 2005 1:30 pm
 
Forum: FiveWin for Pocket PC
Topic: Pocket PC serial number
Replies: 10
Views: 4227

Re: Pocket PC serial number

... DWORD dwBytesReturned =0; DEVICE_ID* pDevID; int wSize; if (NULL == pGuid) return FALSE; memset(pGuid, 0, sizeof(GUID)); pDevID = (DEVICE_ID*)malloc(sizeof(DEVICE_ID)); memset(pDevID, 0, sizeof(DEVICE_ID)); pDevID->dwSize = sizeof(DEVICE_ID); fRes = KernelIoControl( IOCTL_HAL_GET_DEVICEID, ...
by claudio.driussi
Wed Nov 16, 2005 8:32 am
 
Forum: FiveWin for Pocket PC
Topic: Pocket PC serial number
Replies: 10
Views: 4227
Previous

Return to advanced search