Search found 306 matches: lpstr

Return to advanced search

Re: How to add 2d barcode to fastreport or fwh/harbour?

... ZBarcode_Create() as LONG pascal FROM "ZBarcode_Create" lib hlib dll32 function ZBarcode_Encode_and_Buffer(symbol as LONG ,; source as LPSTR,length as LONG,rotate_angle as LONG) as LONG pascal FROM "ZBarcode_Encode_and_Buffer" lib hlib // int ZBarcode_Encode_and_Buffer(struct ...
by ShumingWang
Tue Oct 15, 2024 1:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to add 2d barcode to fastreport or fwh/harbour?
Replies: 7
Views: 362

Re: TSBROWSE - TSBUTTON 64 bits

... hDC, hRgn ) ; ^~~~~~~~~~~~~~~~~~~~~~~~~ ..\SOURCE\FUNCTION\BPAINT.C:161:40: warning: ISO C++11 does not allow conversion from string literal to 'LPSTR' (aka 'char *') [-Wwritable-strings] cDrawBoxes( hDC, &rct, 12, "", 0, 0, 0, RGB( 255, 212, 142 ), 0, FALSE, 0 ) ; ^ ..\SOURCE\FUNCTION\BPAINT.C:172:43: ...
by Cgallegoa
Mon Sep 23, 2024 7:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TSBROWSE - TSBUTTON 64 bits
Replies: 2
Views: 189

Re: Ayuda con DLL

Hola Antonio. Esta declaracion: DLL32 FUNCTION PeriodSalesByGrade( pt AS LPSTR, periodID AS LPSTR, pte AS LPSTR, @periodInfo AS LPSTR ) AS BOOL FROM "Fusion" LIB "FusionClass.dll" La puse y tambien la saque para probar si era por esto o no, ...
by Jorge Jaurena
Wed Jun 05, 2024 1:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 581

Re: Ayuda con DLL

Disculpa, no entiendo la pregunta. Aqui está la declaración de tu función: DLL32 FUNCTION PeriodSalesByGrade( pt AS LPSTR, periodID AS LPSTR, pte AS LPSTR, @periodInfo AS LPSTR ) AS BOOL FROM "Fusion" LIB "FusionClass.dll" sin embargo en tu código la usas como ...
by Antonio Linares
Tue Jun 04, 2024 7:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 581

Re: Ayuda con DLL

... DLL32 FUNCTION GCP() AS LONG FROM "GetCurrentProcessId" LIB "Kernel32.dll" DLL32 FUNCTION PeriodSalesByGrade( pt AS LPSTR, periodID AS LPSTR, pte AS LPSTR, @periodInfo AS LPSTR ) AS BOOL FROM "Fusion" LIB "FusionClass.dll" DLL32 FUNCTION PeriodSalesByPaymentType( ...
by Jorge Jaurena
Tue Jun 04, 2024 2:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 581

Re: Using Microsoft AI Phi-2 from FWH

... HB_LONGLONG #define HB_LONGLONG long #define hb_storvnll hb_stornl #endif agora o erro eh outro ao clicar em start DLL FUNCTION Llama( cModel AS LPSTR, cPrompt AS LPSTR, pFunc AS PTR ) AS VOID PASCAL LIB "llama64.dll" https://uploaddeimagens.com.br/images/004/700/688/original/erro.png?1703921284
by jhnsnlb
Sat Dec 30, 2023 7:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 12363

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: 670

xHarbour Commercial and latest FWH

... // Must initialize first. Should return true lSmtpInit := SmtpInitialize(CSTOOLS9_LICENSE_KEY) DLL FUNCTION SmtpInitialize(license AS LPSTR, initdata AS LPSTR) AS BOOL ; PASCAL FROM "SmtpInitializeA" LIB hSmtp The license key is a define for a long string of random letters. ...
by Randal
Sat Aug 05, 2023 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour Commercial and latest FWH
Replies: 3
Views: 518

Re: Error al leer un dll

... _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL FROM "MandaPaqueteFiscal" LIB "winfis32.dll" DLL32 FUNCTION UltimaRespuesta( nHandler AS _INT, cBuffer AS ...
by Antonio Linares
Sat Apr 22, 2023 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 2481

Re: Warning under 64 Bit MSVC but none unde BCC 32 Bit

Antonio Linares wrote:Dear Jimmy,

Remove this line:
LPSTR pStr;

and place it here:
[code=fw]   #else

ah, understand
thx for Tip
by Jimmy
Sun Apr 09, 2023 6:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning under 64 Bit MSVC but none unde BCC 32 Bit
Replies: 2
Views: 348

Re: Warning under 64 Bit MSVC but none unde BCC 32 Bit

Dear Jimmy, Remove this line: LPSTR pStr; and place it here:   #else   {  // new      LPSTR pStr = WideToAnsi( FR->lpstrFindWhat );  // modified      hb_storvc ( ...
by Antonio Linares
Sun Apr 09, 2023 6:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Warning under 64 Bit MSVC but none unde BCC 32 Bit
Replies: 2
Views: 348

Re: CLASS TGrid() for FiveWin

hi Antonio, At the top of your C code place this line: LPWSTR AnsiToWide( LPSTR cAnsi ); thx for Answer. still got Warning Warning W8075 .\\HB_FUNC.PRG 1092: Suspicious pointer conversion in function HB_FUN_SETGRIDQUERYDATA but i have to use #define UNICODE to ...
by Jimmy
Wed Jan 04, 2023 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 5549

Re: CLASS TGrid() for FiveWin

Dear Jimmy,

At the top of your C code place this line:

LPWSTR AnsiToWide( LPSTR cAnsi );
by Antonio Linares
Wed Jan 04, 2023 6:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CLASS TGrid() for FiveWin
Replies: 43
Views: 5549

Re: DLLCALL under Fivewin

... [in, optional] LPSECURITY_ATTRIBUTES lpSecurityAttributes, it may work also if you supply a zero as the parameter value LPCWSTR can be declared as LPSTR as a wide string is also a string
by Antonio Linares
Fri Dec 02, 2022 2:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 4618

Re: Display thumbnails of pdfs

Dear Jimmy, This is the definition of the struct LVCOLUMN from commctrl.h typedef struct tagLVCOLUMNA { UINT mask; int fmt; int cx; LPSTR pszText; int cchTextMax; int iSubItem; #if (_WIN32_IE >= 0x0300) int iImage; int iOrder; #endif #if _WIN32_WINNT >= 0x0600 int cxMin; // min snap ...
by Antonio Linares
Sun Oct 16, 2022 2:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Display thumbnails of pdfs
Replies: 34
Views: 4172
Next

Return to advanced search