Can someone help me to pass the parameter to the messageBox.
I would like to show cTest inside the messagebox.
Thanks in advance
Otto
I would like to show cTest inside the messagebox.
Thanks in advance
Otto
#include "FWCE.ch"
//----------------------------------------------------------------------------//
function Main()
  local oDlg, cText := "Hello world!  "
 local hReturn := ""
 hReturn = TESTFUNKTION( "216.117.77.7" )
 msginfo(hReturn)
 Â
return nil
//----------------------------------------------------------------------------//
#pragma BEGINDUMP
#include <windows.h>
#include <hbapi.h>
HB_FUNC( TESTFUNKTION )
{
  LPSTR cTest=  ( hb_parc( 1 ) ) ;
 Â
//MessageBox( GetActiveWindow(), ( char * ) cTest, ( char * ) cAgent,0);
//MessageBox (NULL, Â _T( &cTest) , _T("Hello"), 0);
MessageBox (NULL, Â _T("Hello") , _T("Hello"), 0);
hb_retc( ( char * ) cTest);
}
#pragma ENDDUMP