FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SetFocus question.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: SetFocus question.
Posted: Tue Feb 21, 2017 07:11 AM
You have to define buffer and dwSize

Code (fw): Select all Collapse
#pragma BEGINDUMP

#include <windows.h>
#include <hbapi.h>

HB_FUNC( GETCONSOLEWINDOW )
{
   char * szText = "Hello";
   DWORD dwSize = strlen( szText );

   hb_retclen( buffer, dwSize );
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion