Search found 46 matches: ulong

Return to advanced search

Re: How Translate this function in Delphi to FWH

... <cFileName> - file name Returns: ASCII hex MD5 digest as 32-byte string empty string on error C functions: void hb_md5( const void * data, ULONG datalen, char * digest ) Parameters: data - input byte stream datalen - input stream length digest - raw (unformatted) MD5 digest buffer (at least ...
by Antonio Linares
Thu Oct 22, 2009 12:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How Translate this function in Delphi to FWH
Replies: 2
Views: 561

Dispositivos Bluetooth. Una de WSA

... -1 este es mi codigo: #ifdef __HARBOUR__ HARBOUR HB_FUN_WSALOOKUPSERVICEBEGIN( PARAMS ) #else CLIPPER WSALOOKUPSERVICEBEGIN( PARAMS ) #endif { ULONG dwControlFlags; HANDLE lphLookUp; WSAQUERYSET wsaqueryset; dwControlFlags = LUP_CONTAINERS; dwControlFlags |= LUP_RETURN_NAME; dwControlFlags ...
by softruz
Thu Jun 18, 2009 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dispositivos Bluetooth. Una de WSA
Replies: 0
Views: 316

space and diskinfo

How cal this function ? HB_FUNC (MEMINFO) { MEMORYSTATUS st; GlobalMemoryStatus (&st); hb_reta (4); hb_stornl ((ULONG) st.dwMemoryLoad, -1, 1); hb_stornl ((ULONG) st.dwTotalPhys, -1, 2); hb_stornl ((ULONG) st.dwTotalVirtual, -1, 3); hb_stornl ((ULONG) st.dwAvailVirtual, -1, 4); ...
by Silvio
Wed May 06, 2009 11:10 pm
 
Forum: FiveWin for Pocket PC
Topic: space and diskinfo
Replies: 3
Views: 543

... quando se usa DBFCDX o xhb chama as seguintes funções: 1) HB_FUNC( DBRLOCK ) <- dbcmd.c 2) static ERRCODE hb_dbfLockRecord( DBFAREAP pArea, ULONG ulRecNo, BOOL * pResult, BOOL bExclusive ) <- dbf1.c Usando SQLWIN é chamado: 1) HB_FUNC( DBRLOCK ) <- dbcmd.c 2) static function SQL_LOCK( ...
by Rossine
Thu Oct 23, 2008 6:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SQLWIN - RDD libre para SQL
Replies: 95
Views: 44836

Quique, Puedes enviar mensajes a un objeto desde C usando esta funcion: PHB_ITEM hb_objSendMsg( PHB_ITEM pObject, const char *sMsg, ULONG ulArg, ... ) Ojo, hWnd no es un objeto de Harbour sino un handle de Windows. Tendrias que pasar oWnd a la funcion en C para acceder al objeto con esa ...
by Antonio Linares
Mon Jun 09, 2008 10:09 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿como conocer las propiedades de los objetos en C?
Replies: 10
Views: 1565

... by reference */ hb_storc( char * szText, int iParam, ... ); /* stores a szString on a variable by reference */ Tambien había visto hb_reta( ULONG ulLen ); /* returns an array with a specific length */, pero no sabía como cargar los valores :D Tuve un pequeño problema para hacer trabajar ...
by ARCC
Sat Mar 22, 2008 4:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: AYUDA CON API'S
Replies: 10
Views: 2195

... if a dialog box is displayed, it is application modal. If the ulUIParam parameter contains a parent window handle, it is of type HWND (cast to a ULONG). If no dialog box is displayed during the call, ulUIParam is ignored. Its explained at: http://msdn2.microsoft.com/en-us/library/ms527908.aspx ...
by Antonio Linares
Thu May 31, 2007 7:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPISendMail forcing calling FWH app MODAL
Replies: 3
Views: 2214

MC1000

... { HWND hWnd; BOOL lRet = FALSE; LPWSTR pW = AnsiToWide( hb_parc( 1 ) ); hWnd = FindWindow ( NULL,pW); if (hWnd) { SetForegroundWindow ((HWND) ((ULONG) hWnd |0x01)); lRet = TRUE; } hb_retl( lRet ); } HB_FUNC (BATTERYLIFE) { BOOL iRet; SYSTEM_POWER_STATUS_EX status; iRet = GetSystemPowerStatusEx ...
by ramirezosvaldo
Mon Mar 26, 2007 5:26 pm
 
Forum: FiveWin para Pocket PC
Topic: MC1000
Replies: 8
Views: 3899

... static void PressButton(HWND hwnd); #endif //------------ Public functions #ifdef _WIN32 // Win32 DLL main BOOL WINAPI DllMain(HANDLE hModule, ULONG ulEvent, LPVOID lpReserved) { switch (ulEvent) { case DLL_PROCESS_DETACH: //TWAIN_UnloadSourceManager(); break; case DLL_PROCESS_ATTACH: #ifdef ...
by areang
Mon Aug 07, 2006 3:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Please teach me about FWH and xHarbour
Replies: 3
Views: 4275

i have new xcommand with command DEFINE WINDOW

... { HWND hWnd; BOOL lRet = FALSE; LPWSTR pW = AnsiToWide( hb_parc( 1 ) ); hWnd = FindWindow ( NULL,pW); if (hWnd) { SetForegroundWindow ((HWND) ((ULONG) hWnd |0x01)); lRet = TRUE; } hb_retl (lRet); } #pragma ENDDUMP ****************************** Please put all source with fwppc the library. :lol: ...
by HATHAL
Mon Jul 10, 2006 2:03 pm
 
Forum: FiveWin for Pocket PC
Topic: FindWindow
Replies: 11
Views: 3352

Transformar/Convertir Código em C para [x]Harbour

... SETBLACKPEN( hDC ) SelectObject( hDC, GetStockObject( BLACK_PEN ) ) #define SETWHITEPEN( hDC ) SelectObject( hDC, hWhitePen ) #ifdef __FLAT__ ULONG __paralen( void *, ULONG ulIndex, ... ); #endif void DrawMasked( HDC, HBITMAP, WORD, WORD ); void DrawGray( HDC, HBITMAP, WORD, WORD ); void FrameDot( ...
by karinha
Tue May 02, 2006 1:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Transformar/Convertir Código em C para [x]Harbour
Replies: 3
Views: 1057

... pFileName && pString ) { FHANDLE fhnd = hb_fsCreate( ( BYTE * ) pFileName->item.asString.value, FC_NORMAL ); if( fhnd != FS_ERROR ) { ULONG ulSize = pString->item.asString.length; bRetVal = ( hb_fsWriteLarge( fhnd, ( BYTE * ) pString->item.asString.value, ulSize ) == ulSize ); ...
by Vladimir Grigoriev
Wed Apr 12, 2006 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memowrit Question
Replies: 13
Views: 5006

... ); if( pFileName && pString ) { FHANDLE fhnd = hb_fsCreate( ( BYTE * ) hb_itemGetCPtr( pFileName ), FC_NORMAL ); if( fhnd != FS_ERROR ) { ULONG ulSize = hb_itemGetCLen( pString ); bRetVal = ( hb_fsWriteLarge( fhnd, ( BYTE * ) hb_itemGetCPtr( pString ), ulSize ) == ulSize ); /* NOTE: CA-Clipper ...
by ask
Wed Apr 12, 2006 10:47 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Memowrit Question
Replies: 13
Views: 5006

Roman, You just need to use: hb_xgrab( ULONG ulSize ) --> void * pMem and hb_xfree( void * pMem ) --> void In 32 bits there is no need to lock the memory at all. If you are going to store a Harbour item into it, then you should call hb_gcGripGet( ...
by Antonio Linares
Fri Jan 06, 2006 9:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: _xvalloc _xvfree _xvlock _xvunlock
Replies: 7
Views: 2031

... = Ole2TxtError(); } //TraceLog( NULL, "Desc: '%s'\n", sDescription ); pReturn = hb_errRT_SubstParams( hb_parcx( -1 ), EG_OLEEXECPTION, (ULONG) s_nOleError, sDescription, ( *HB_VM_STACK.pBase )->item.asSymbol.value->szName ); if( s_nOleError == DISP_E_EXCEPTION ) { free( (void *) ...
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: 14159
PreviousNext

Return to advanced search