Search found 21 matches: dwsize

Return to advanced search

Re: c++ STRUCTURE data types

STRUCT oCredentials MEMBER dwSize AS DWORD MEMBER dwProtocol AS DWORD MEMBER dwOptions AS DWORD MEMBER dwReserved AS DWORD MEMBER lpszHostName AS LPSTR MEMBER lpszUserName AS LPSTR MEMBER lpszPassword AS LPSTR MEMBER lpszCertStore AS LPSTR ...
by Antonio Linares
Wed Jul 18, 2018 8:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ STRUCTURE data types
Replies: 3
Views: 699

Re: c++ STRUCTURE data types

Don, @lpCredentials AS PTR STRUCT oCredentials MEMBER dwSize AS DWORD MEMBER dwProtocol AS DWORD MEMBER dwOptions AS DWORD MEMBER dwReserved AS DWORD MEMBER lpszHostName AS LPSTR MEMBER lpszUserName AS LPSTR MEMBER lpszPassword AS LPSTR MEMBER lpszCertStore ...
by Antonio Linares
Wed Jul 18, 2018 6:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ STRUCTURE data types
Replies: 3
Views: 699

c++ STRUCTURE data types

... lpCredentials ); The LPSECURITYCREDENTIALS data type is a user defined c++ structure: typedef struct _SECURITYCREDENTIALS { DWORD dwSize; DWORD dwProtocol; DWORD dwOptions; DWORD dwReserved; LPCTSTR lpszHostName; LPCTSTR lpszUserName; LPCTSTR lpszPassword; LPCTSTR lpszCertStore; ...
by don lowenstein
Tue Jul 17, 2018 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: c++ STRUCTURE data types
Replies: 3
Views: 699

Re: SetFocus question.

You have to define buffer and dwSize #pragma BEGINDUMP#include <windows.h>#include <hbapi.h>HB_FUNC( GETCONSOLEWINDOW ){   char * szText = "Hello";   DWORD dwSize = strlen( szText ...
by Antonio Linares
Tue Feb 21, 2017 7:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetFocus question.
Replies: 15
Views: 3515

Re: To Antonio:

Gustavo,

Modifica esta línea asi:

hb_retclen( buffer, dwSize );
by Antonio Linares
Tue Aug 30, 2016 6:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Antonio:
Replies: 5
Views: 795

Re: Build with Visual Studio 2015 errors

... -DOPENSSL_NO_K RB5 -DOPENSSL_NO_DYNAMIC_ENGINE /Zl -c .\crypto\rand\rand_win.c rand_win.c .\crypto\rand\rand_win.c(544): error C2039: 'dwSize': is not a member of '_MEMORYSTATUS' C:\Program Files (x86)\Windows Kits\8.1\include\um\winbase.h(545): note: see declaration of '_MEMORYSTATUS' ...
by Antonio Linares
Thu Apr 09, 2015 9:14 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Build with Visual Studio 2015 errors
Replies: 33
Views: 7886

Problem compiling testtool.prg

... CLIPPER TIMERCOUNT( PARAMS ) // --> { nMsSinceStart, nMsThisVM } { #ifndef __FLAT__ TIMERINFO ti; ti.dwSize = sizeof( TIMERINFO ); if( TimerCount( &ti ) ) { _reta( 2 ); _stornl( ti.dwmsSinceStart, -1, 1 ); _stornl( ti.dwmsThisVM, -1, 2 ); } else ...
by Massimo Linossi
Fri Sep 19, 2014 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem compiling testtool.prg
Replies: 0
Views: 503

Tengo un mensqje de error en bcc582

... typedef LPCDLGTEMPLATE PROPSHEETPAGE_RESOURCE; #else typedef const VOID* PROPSHEETPAGE_RESOURCE; #endif #define PROPSHEETPAGEA_V1_FIELDS \ DWORD dwSize; \ DWORD dwFlags; \ HINSTANCE hInstance; \ union \ { \ LPCSTR pszTemplate; \ PROPSHEETPAGE_RESOURCE pResource; \ } DUMMYUNIONNAME; \ union \ ...
by Armando Picon
Thu Aug 14, 2014 12:08 am
 
Forum: EasyReport, EasyDialog y EasyPreview
Topic: Tengo un mensqje de error en bcc582
Replies: 2
Views: 1560

Re: detect default browser and retrieve a cookie [pending]

... <hbapi.h>/*BOOLAPIInternetGetCookie(    __in LPCSTR lpszUrl,    __in_opt LPCSTR lpszCookieName,    __out_ecount_opt(*lpdwSize) LPSTR lpszCookieData,    __inout LPDWORD lpdwSize    );*/HB_FUNC( INTERNETGETCOOKIE ){   DWORD dwSize = 0;   char * buffer;   InternetGetCookie( ...
by joseluispalma
Mon Jul 21, 2014 11:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: detect default browser and retrieve a cookie [SOLVED]
Replies: 9
Views: 1708

Re: User rights on a Vista OS

... LPSTR LToStr( long w );HB_FUNC( ISADMIN ){  HANDLE hToken;  PTOKEN_GROUPS pGroupInfo;  DWORD dwSize = 0, dwResult;  DWORD nError = 0, i;  BOOL lError, lAdMin = FALSE;  LPSTR cFunc = "";  PSID   psidAdmin;  ...
by lucasdebeltran
Sun Sep 30, 2012 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: User rights on a Vista OS
Replies: 17
Views: 3124

Re: Descubrir dispositivos via Bluetooth

... *qs = (WSAQUERYSET*) malloc( qs_len ); HANDLE lphLookup; INT nError; lphLookup = (HANDLE) hb_parnl(1); ZeroMemory( qs, qs_len ); qs->dwSize = sizeof(WSAQUERYSET); qs->dwNameSpace = NS_BTH; flags |= LUP_FLUSHCACHE | LUP_RETURN_NAME | LUP_RETURN_ADDR; // Start the device inquiry ...
by softruz
Wed Nov 18, 2009 4:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Descubrir dispositivos via Bluetooth
Replies: 5
Views: 1318

Re: Calling LHA32.DLL

Michael,

Try it this way:

DLL32 FUNCTION UnLha( hIntPtr AS LONG, szCmdLine as LPSTR, @szOutPut as LPSTR, dwSize as LONG ) AS LONG PASCAL LIB "UNLHA32.DLL"

Please notice that szOutPut must be passed by reference "@"
by Antonio Linares
Sat Jun 27, 2009 5:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calling LHA32.DLL
Replies: 4
Views: 1165

Calling LHA32.DLL

... CharSet = CharSet.Ansi)] public static extern long Unlha(IntPtr hwnd, string szCmdLine, StringBuilder SzOutput, int dwSize); /// <summary> I defined the function below in Harbour but I've got something wrong and it does absolutely nothing. I'm not sure how to ...
by MichaelMo
Sat Jun 27, 2009 1:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Calling LHA32.DLL
Replies: 4
Views: 1165

Dispositivos Bluetooth. Una de WSA

... dwControlFlags |= LUP_RETURN_ADDR; dwControlFlags |= LUP_FLUSHCACHE; (&wsaqueryset)->dwNameSpace = NS_BTH; (&wsaqueryset)->dwSize = sizeof(wsaqueryset); _retni( WSALookupServiceBegin( &wsaqueryset,dwControlFlags,&lphLookUp ) ); } ¿Sabeis como puedo llamarla? Lo mismo ...
by softruz
Thu Jun 18, 2009 5:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Dispositivos Bluetooth. Una de WSA
Replies: 0
Views: 316

Re: SMS question

... ("WaitForSingleObject %d\r\n", rc); SmsClose (smshHandle); return 0; } memset (&smsaDestination, 0, sizeof (smsaDestination)); DWORD dwSize, dwRead = 0; hr = SmsGetMessageSize (smshHandle, &dwSize); if (hr != ERROR_SUCCESS) { dwSize = 1024; return 0; } char *pMessage = (char *)malloc ...
by jlcapel
Sat Jan 10, 2009 7:52 pm
 
Forum: FiveWin for Pocket PC
Topic: SMS question
Replies: 51
Views: 21589
Next

Return to advanced search