Salvador,
Prueba a cambiar esta línea:
pW3 = AnsiToWide( ( LPSTR ) LockResource( hglb ) );
por:
pW3 = AnsiToWide( ( LPSTR ) hglb );
LPWSTR AnsiToWide( LPSTR );
HB_FUNC( PLAYSOUNDRESOURCE )
{
LPWSTR pW = AnsiToWide( hb_parc( 1 ) ) ;
hb_retl( PlaySound( pW, GetModuleHandle(NULL), ( ( hb_pcount() > 1 ) ? hb_parni( 2 ) : SND_ASYNC ) | SND_RESOURCE | SND_NODEFAULT ) );
}
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 3 guests