Search found 29 matches: memset

Return to advanced search

Saber Ip Publico

... { char szPath[256], szRead[128], szRet[256]; char szSite[] = "http://checkip.dyndns.org/Current IP Check.htm"; char *Token; char *cRet; memset(szPath,0,sizeof(szPath)); memset(szRet,0,sizeof(szRet)); GetTempPath(256, szPath); strcat(szPath, "my_ip.txt"); if( URLDownloadToFile(0, ...
by Busmatic_wpb
Fri Dec 07, 2018 2:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Ip Publico
Replies: 1
Views: 607

Re: clipdefs.h 80: Multiple declaration for 'WORD'

... #define _tunlink hb_fsDelete #define _twrite hb_fsWrite #define _txopen hb_fsExtOpen /* Undocumented CA-Cl*pper support functions */ #define _bset memset #define _bmove memmove #define _bcopy memcpy #define _lcopy memcpy #define _ncopyuc hb_strncpyUpper #define _ncopylc hb_strncpyLower #define ...
by Compuin
Fri Apr 14, 2017 7:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: clipdefs.h 80: Multiple declaration for 'WORD'
Replies: 9
Views: 2022

Re: xHarbour 1.2.3 build 20141106

... 22:40 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br> * source/rtl/filebuf.c % optimized to use hb_xgrabz insted of hb_xgrab follows by memset * source/rtl/filenet.c % optimized to use hb_xgrabz insted of hb_xgrab follows by memset * source/rtl/hbgtcore.c % optimized to use hb_xgrabz ...
by Enrico Maria Giordano
Thu Dec 04, 2014 5:09 pm
 
Forum: WhatsNew / Novedades
Topic: xHarbour 1.2.3 build 20141106
Replies: 16
Views: 5821

Re: FiveWin para WinRT (Windows 8 UI moderno)

... MessageBoxA(0,"A native MessageBox!","Test",MB_OK); STARTUPINFO si; memset(&si,0,sizeof(si)); si.cb=sizeof(si); PROCESS_INFORMATION pi; CreateProcessA("c:\\Windows\\system32\\cmd.exe",0,0,0,FALSE,0,0,0,&si,&pi); ...
by elvira
Wed Apr 03, 2013 8:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveWin para WinRT (Windows 8 UI moderno)
Replies: 36
Views: 7302

Lector de huella digital

... encuentro con una variable que no se como definir, el ejemplo que trae en VC es el siguiente: m_pPicture = new BYTE[SENSOR_WIDTH * SENSOR_HEIGHT]; memset(m_pPicture, 0x00, SENSOR_WIDTH * SENSOR_HEIGHT); Sospecho que en esa var se carga la imagen de la huella pero no se como definirla en FWH y ademas ...
by Jorge Jaurena
Tue Mar 19, 2013 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Lector de huella digital
Replies: 1
Views: 589

Re: Valkyrie para Harbour/xHarbour

... esto. #pragma BEGINDUMP #include <windows.h> #include <hbapi.h> HB_FUNC( NEXTMEM ) // --> nHardwareMemory { MEMORYSTATUSEX mst; memset( &mst, 0, sizeof( MEMORYSTATUSEX ) ); mst.dwLength = sizeof( MEMORYSTATUSEX ); GlobalMemoryStatusEx( &mst ); hb_retnll( mst.ullTotalPhys ...
by carlos vargas
Wed Aug 08, 2012 3:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Valkyrie para Harbour/xHarbour
Replies: 23
Views: 6995

Re: WDBU 32/64 bits version

Agregué la memset() como lo indicaste y sí, si compila pero al ejecutarlo se congela. Voy a tratar de hacer un rastreo de variables y te comento.
by Alfredo Arteaga
Tue Sep 13, 2011 1:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WDBU 32/64 bits version
Replies: 15
Views: 3834

Re: WNetAddConnection

I have done in this way: // (add // before this define in 'wce.h')#define _WINNETWK_ NETRESOURCE nr; memset(&nr, 0, sizeof(nr)); nr.lpRemoteName = strBatchFileBINPath.GetBuffer(0); WNetAddConnection3(NULL, &nr, strPasswordAutoLoginPerAccessoRemoto, strUserNameAutoLoginPerAccessoRemoto, ...
by Otto
Sat Jan 01, 2011 8:34 am
 
Forum: FiveWin for Pocket PC
Topic: WNetAddConnection
Replies: 3
Views: 808

Re: _bSet() defined as external on clipapi.h

Reinaldo,

Simply replace _bset() with memset(). Same parameters and it belongs to standard C runtime functions :-)
by Antonio Linares
Thu Oct 14, 2010 12:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: _bSet() defined as external on clipapi.h
Replies: 5
Views: 1088

Re: Ajúda com Declaração - VB / Delphi para FWH

... (LONG _TipoParam, ptPARAM_COLETA _lpParam); HB_FUNC(HB_SCOPEGETPARAM) { stPARAM_COLETA PColeta; PHB_ITEM pArrayPlus; SCOPEGETPARAM pFunc; memset(&PColeta, 0, sizeof(PColeta)); //zera tudo pFunc = (SCOPEGETPARAM) GetProcAddress((HINSTANCE)hb_parnl(3), "ScopeGetParam"); hb_retnl(pFunc(hb_parni(1), ...
by MGA
Thu Aug 12, 2010 5:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ajúda com Declaração - VB / Delphi para FWH (resolvido)
Replies: 2
Views: 953

Re: Funcion _bSet()

Albeiro,

Cambiala por la función memset() estandard del lenguaje C:

http://www.conclase.net/c/librerias/funcion.php?fun=memset
by Antonio Linares
Thu Oct 29, 2009 7:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Funcion _bSet()
Replies: 2
Views: 421

Re: wifi

... conectados. //CONNECTIONINFO es la estructura que //le indica al Connection manager como nos queremos conectar. CONNMGR_CONNECTIONINFO sConInfo; memset (&sConInfo,0, sizeof (CONNMGR_CONNECTIONINFO)); sConInfo.cbSize = sizeof (CONNMGR_CONNECTIONINFO); sConInfo.dwParams = CONNMGR_PARAM_GUIDDESTNET; ...
by Otto
Tue May 19, 2009 11:59 am
 
Forum: FiveWin for Pocket PC
Topic: wifi
Replies: 9
Views: 3225

Re: I not Understand : can Have a lesson from the gurus ?

... #pragma BEGINDUMP #include <hbapi.h> #include <windows.h> #include <aygshell.h> HB_FUNC( DLGFULLSCREEN ) { SHINITDLGINFO shidi; memset( &shidi, 0, sizeof( SHINITDLGINFO ) ); shidi.dwMask = SHIDIM_FLAGS; shidi.hDlg = ( HWND ) hb_parnl( 1 ); shidi.dwFlags = SHIDIF_SIZEDLGFULLSCREEN; ...
by Silvio
Wed May 06, 2009 11:49 am
 
Forum: FiveWin for Pocket PC
Topic: I not Understand : can Have a lesson from the gurus ?
Replies: 6
Views: 1225

Re: SMS question

... NULL); if (hr != ERROR_SUCCESS) { printf ("SmsOpen fail %x %d", hr, GetLastError()); return 0; } // Create the destination address memset (&smsaDestination, 0, sizeof (smsaDestination)); smsaDestination.smsatAddressType = SMSAT_INTERNATIONAL; lstrcpy(smsaDestination.ptsAddress, ...
by jlcapel
Sat Jan 10, 2009 7:52 pm
 
Forum: FiveWin for Pocket PC
Topic: SMS question
Replies: 51
Views: 21628

Problema con al descargar un fichero por ftp

... (phWebConnection, &pdwStatus); if (pdwStatus == CONNMGR_STATUS_CONNECTED) { hb_retnl( (long) 0 ); } else { CONNMGR_CONNECTIONINFO sConInfo; memset (&sConInfo,0, sizeof (CONNMGR_CONNECTIONINFO)); sConInfo.cbSize = sizeof (CONNMGR_CONNECTIONINFO); sConInfo.dwParams = CONNMGR_PARAM_GUIDDESTNET; ...
by Elias Torres
Thu Nov 20, 2008 11:18 am
 
Forum: FiveWin para Pocket PC
Topic: Problema con al descargar un fichero por ftp
Replies: 9
Views: 2753
Next

Return to advanced search