Search found 323 matches: bool

Return to advanced search

Re: Using Microsoft AI Phi-2 from FWH

hi Antonio, Does HMG support DLL FUNCTION ? or similar ? Or should we use Harbour default DLL management functions ? Can you convert the FWH GUI part of the example to HMG ? as i know there is no DLL FUNCTION under HMG only HMG_CallDLL() Calls a ANSI/Unicode DLL Function HMG_CallDLL() detects the cu...
by Jimmy
Thu Dec 21, 2023 12:11 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using Microsoft AI Phi-2 from FWH
Replies: 51
Views: 6854

xHarbour Commercial and latest FWH

... 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. The error I get is: Compiler ...
by Randal
Sat Aug 05, 2023 2:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: xHarbour Commercial and latest FWH
Replies: 3
Views: 354

Re: Webview question

... we compare webview.h in both repos and include the code for set_user_agent. Finally we modify the code to avoid the calling to PostQuitMessage(): BOOL bRunning = FALSE;  void run() {    MSG msg;    BOOL res;    bRunning = TRUE;    while ...
by Antonio Linares
Sat Jul 01, 2023 7:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Webview question
Replies: 36
Views: 2711

Re: TsBrowse de M. Mercado para VS2022

... y minwindef.h de VS2022 clipdefs.h (78) typedef unsigned int WORD; Error C2371 Nueva definicion de tipos basicos distintos (100) typedef USHORT BOOL; Error C2371 Nueva definicion de tipos basicos distintos minwindef.h (157) typedef int BOOL; (159) typedef unsigned short WORD; y en clipdefs.h ...
by Adolfo
Sun Jun 04, 2023 4:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TsBrowse de M. Mercado para VS2022
Replies: 6
Views: 283

Re: ACROPDF

Analizando con Fivewin el objeto "AcroPDF.PDF.1", instalado en mi ordenador, me devuelve los metodos accesibles, o supuestamente, como siempre hay que decir en estos casos STDCALL dispatch FUNC void QueryInterface( [in] PTR, [out] PTR ) STDCALL dispatch FUNC unsigned long AddRef() STDCALL ...
by cnavarro
Mon May 01, 2023 7:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ACROPDF
Replies: 5
Views: 508

a cuestas con sql server

Estimados compañeros buenos dias molesto su atencion con un tema que me esta produciendo dolores de cabeza tengo una instalacion con ads server y tablas DBF en esta instalacion debo cargar cada noche miles de registros a una base de datos sql server ( ese sql esta en el mismo server ) el caso es que...
by wilsongamboa
Tue Apr 11, 2023 11:32 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: a cuestas con sql server
Replies: 4
Views: 401

Re: different Warning using BCC7 32 Bit / MSVC 64 Bit

hi, now i have create own Structure, from Original (and add "X"), but change Member from BOOLEAN to BOOL typedef struct _PREVENT_MEDIA_REMOVALX {  BOOL PreventMediaRemoval;} PREVENT_MEDIA_REMOVALX, *PPREVENT_MEDIA_REMOVALX;BOOL PreventRemovalOfVolume(HANDLE ...
by Jimmy
Wed Feb 22, 2023 6:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: different Warning using BCC7 32 Bit / MSVC 64 Bit
Replies: 6
Views: 417

can i make a HB_FUNC() of it ?

hi, i´m still struggle with this CODE BOOL PreventRemovalOfVolume(HANDLE hVolume,  BOOL fPreventRemoval){   DWORD dwBytesReturned;   PREVENT_MEDIA_REMOVAL PMRBuffer;   PMRBuffer.PreventMediaRemoval = (BOOL) fPreventRemoval;  ...
by Jimmy
Sat Feb 18, 2023 10:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: can i make a HB_FUNC() of it ?
Replies: 2
Views: 227

Re: different Warning using BCC7 32 Bit / MSVC 64 Bit

... not a "C" Programmer i have no Idea how to change CODE --- Waring around Line 13x are "clear" (so far ...) but what is "BOOL" vs. "BOOLEAN" which i got using MSVC 64 Bit :?: i guess it is Parameter BOOL fPreventRemoval What this is supposed to mean?   if( ...
by Jimmy
Thu Dec 15, 2022 3:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different Warning using BCC7 32 Bit / MSVC 64 Bit
Replies: 6
Views: 417

different Warning using BCC7 32 Bit / MSVC 64 Bit

... Suspicious pointer conversion in function HB_FUN_EJECTREMOVABLE msvc 64 bit HB_FUNC.PRG(97): warning C4244: "=": Konvertierung von "BOOL" in "BOOLEAN", möglicher Datenverlust HB_FUNC.PRG(104): warning C4431: Fehlender Typspezifizierer - int wird angenommen. Hinweis: ...
by Jimmy
Thu Dec 15, 2022 1:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: different Warning using BCC7 32 Bit / MSVC 64 Bit
Replies: 6
Views: 417

Re: DLLCALL under Fivewin

hi Antonio, You have to write the Harbour wrappers for those C functions. In example for function BOOL DismountVolume( HANDLE hVolume ): i have done what you told me and add CODE    HB_FUNC( DISMOUNTVOLUME )    {       hb_retl( DismountVolume( hb_parnll( ...
by Jimmy
Fri Dec 09, 2022 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2530

Re: DLLCALL under Fivewin

You have to write the Harbour wrappers for those C functions. In example for function BOOL DismountVolume( HANDLE hVolume ):
Code: Select all  Expand view
HB_FUNC( DISMOUNTVOLUME )
{
   hb_retl( DismountVolume( hb_parnll( 1 ) ) );
}
by Antonio Linares
Thu Dec 08, 2022 8:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2530

Re: DLLCALL under Fivewin

... begindump#include <windows.h>#include <winioctl.h>#include <tchar.h>#include <stdio.h>// PrototypesBOOL EjectVolume(TCHAR cDriveLetter);HANDLE OpenVolume(TCHAR cDriveLetter);BOOL LockVolume(HANDLE hVolume);BOOL DismountVolume(HANDLE ...
by Jimmy
Thu Dec 08, 2022 6:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLLCALL under Fivewin
Replies: 45
Views: 2530

Re: Everything under Fivewin

... Everything_SetSort(nFlag AS DWORD )         AS VOID PASCAL LIB "Everything32.dll"DLL FUNCTION Everything_QueryW(lBool AS BOOL )           AS BOOL PASCAL LIB "Everything32.dll"DLL FUNCTION Everything_QueryA(lBool AS BOOL )           AS BOOL PASCAL ...
by Jimmy
Mon Nov 14, 2022 11:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Everything under Fivewin
Replies: 17
Views: 1021

Re: CodeBlock

Dear Ari, In harbour/include/hbapi.h you find this: https://github.com/harbour/core/blob/master/include/hbapi.h typedef struct _HB_CODEBLOCK { const HB_BYTE * pCode; /* codeblock pcode */ PHB_SYMB pSymbols; /* codeblocks symbols */ PHB_SYMB pDefSymb; /* symbol where the codeblock was cre...
by Antonio Linares
Tue Nov 01, 2022 7:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CodeBlock
Replies: 2
Views: 271
Next

Return to advanced search