Re: SetFocus question.
Posted: Tue Feb 21, 2017 7:11 am
You have to define buffer and dwSize
Code: Select all | Expand
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
HB_FUNC( GETCONSOLEWINDOW )
{
char * szText = "Hello";
DWORD dwSize = strlen( szText );
hb_retclen( buffer, dwSize );
}
#pragma ENDDUMP