Search found 27 matches: lpvoid

Return to advanced search

Re: access to window via its :hwnd

... #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 ); HB_SYMBOL_UNUSED( lpvReserved ); switch( fdwReason ) { case DLL_PROCESS_ATTACH: ...
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: 1776

Re: Looking for cliparse.zip / Buscando cliparse.zip

This is our pcode C model. It compiles fine. Test.c typedef unsigned char BYTE; typedef void * LPVOID; typedef struct { char * szName; BYTE bScope; LPVOID pVoid; } SYMBOL; #define PUBLIC 0 void MAIN( void ); void QOUT( void ); void VirtualMachine( BYTE * pcode, SYMBOL ...
by Antonio Linares
Mon Oct 24, 2016 7:52 am
 
Forum: Off Topic / Otros temas
Topic: Looking for cliparse.zip / Buscando cliparse.zip
Replies: 6
Views: 2291

Re: Looking for cliparse.zip / Buscando cliparse.zip

... Each of those symbols have the following structure: typedef struct { char * szName; // Clipper infact keeps an array here (11 bytes). BYTE bScope; LPVOID pVoid; } SYMBOL; #define PUBLIC 0 // the scope of the function! SYMBOL symbols[] = { { "MAIN", PUBLIC, MAIN }, { "QQOUT", ...
by Antonio Linares
Mon Oct 24, 2016 7:51 am
 
Forum: Off Topic / Otros temas
Topic: Looking for cliparse.zip / Buscando cliparse.zip
Replies: 6
Views: 2291

Re: create a harbour dll containing functions to be executed

... MessageBox( 0, "inside the DLL", "DOPROC", 0 ); return 0; } BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); HB_SYMBOL_UNUSED( lpvReserved ); switch( fdwReason ) { case DLL_PROCESS_ATTACH: ...
by rkurian
Thu Sep 08, 2016 8:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4254

Re: create a harbour dll containing functions to be executed

... . . and many other ************ I inserted in MYDLL.PRG the: BOOL WINAPI DllEntryPoint( HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved ) { HB_SYMBOL_UNUSED( hinstDLL ); HB_SYMBOL_UNUSED( fdwReason ); HB_SYMBOL_UNUSED( lpvReserved ); switch( fdwReason ) { case DLL_PROCESS_ATTACH: ...
by Romeo
Wed Sep 07, 2016 9:29 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: create a harbour dll containing functions to be executed
Replies: 23
Views: 4254

wmf2emf problemi in compilazione

... HB_FUNC( WMFTOEMF ) // ( cWmf, cEmf ) { HMETAFILE hWMF = GetMetaFile( hb_parc( 1 ) ); UINT nSize = GetMetaFileBitsEx( hWMF, 0, NULL ); LPVOID lpvData = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, nSize ); HENHMETAFILE hEMF, hEMF2; GetMetaFileBitsEx( hWMF, nSize, lpvData ); hEMF = ...
by Romeo
Wed Jan 20, 2016 4:59 pm
 
Forum: All products support
Topic: wmf2emf problemi in compilazione
Replies: 0
Views: 567

Re: Windows 7 taskbar button progress bar

... All rights reserved. antonino.c antonino.prg(29) : error C2664: 'HRESULT CoCreateInstance(const IID &,LPUNKNOWN,DWORD,const IID &,LPVOID *)' : cannot convert argument 1 from 'const CLSID *' to 'const IID &' Reason: cannot convert from 'const CLSID *' to 'const IID' No constructor ...
by Antonio Linares
Thu May 28, 2015 2:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 7 taskbar button progress bar
Replies: 20
Views: 5869

Re: Migrando de FWH 32 a FWH 64 - windows.h

Este es el prototipo de InternetReadFile(): BOOL InternetReadFile(  _In_   HINTERNET hFile,  _Out_  LPVOID lpBuffer,  _In_   DWORD dwNumberOfBytesToRead,  _Out_  LPDWORD lpdwNumberOfBytesRead); http://msdn.microsoft.com/en-us/library/windows/desktop/aa385103%28v=vs.85%29.aspx ...
by Antonio Linares
Sun Jan 04, 2015 10:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Migrando de FWH 32 a FWH 64 - windows.h
Replies: 79
Views: 18978

Tengo un mensqje de error en bcc582

... PropertySheetA #endif typedef BOOL (CALLBACK *LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM); typedef BOOL (CALLBACK *LPFNADDPROPSHEETPAGES)(LPVOID, LPFNADDPROPSHEETPAGE, LPARAM); typedef struct _PSHNOTIFY { NMHDR hdr; LPARAM lParam; } PSHNOTIFY, *LPPSHNOTIFY; #define PSN_FIRST (0U-200U) ...
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: 1559

Re: Tftp - Directory no retorna la hora - Funciona a Medias

... 1 ), &nFileSizeHigh ) ); } HB_FUNC( INTERNETREADFILE ) { DWORD nBytesRead; BOOL lSuccess = InternetReadFile( ( HINTERNET ) hb_parnl( 1 ), ( LPVOID ) hb_parc( 2 ), hb_parclen( 2 ), &nBytesRead ); if ( !lSuccess ) hb_retnl( -1 ); else hb_retnl( nBytesRead ); } HB_FUNC( INTERNETWRITEFILE ...
by Verhoven
Mon Jun 24, 2013 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tftp - Directory no retorna la hora - Funciona a Medias
Replies: 5
Views: 1414

Re: Creation of xHarbour PCODE DLL succeeded

... #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 ); HB_SYMBOL_UNUSED( lpvReserved ); switch( fdwReason ) { case DLL_PROCESS_ATTACH: ...
by Marco Turco
Sat Nov 19, 2011 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

Re: Creation of xHarbour PCODE DLL succeeded

... #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 ); HB_SYMBOL_UNUSED( lpvReserved ); switch( fdwReason ) { case DLL_PROCESS_ATTACH: ...
by Marco Turco
Thu Nov 17, 2011 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creation of xHarbour PCODE DLL succeeded
Replies: 25
Views: 10179

ayuda con sdk de ThermalServiceLibrary

... una ayudita. gracias.- ... #define tEXTERNAL_NUMERIC unsigned long /*POR QUE ACA*/ ... typedef struct { tTYPE_TRANSL_FUNC TypeTranslFuncPtr; LPVOID ParamValuePtr; } tEXTERNAL_NUMERIC; /*SI YA ESTA ACA*/ PROCEDURE Main()   ?"Begin Test..."   ?"Open Port...:", MYTSL_PortOpen( ...
by carlos vargas
Wed Oct 12, 2011 11:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuda con sdk de ThermalServiceLibrary
Replies: 6
Views: 2040

Communication with ARM9

... ); hb_retl(SetCommState( ( HANDLE ) hb_parnl( 1 ), &dcb )); } HB_FUNC( READCOMM ) { DWORD dw = 0; ReadFile( ( HANDLE ) hb_parnl( 1 ), ( LPVOID ) hb_parc( 2 ), ( DWORD ) hb_parni( 3 ), &dw, NULL ); hb_retni( ( int ) dw ? dw : -1 ); } HB_FUNC( WRITECOMM ) { DWORD dw = 0; WriteFile( ...
by Surasak
Thu Jun 30, 2011 9:36 am
 
Forum: FiveWin for Pocket PC
Topic: Communication with ARM9
Replies: 6
Views: 1867

Re: access to a supplier web site under program control

... &vPostData ); psa = SafeArrayCreateVector( VT_UI1, 0, cElems ); if( ! psa ) { hb_retnl( E_OUTOFMEMORY ); return; } SafeArrayAccessData( psa, ( LPVOID * ) &pPostData ); memcpy( pPostData, cszPostData, cElems ); SafeArrayUnaccessData( psa ); V_VT( &vPostData ) = VT_ARRAY | VT_UI1; V_ARRAY( ...
by Rick Lipkin
Tue Apr 05, 2011 7:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: access to a supplier web site under program control
Replies: 21
Views: 7619
Next

Return to advanced search