Search found 30 matches: tchar

Return to advanced search

Re: Listview Unicode for CLASS TGrid()

... --- i try to learn "C" but for these "Problem" my "C" Knowledge is to small my ANSI Version , using TCHAR / LPSTR , work but how with Unicode :?: need some help please
by Jimmy
Thu Aug 31, 2023 3:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 410

Re: Listview Unicode for CLASS TGrid()

how to use this with Unicode
Code:
lvi.pszText = (TCHAR*) hb_parvc (2, 1);

can I see the full HB_FUNC?
Or you can send to me.
by nageswaragunupudi
Wed Aug 30, 2023 6:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Listview Unicode for CLASS TGrid()
Replies: 7
Views: 410

Re: DEFINE FONT vs TFont()

... structure. CreateFontIndirectEx() uses ENUMLOGFONTEX structure. This structure basically contains LOGFONT structure and in addition 3 members: TCHAR elfFullName[LF_FULLFACESIZE]; TCHAR elfStyle[LF_FACESIZE]; TCHAR elfScript[LF_FACESIZE]; You can read more in the documentation. May we know what ...
by nageswaragunupudi
Mon Dec 18, 2017 4:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DEFINE FONT vs TFont()
Replies: 20
Views: 3328

C Struct

... dwOSVersionInfoSize; // ˆ this ";" must be added DWORD dwMajorVersion; DWORD dwMinorVersion; DWORD dwBuildNumber; DWORD dwPlatformId; TCHAR szCSDVersion[128]; WORD wServicePackMajor; WORD wServicePackMinor; WORD wSuiteMask; BYTE wProductType; BYTE wReserved; } OSVERSIONINFOEX, *POSVERSIONINFOEX, ...
by patdriscoll
Wed Jun 11, 2014 11:42 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: C Struct
Replies: 23
Views: 3500

SOURCE FOR IMAGE WITH *.BMP *.EMF *.GIF *.ICO *.JPG *.PNG *

... #include <commctrl.h> #include <olectl.h> #include <stdlib.h> #include <malloc.h> #include <memory.h> #include <tchar.h> #include <shellapi.h> #include <commdlg.h> #include <shellapi.h> #include "h2.h" static HBITMAP hbm; // RETURN ...
by HATHAL
Sun Oct 06, 2013 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Cover Flow
Replies: 10
Views: 5585

Re: FiveWin para WinRT (Windows 8 UI moderno)

... * P_M32F )( HANDLE, HANDLE ); obteniendo unicamente el warning: c:\harb\src\vm\extrap.c(414): warning C4133: 'función' : tipos incompatibles, de 'TCHAR [260]' a 'const char *' Linea 414: hb_strncpy( szBuffer, me32.szExePath, HB_SIZEOFARRAY( szBuffer ) - 1 ); Gracias de nuevo
by cnavarro
Tue Apr 09, 2013 2:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveWin para WinRT (Windows 8 UI moderno)
Replies: 36
Views: 7242

Como tomar fecha y hora de un archivo en un FTP??

... nFileSizeLow MEMBER nReserved0 AS DWORD // DWORD dwReserved0 MEMBER nReserved1 AS DWORD // DWORD dwReserved1 MEMBER cFileName AS STRING LEN 260 // TCHAR cFileName[MAX_PATH] MEMBER cAltName AS STRING LEN 14 // TCHAR cAlternateFileName[14] ENDSTRUCT cBuffer :=oFTPData:cBuffer FtpFindFirstFile( hConnect, ...
by gsabattino
Sun May 06, 2012 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como tomar fecha y hora de un archivo en un FTP??
Replies: 1
Views: 1038

Download Harbour

Qual a versão do Harbour para compilar sms.prg sem erros pois a minha actual vesrão dá os seguintes erros: ms.c sms.prg(44) : warning C4013: 'HB_TCHAR_CONVTO' undefined; assuming extern returning int sms.prg(44) : warning C4047: 'initializing' : 'unsigned short *' differs in levels of indirection fr...
by rasptty
Mon Jan 03, 2011 12:41 am
 
Forum: FiveWin for Pocket PC
Topic: Download Harbour
Replies: 0
Views: 460

Re: O.T. Conectar unidad de red

Patricio...
Cuales son las cabeceras de esa función?

Que Includes hay que poner?

Cuando la compilo me faltan estas tres funciones:

_HB_TCHAR_CONVTO
_hb_snprintf
_WNetErrorHandler

Saludos...
by jrestojeda
Thu Sep 09, 2010 5:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: O.T. Conectar unidad de red
Replies: 14
Views: 2830

GET STATUS WIFI

I foud a source to get status wifi , to open wifi and close wifi it run on wm 6.1 and on my htc run ok Perhaps some can translate it on fwppc // GetWifiState.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <windows.h> #include <commctrl.h...
by Silvio
Wed Sep 02, 2009 10:47 am
 
Forum: FiveWin for Pocket PC
Topic: GET STATUS WIFI
Replies: 0
Views: 492

donde se encuentra GetProcAddress()

... ha sido el mismo que he usado desde el principio. Saludos. INCLUYO PARTE DEL SOURCE: #pragma BEGINDUMP #include <windows.h> #include <tchar.h> // Include LiteZip.h for creating a ZIP archive #include "LiteZip.h" // Where we store the pointers to LiteZip.dll's functions ...
by Arturo Lopesoria
Thu Feb 19, 2009 2:03 am
 
Forum: FiveWin para Pocket PC
Topic: donde se encuentra GetProcAddress()
Replies: 6
Views: 1188

Re: SMS question

... structures. The SMS_ADDRESS structure is defined as: typedef struct sms_address_tag { SMS_ADDRESS_TYPE smsatAddressType; TCHAR ptsAddress[SMS_MAX_ADDRESS_LENGTH]; } SMS_ADDRESS, *LPSMS_ADDRESS; The first field of the structure is the address type. For most uses, this field ...
by jlcapel
Sat Jan 10, 2009 7:52 pm
 
Forum: FiveWin for Pocket PC
Topic: SMS question
Replies: 51
Views: 21595

Maurizio,

As you are compiling in C++ mode, then please declare it this way:

extern "C" {
TCHAR * AnsiToWide( char * );
};
by Antonio Linares
Tue Oct 28, 2008 12:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5641

Maurizio,

You need to include this prototype:

TCHAR * AnsiToWide( char * );

HB_FUNC( ... )
{
...
}
by Antonio Linares
Tue Oct 28, 2008 10:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5641

Maurizio,

Try this:

PDC_ExtTextOut(hPrDC,100,100, 0, NULL, wName, 31, NULL);

I think that the problem is
TCHAR * wName = ( TCHAR * ) hb_xgrab( 31 );
by Antonio Linares
Mon Oct 27, 2008 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Convert hb_parc() in LPTSTR
Replies: 25
Views: 5641
Next

Return to advanced search