Search found 460 matches: byte

Return to advanced search

Paco,

Es una función propia de FiveWin:

HBITMAP CreateMemBitmap( HDC hDC, BYTE far * cBitmap )
by Antonio Linares
Tue Dec 20, 2005 10:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Crear bitmap con datas
Replies: 6
Views: 1528

Character display problem

... Windows XP - characters c caron and c acute are substituted with | (because in resource file in this case c acute is represented with only one byte, not two, and XP cannot read it). I can use two dll's, one for Windows 98 and the other for XP, but still I have a problem with z caron under Windows ...
by acopapic
Tue Dec 20, 2005 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Character display problem
Replies: 1
Views: 752

Hello Johnny, My friend test John solution not work. Chinese and Korea or any ASIA have 2 bytes character. So we need to change TGet and MGet code. Support 2 bytes for control of key( Left/del/right/backspace.. ) Because default work 1 byte. Now, We fix TGet/MGet work ...
by Taiwan
Mon Dec 19, 2005 11:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TO: Antonio, TGet problem with WinXP Themes for 2 bytes?
Replies: 17
Views: 6176

... a un nivel básico, pero funcionan: CreateFile() --> abre un puerto COM CloseHandle() --> cierra un puerto COM ReadByte() --> lee un byte desde un determinado puerto WriteByte() --> escribe un byte a un determinado puerto Para escribir un grupo de bytes, hay que ir escribiendo ...
by Antonio Linares
Sun Dec 18, 2005 4:41 pm
 
Forum: FiveWin para Pocket PC
Topic: Soporte para comunicacion puertos seriales.
Replies: 2
Views: 1070

... modified for Big5 // Big5 1st(high_order) Chr( 161 - 254 ), 2nd(Low_order) Chr( 64 - 126, 161 - 254 ) // JMS modified for trailer byte of lBig5 not influenced by Upper/Lower /* converts szText to lower case. Does not create a new string! */ HB_EXPORT char * hb_strLower( char * ...
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: 6176

Manuel,

Prueba a quitarle el último byte de esta forma:

cTemp = MemoRead( <nombre_fichero> )

MemoWrit( <nombre_fichero>, SubStr( cTemp, 1, Len( cTemp ) - 1 ) )
by Antonio Linares
Sat Nov 19, 2005 8:34 am
 
Forum: FiveWin para CA-Clipper
Topic: COPY TO SDF
Replies: 5
Views: 1873

I Am End Function serial number For Pocket PC

... For Pocket PC // vce source code // by hathal HB_FUNC( SERIALNUMBER ) { DWORD 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, ...
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: 3279

For Run Sound Wave From Resource And Wave File

... GetInstance(), SND_RESOURCE | SND_ASYNC); // MessageBox( GetActiveWindow(),cfile , _T("VIEW THIS"), 0 ); } /* void HB_FUN_PLAYWAVMEM() { BYTE buffer[100*1024]; CFile file; file.Open(_T("\\Windows\\empty.wav"), CFile::modeRead); file.Read(buffer, 100*1024); file.Close(); PlaySound((const ...
by HATHAL
Wed Nov 16, 2005 2:07 pm
 
Forum: FiveWin for Pocket PC
Topic: For Run Sound Wave From Resource And Wave File
Replies: 1
Views: 944

Re: Pocket PC serial number

... NULL, 0, pDevID, wSize, &dwBytesReturned ); if((FALSE == fRes) || (ERROR_INSUFFICIENT_BUFFER == GetLastError()) ) return FALSE; BYTE* pDat = (BYTE*)&pGuid->Data1; BYTE* pSrc = (BYTE*)(pDevID) + pDevID->dwPresetIDOffset; memcpy(pDat, pSrc, pDevID->dwPresetIDBytes); ...
by claudio.driussi
Wed Nov 16, 2005 8:32 am
 
Forum: FiveWin for Pocket PC
Topic: Pocket PC serial number
Replies: 10
Views: 4227

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

... // e tambem para alguns conversores USB<->RS232 // // 1h=binary_mode_true + 10h=Ctr_DTR_Enable == 11h == chr(17) // alterar byte 9 do DCB ( total da estrutura DCB = 28 bytes ) // _dcb:= subs( _dcb, 1, 8) + chr( 17 ) + chr( 0 ) + subs( _dcb, 10, 4) + ; // L2Bin( 0 ) + subs( ...
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: 2019
Previous

Return to advanced search