Search found 324 matches: bool

Return to advanced search

... // for ChineseBig5 1st(high_order) Chr( 161 - 254 ), 2nd(Low_order) Chr( 64 - 126, 161 - 254 ) BOOL ulBig5_2nd( unsigned char * aStr, int nPos, int nLen ) { int nn ; unsigned int nAsc1 ; unsigned int nAsc2 ; if( nLen < nPos ) return FALSE ; ...
by jhncon
Thu Dec 15, 2005 12:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO: Antonio, TGet problem with WinXP Themes for 2 bytes?
Replies: 17
Views: 6112

... 0 overwrite if cTarget exists 1 fail if cTarget exists DLL32 FUNCTION CopyFile( Source_file AS LPSTR, Target_file AS LPSTR,; Ret_err AS LONG ) AS BOOL FROM "CopyFileA" LIB "Kernel32.dll"
by James Bott
Fri Dec 09, 2005 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Copy files with wild card
Replies: 5
Views: 1500

Riccardo,

WS_BORDER has to be removed and in source\winapi\mgetcrea.c:

BOOL lIsAppThemed = FALSE;

...

BOOL _IsAppThemed( void );

lIsAppThemed = _IsAppThemed();

_retnl( ( LONG ) CreateWindowEx( lIsAppThemed ? WS_EX_CLIENTEDGE: 0,
...
by Antonio Linares
Mon Dec 05, 2005 12:06 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Themed TGet on windows (fixed)
Replies: 14
Views: 8846

I Am End Function serial number For Pocket PC

... dwOutBytes; const int nBuffSize = 4096;; char strDeviceInfo[200]=""; byte arrOutBuff[nBuffSize]; char strNextChar[20]=""; char SerialNo[18]=""; BOOL bRes = KernelIoControl(IOCTL_HAL_GET_DEVICEID, 0, 0, arrOutBuff, nBuffSize, &dwOutBytes); if (!bRes) { MessageBox( GetActiveWindow(),_T("could ...
by HATHAL
Thu Nov 17, 2005 10:08 am
 
Forum: FiveWin for Pocket PC
Topic: I Am End Function serial number For Pocket PC
Replies: 3
Views: 3264

Re: Pocket PC serial number

... relevant code: #include <uniqueid.h> // Global Variables: GUID g_Guid; // Forward declarations of functions included in this code module: BOOL GetDeviceID( GUID* pGuid); ... code ... BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) { ... code ... // get the device ID this function ...
by claudio.driussi
Wed Nov 16, 2005 8:32 am
 
Forum: FiveWin for Pocket PC
Topic: Pocket PC serial number
Replies: 10
Views: 4188

xHarbour/FWH/Canal 5 Calendar

... that would cause a problem? Is anyone else using the C5 Calendar control? Using FWH Jan 2005. #include <hbapi.h> #include <windows.h> BOOL WINAPI StretchBlt(HDC, int, int, int, int, HDC, int, int, int, int, DWORD); HB_FUNC( COMPATDC ) // ( hDC ) { hb_retnl( ( LONG ) CreateCompatibleDC( ...
by Randal
Wed Oct 26, 2005 5:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour/FWH/Canal 5 Calendar
Replies: 4
Views: 1954

... ) ENDIF ENDIF NEXT RETURN aFiles DLL32 FUNCTION SETFILEATTRIBUTES(cFileName AS LPSTR, nFileAttributes AS DWORD ) ; AS BOOL PASCAL FROM "SetFileAttributesA" LIB "Kernel32.dll" STATIC FUNCTION UPDMETER(CFILE,OMETER,NPOS,nctr,NLEN,ODLG,DLGFILE,OBJFILE) NCTR++ DLGFILE := ...
by Richard Chidiak
Tue Oct 25, 2005 7:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Testzip and Testuzip will not compile
Replies: 10
Views: 5978

Para Antonio Linhares (comm.c , BuildCommDCB, SetCommState)

... LPCVOID lpvBuf, int cbWrite ); int ReadComm( int idComDev, LPVOID lpvBuf, int cbRead ); int GetCommError( int idComDev, COMSTAT * lpStat ); BOOL EnableCommNotification( int idComDev, HWND hwnd, int cbWriteNotify, int cbOutQueue ); DWORD ThreadCommNotification( LPVOID data ); int GetCommHandle( ...
by Gilson Lopes
Fri Oct 21, 2005 3:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Para Antonio Linhares (comm.c , BuildCommDCB, SetCommState)
Replies: 0
Views: 2014

... a sugerencia de Willy (saludos) la DLL32 y listo, aquí la dejo por si a alguien le interesa. DLL32 FUNCTION RemoveDir(cPathName AS LPSTR) AS BOOL PASCAL ; FROM "RemoveDirectoryA" LIB "Kernel32.Dll" Esperaré lo del control GET se que ahora no se trata del pintado pero talvez alguién ya logro ...
by Alfredo Arteaga
Fri Oct 14, 2005 1:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Efecto en GET deshabilitado
Replies: 11
Views: 4448
Previous

Return to advanced search