Página 1 de 1

Xailer 2 Beta June 2009 - I need help

Publicado: Jue Jun 18, 2009 11:31 am
por Ingo JH
on the previous Xailer 2 release this code was compiled witout any problem
//---------------------------------------------------------- --------------------
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC_STATIC( MCISENDSTRING )
{
hb_retnl( mciSendString( hb_parc( 1 ), NULL, hb_parnl( 3 ), (HWND)
hb_parnl( 4 ) ) );
}
#pragma ENDDUMP
//---------------------------------------------------------- --------------------
Now I get the warning message
Warning W8070 : Function should return a value in function XA_FUNC_STATIC
Warning W8057 : Parameter 'MCISENDSTRING' is never used in function
XA_FUNC_STATIC
What in this code I have to change that the new release accept it?
Thanks in advance
Ingo