Search found 301 matches: lpstr

Return to advanced search

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

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

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

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

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

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

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

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

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

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: 33
Views: 2271

Re: Win 10 and getUrl

... IF URLDOWNLOADTOFILE( 0,cUrl , cZipFile) =0 lreturn := .t. else lreturn := .f. endif DLL FUNCTION URLDOWNLOADTOFILE( pCaller AS LONG, cUrl AS LPSTR, cFileName AS LPSTR, nReserved AS DWORD, nFnCB AS LONG ) AS LONG; PASCAL FROM "URLDownloadToFileA" LIB "urlmon.dll" but sometimes ...
by Silvio.Falconi
Sun Jun 12, 2022 7:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Win 10 and getUrl
Replies: 4
Views: 549

Re: IE

... WEBVIEW_RUN( hWebView AS LONG ) AS VOID PASCAL FROM "webview_run" LIB hDLL DLL FUNCTION WEBVIEW_NAVIGATE( hWebView AS LONG, cUrl AS LPSTR ) AS VOID PASCAL FROM "webview_navigate" LIB hDLL DLL FUNCTION WEBVIEW_DESTROY( hWebView AS LONG ) AS VOID PASCAL FROM "webview_destroy" ...
by Natter
Thu May 26, 2022 12:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IE
Replies: 39
Views: 1681

Re: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV

... RETURN .T. FUNCTION ISWINXP() RETURN .T. //Faz abertura do dia // DLL32 FUNCTION LECTURA ( cPort AS LPSTR ) AS LONG PASCAL ; // FROM "IniPuertaStr" LIB oDp:nBemaDLL //DLL32 FUNCTION LECTURA( cPort AS STRING ) AS LONG PASCAL FROM "IniPuertaStr"; ...
by jnavas
Wed Apr 27, 2022 9:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: USAR IMPRESORA FISCAL BERMATECH EN VENEZUELA EN PDV
Replies: 21
Views: 7826

Ayuda compilar funcion en C mingw32(SOLUCIONADO)

... @nSectorsByCluster, @nBytesPerSector,                            // @nNumberOfFreeClusters, @nTotalNumberOfClusters --> lResult{   LPSTR lpRootPathName = hb_parc( 1 ); // Error en esta linea   DWORD SectorsPerCluster;   DWORD BytesPerSector;   DWORD NumberOfFreeClusters;  ...
by jvtecheto
Tue Apr 20, 2021 2:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda compilar funcion en C mingw32(SOLUCIONADO)
Replies: 3
Views: 363

Add some functions for Tensorflow

... nPos ) DLL FUNCTION TF_GraphNextOperation( hGraph AS LONG, @nPos AS LONG ) AS LONG LIB hDLL DLL FUNCTION TF_OperationName( hOperation AS LONG ) AS LPSTR LIB hDLL DLL FUNCTION TF_OperationOpType( hOperation AS LONG ) AS LPSTR LIB hDLL DLL FUNCTION TF_OperationDevice( hOperation AS LONG ) AS LPSTR ...
by CharlesKwon
Fri Jan 11, 2019 5:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Add some functions for Tensorflow
Replies: 5
Views: 2675
Next

Return to advanced search