SetFocus question.

Re: SetFocus question.

Postby Antonio Linares » Tue Feb 21, 2017 7:11 am

You have to define buffer and dwSize

Code: Select all  Expand view
#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
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: lzanardo and 32 guests