Search found 324 matches: bool

Return to advanced search

Re: llamar funciones de DLL

zkemkeeper.ZKEM.1 STDCALL dispatch FUNC void QueryInterface( [in] PTR, [out] PTR ) STDCALL dispatch FUNC unsigned long AddRef() STDCALL dispatch FUNC unsigned long Release() STDCALL dispatch FUNC void GetTypeInfoCount( [out] PTR ) STDCALL dispatch FUNC void GetTypeInfo( [in] unsigned int, [in] unsig...
by Antonio Linares
Sat Feb 01, 2020 7:55 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: llamar funciones de DLL
Replies: 20
Views: 4600

Re: llamar funciones de DLL

Antonio, una ultima consulta, como puedo recuperar los datos de una función como esta: VARIANT_BOOL GetAllUserInfo(LONG dwMachineNumber, LONG* dwEnrollNumber, BSTR* Name, BSTR* Password, LONG* Privilege, VARIANT_BOOL* Enabled) supongo que los parametros con "*" son por referencia, pero no ...
by Marcelo Via Giglio
Thu Jan 30, 2020 5:49 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: llamar funciones de DLL
Replies: 20
Views: 4600

Re: Garbage Value on Multiply

The error happens without using FWH It seems a Harbour bug using bcc7 64 bits in source\harbour\vm\itemapi.c /* converts a numeric to a string with optional width & precision. */ HB_BOOL hb_itemStrBuf( char * szResult, PHB_ITEM pNumber, int iSize, int iDec ) used from: char * hb_itemStr( PHB_ITE...
by Antonio Linares
Mon Apr 22, 2019 10:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Garbage Value on Multiply
Replies: 6
Views: 1108

Saber Ip Publico

... <WinInet.h> #include "hbapi.h" #pragma comment(lib, "urlmon.lib") //-----------------------------------// char *GetIP(); bool IsLanOrModem(); //-----------------------------------// HB_FUNC( IPPUBLIC ) { char *pszChar = ""; strcpy( pszChar, GetIP() ); hb_retc( ...
by Busmatic_wpb
Fri Dec 07, 2018 2:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Ip Publico
Replies: 1
Views: 607

Re: FTP with Harbour / MSVC / FWH issues

... AS LPSTR, nFlags AS DWORD ) AS LONG; PASCAL FROM "InternetOpenA" LIB hLib DLL32 FUNCTION INETCLOSEHANDLE( hInternet AS LONG ) AS BOOL; PASCAL FROM "InternetCloseHandle" LIB hLib DLL32 FUNCTION INETCONNECT( hInternet AS LONG, cServerName AS LPSTR, nServerPort AS LONG, ...
by ShumingWang
Wed Jun 27, 2018 8:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FTP with Harbour / MSVC / FWH issues
Replies: 8
Views: 2232

Re: PDFCreator en modo "silencioso"

Dos Objetos PDFCreator PDFCreator.PDFCreatorObj... STDCALL dispatch PROPERTYGET PTR GetPDFCreatorPrinters() STDCALL dispatch PROPERTYGET VARIANT_BOOL IsInstanceRunning() STDCALL dispatch FUNC void PrintFile( [in] BSTR ) STDCALL dispatch FUNC void AddFileToQueue( [in] BSTR ) STDCALL dispatch FUNC voi...
by Xevi
Wed Feb 14, 2018 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDFCreator en modo "silencioso"
Replies: 6
Views: 1407

Re: access to window via its :hwnd

... #pragma BEGINDUMP #include <windows.h> #include <hbvm.h> #include <hbapiitm.h> BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); ...
by don lowenstein
Sat Jan 06, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to window via its :hwnd
Replies: 10
Views: 1798

Re: Privilegios de Administrador

... IsUserAnAdmin() /* *********************************************************************************** */ DLL32 STATIC FUNCTION IsUserAnAdmin() AS BOOL PASCAL LIB "Shell32.dll" /* *********************************************************************************** */
by FiveWiDi
Sat Dec 02, 2017 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Privilegios de Administrador
Replies: 2
Views: 564

Re: Titulo de Dialogo

... efecto y es precisamente lo que necesito, que lo haga cuando se encuentre minimizada, alguna idea?? Saludos y gracias LCP Eduardo Borondón Muñiz BOOL WINAPI FlashWindow( _In_ HWND hWnd, _In_ BOOL bInvert ); hWnd [in] A handle to the window to be flashed. The window can be either open or minimized. ...
by cnavarro
Tue Nov 07, 2017 2:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Titulo de Dialogo
Replies: 14
Views: 2170

Re: Current state of the display

DLL32 Function MonitorFromWindow(hDevice AS LONG, pr AS DWORD) AS BOOL PASCAL FROM "MonitorFromWindow" LIB "user32.dll"
by Antonio Linares
Thu Aug 31, 2017 8:48 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Current state of the display
Replies: 7
Views: 1040

Re: Current state of the display

... https://stackoverflow.com/questions/31579658/how-do-i-get-the-status-of-a-display You could do: #define MONITOR_DEFAULTTOPRIMARY 1 BOOL bResult; GetDevicePowerState( MonitorFromWindow( FindWindow( 0, 0 ), MONITOR_DEFAULTTOPRIMARY ), &bResult ) https://msdn.microsoft.com/en-us/library/windows/desktop/dd145064(v=vs.85).aspx
by Antonio Linares
Wed Aug 30, 2017 2:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Current state of the display
Replies: 7
Views: 1040

Lectura de una dll parte 2

... del lector sin contacto parpadean. No da error de ningun tipo y sale sin errores. Solo eso he logrado y los tipos de datos _INT, DWORD LPTRS, BOOL, BYTE, STRING, LPSTR,VOID LO mismo ya no se que mas usar. Alguna idea.. Agradeceria si alguien puede compartir alguna esperiencia y logro resolverlo.. ...
by Busmatic_wpb
Tue Aug 08, 2017 11:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: LECTURA DE UN DLL ..
Replies: 14
Views: 2234

Re: Creando Estructuras TypeDef Struct como en C

Buen dia Antonio, Realice la prueba que me indicaste sin exito, este es el resultado, STRUCT AtributosDeTexto MEMBER Centrado AS BOOL INIT .F. MEMBER DobleAncho AS BOOL INIT .F. MEMBER BorradoTexto AS BOOL INIT .F. MEMBER Negrita AS BOOL INIT .T. ENDSTRUCT memstat(atributosdetexto:cbuffer) ...
by mterraz
Fri Jun 30, 2017 3:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Estructuras TypeDef Struct como en C
Replies: 22
Views: 2786

Re: Creando Estructuras TypeDef Struct como en C

Hola Antonio, Function Main() Local Atributosdetexto STRUCT AtributosDeTexto MEMBER Centrado AS BOOL INIT .F. MEMBER DobleAncho AS BOOL INIT .F. MEMBER BorradoTexto AS BOOL INIT .F. MEMBER Negrita AS BOOL INIT .T. ENDSTRUCT xbrowse(AtributosDeTexto) ----->muesta bien ...
by mterraz
Wed Jun 28, 2017 3:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Estructuras TypeDef Struct como en C
Replies: 22
Views: 2786

Re: Creando Estructuras TypeDef Struct como en C

... #include "Struct.ch" #include "exstruc.ch" FUNCTION Main() Local AtributosDeTexto STRUCT AtributosDeTexto MEMBER Centrado AS BOOL INIT .F. MEMBER DobleAncho AS BOOL INIT .F. MEMBER BorradoTexto AS BOOL INIT .F. MEMBER Negrita AS BOOL INIT .T. ENDSTRUCT oFiscal:ImprimirTextoFiscal( ...
by mterraz
Wed Jun 28, 2017 1:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Creando Estructuras TypeDef Struct como en C
Replies: 22
Views: 2786
PreviousNext

Return to advanced search