In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Playing a sound
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Hi Guys
How do I play a wave file from Xailer?
Nick
How do I play a wave file from Xailer?
Nick
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Playing a sound
Nick,
The easiest way is to use the API function SndPlaySound(). Here it is
documentation:
sndPlaySound
The sndPlaySound function plays a waveform sound specified either by a
filename or by an entry in the registry or the WIN.INI file. This function
offers a subset of the functionality of the PlaySound function; sndPlaySound
is being maintained for backward compatibility.
BOOL sndPlaySound(
LPCSTR lpszSound,
UINT fuSound
);Parameters
lpszSound
A string that specifies the sound to play. This parameter can be either an
entry in the registry or in WIN.INI that identifies a system sound, or it
can be the name of a waveform-audio file. (If the function does not find the
entry, the parameter is treated as a filename.) If this parameter is NULL,
any currently playing sound is stopped.
fuSound
Flags for playing the sound. The following values are defined. Value
Meaning
SND_ASYNC The sound is played asynchronously and the function
returns immediately after beginning the sound. To terminate an
asynchronously played sound, call sndPlaySound with lpszSoundName set to
NULL.
SND_LOOP The sound plays repeatedly until sndPlaySound is called
again with the lpszSoundName parameter set to NULL. You must also specify
the SND_ASYNC flag to loop sounds.
SND_MEMORY The parameter specified by lpszSoundName points to an
image of a waveform sound in memory.
SND_NODEFAULT If the sound cannot be found, the function returns
silently without playing the default sound.
SND_NOSTOP If a sound is currently playing, the function immediately
returns FALSE, without playing the requested sound.
SND_SYNC The sound is played synchronously and the function does not
return until the sound ends.
Return Values
Returns TRUE if successful or FALSE otherwise.
If you need some help to make the wrapper just let us know.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
> Hi Guys
>
> How do I play a wave file from Xailer?
>
> Nick
>
>
The easiest way is to use the API function SndPlaySound(). Here it is
documentation:
sndPlaySound
The sndPlaySound function plays a waveform sound specified either by a
filename or by an entry in the registry or the WIN.INI file. This function
offers a subset of the functionality of the PlaySound function; sndPlaySound
is being maintained for backward compatibility.
BOOL sndPlaySound(
LPCSTR lpszSound,
UINT fuSound
);Parameters
lpszSound
A string that specifies the sound to play. This parameter can be either an
entry in the registry or in WIN.INI that identifies a system sound, or it
can be the name of a waveform-audio file. (If the function does not find the
entry, the parameter is treated as a filename.) If this parameter is NULL,
any currently playing sound is stopped.
fuSound
Flags for playing the sound. The following values are defined. Value
Meaning
SND_ASYNC The sound is played asynchronously and the function
returns immediately after beginning the sound. To terminate an
asynchronously played sound, call sndPlaySound with lpszSoundName set to
NULL.
SND_LOOP The sound plays repeatedly until sndPlaySound is called
again with the lpszSoundName parameter set to NULL. You must also specify
the SND_ASYNC flag to loop sounds.
SND_MEMORY The parameter specified by lpszSoundName points to an
image of a waveform sound in memory.
SND_NODEFAULT If the sound cannot be found, the function returns
silently without playing the default sound.
SND_NOSTOP If a sound is currently playing, the function immediately
returns FALSE, without playing the requested sound.
SND_SYNC The sound is played synchronously and the function does not
return until the sound ends.
Return Values
Returns TRUE if successful or FALSE otherwise.
If you need some help to make the wrapper just let us know.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
> Hi Guys
>
> How do I play a wave file from Xailer?
>
> Nick
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Playing a sound
Nick,
The easiest way is to use the API function SndPlaySound(). Here it is
documentation:
sndPlaySound
The sndPlaySound function plays a waveform sound specified either by a
filename or by an entry in the registry or the WIN.INI file. This function
offers a subset of the functionality of the PlaySound function; sndPlaySound
is being maintained for backward compatibility.
BOOL sndPlaySound(
LPCSTR lpszSound,
UINT fuSound
);Parameters
lpszSound
A string that specifies the sound to play. This parameter can be either an
entry in the registry or in WIN.INI that identifies a system sound, or it
can be the name of a waveform-audio file. (If the function does not find the
entry, the parameter is treated as a filename.) If this parameter is NULL,
any currently playing sound is stopped.
fuSound
Flags for playing the sound. The following values are defined. Value
Meaning
SND_ASYNC The sound is played asynchronously and the function
returns immediately after beginning the sound. To terminate an
asynchronously played sound, call sndPlaySound with lpszSoundName set to
NULL.
SND_LOOP The sound plays repeatedly until sndPlaySound is called
again with the lpszSoundName parameter set to NULL. You must also specify
the SND_ASYNC flag to loop sounds.
SND_MEMORY The parameter specified by lpszSoundName points to an
image of a waveform sound in memory.
SND_NODEFAULT If the sound cannot be found, the function returns
silently without playing the default sound.
SND_NOSTOP If a sound is currently playing, the function immediately
returns FALSE, without playing the requested sound.
SND_SYNC The sound is played synchronously and the function does not
return until the sound ends.
Return Values
Returns TRUE if successful or FALSE otherwise.
If you need some help to make the wrapper just let us know.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
> Hi Guys
>
> How do I play a wave file from Xailer?
>
> Nick
>
>
The easiest way is to use the API function SndPlaySound(). Here it is
documentation:
sndPlaySound
The sndPlaySound function plays a waveform sound specified either by a
filename or by an entry in the registry or the WIN.INI file. This function
offers a subset of the functionality of the PlaySound function; sndPlaySound
is being maintained for backward compatibility.
BOOL sndPlaySound(
LPCSTR lpszSound,
UINT fuSound
);Parameters
lpszSound
A string that specifies the sound to play. This parameter can be either an
entry in the registry or in WIN.INI that identifies a system sound, or it
can be the name of a waveform-audio file. (If the function does not find the
entry, the parameter is treated as a filename.) If this parameter is NULL,
any currently playing sound is stopped.
fuSound
Flags for playing the sound. The following values are defined. Value
Meaning
SND_ASYNC The sound is played asynchronously and the function
returns immediately after beginning the sound. To terminate an
asynchronously played sound, call sndPlaySound with lpszSoundName set to
NULL.
SND_LOOP The sound plays repeatedly until sndPlaySound is called
again with the lpszSoundName parameter set to NULL. You must also specify
the SND_ASYNC flag to loop sounds.
SND_MEMORY The parameter specified by lpszSoundName points to an
image of a waveform sound in memory.
SND_NODEFAULT If the sound cannot be found, the function returns
silently without playing the default sound.
SND_NOSTOP If a sound is currently playing, the function immediately
returns FALSE, without playing the requested sound.
SND_SYNC The sound is played synchronously and the function does not
return until the sound ends.
Return Values
Returns TRUE if successful or FALSE otherwise.
If you need some help to make the wrapper just let us know.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
> Hi Guys
>
> How do I play a wave file from Xailer?
>
> Nick
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Thats a bit beyond me. Be great of you could help.
Can it be part of the standard Xailer after that?
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48636d3d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The easiest way is to use the API function SndPlaySound(). Here it is
> documentation:
>
> sndPlaySound
> The sndPlaySound function plays a waveform sound specified either by a
> filename or by an entry in the registry or the WIN.INI file. This function
> offers a subset of the functionality of the PlaySound function;
> sndPlaySound is being maintained for backward compatibility.
>
> BOOL sndPlaySound(
> LPCSTR lpszSound,
> UINT fuSound
> );Parameters
> lpszSound
> A string that specifies the sound to play. This parameter can be either
> an entry in the registry or in WIN.INI that identifies a system sound, or
> it can be the name of a waveform-audio file. (If the function does not
> find the entry, the parameter is treated as a filename.) If this parameter
> is NULL, any currently playing sound is stopped.
> fuSound
> Flags for playing the sound. The following values are defined. Value
> Meaning
> SND_ASYNC The sound is played asynchronously and the function
> returns immediately after beginning the sound. To terminate an
> asynchronously played sound, call sndPlaySound with lpszSoundName set to
> NULL.
> SND_LOOP The sound plays repeatedly until sndPlaySound is called
> again with the lpszSoundName parameter set to NULL. You must also specify
> the SND_ASYNC flag to loop sounds.
> SND_MEMORY The parameter specified by lpszSoundName points to an
> image of a waveform sound in memory.
> SND_NODEFAULT If the sound cannot be found, the function returns
> silently without playing the default sound.
> SND_NOSTOP If a sound is currently playing, the function
> immediately returns FALSE, without playing the requested sound.
> SND_SYNC The sound is played synchronously and the function does
> not return until the sound ends.
>
>
> Return Values
> Returns TRUE if successful or FALSE otherwise.
>
> If you need some help to make the wrapper just let us know.
>
> Regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
>> Hi Guys
>>
>> How do I play a wave file from Xailer?
>>
>> Nick
>>
>>
>
>
Can it be part of the standard Xailer after that?
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48636d3d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The easiest way is to use the API function SndPlaySound(). Here it is
> documentation:
>
> sndPlaySound
> The sndPlaySound function plays a waveform sound specified either by a
> filename or by an entry in the registry or the WIN.INI file. This function
> offers a subset of the functionality of the PlaySound function;
> sndPlaySound is being maintained for backward compatibility.
>
> BOOL sndPlaySound(
> LPCSTR lpszSound,
> UINT fuSound
> );Parameters
> lpszSound
> A string that specifies the sound to play. This parameter can be either
> an entry in the registry or in WIN.INI that identifies a system sound, or
> it can be the name of a waveform-audio file. (If the function does not
> find the entry, the parameter is treated as a filename.) If this parameter
> is NULL, any currently playing sound is stopped.
> fuSound
> Flags for playing the sound. The following values are defined. Value
> Meaning
> SND_ASYNC The sound is played asynchronously and the function
> returns immediately after beginning the sound. To terminate an
> asynchronously played sound, call sndPlaySound with lpszSoundName set to
> NULL.
> SND_LOOP The sound plays repeatedly until sndPlaySound is called
> again with the lpszSoundName parameter set to NULL. You must also specify
> the SND_ASYNC flag to loop sounds.
> SND_MEMORY The parameter specified by lpszSoundName points to an
> image of a waveform sound in memory.
> SND_NODEFAULT If the sound cannot be found, the function returns
> silently without playing the default sound.
> SND_NOSTOP If a sound is currently playing, the function
> immediately returns FALSE, without playing the requested sound.
> SND_SYNC The sound is played synchronously and the function does
> not return until the sound ends.
>
>
> Return Values
> Returns TRUE if successful or FALSE otherwise.
>
> If you need some help to make the wrapper just let us know.
>
> Regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
>> Hi Guys
>>
>> How do I play a wave file from Xailer?
>>
>> Nick
>>
>>
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Thats a bit beyond me. Be great of you could help.
Can it be part of the standard Xailer after that?
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48636d3d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The easiest way is to use the API function SndPlaySound(). Here it is
> documentation:
>
> sndPlaySound
> The sndPlaySound function plays a waveform sound specified either by a
> filename or by an entry in the registry or the WIN.INI file. This function
> offers a subset of the functionality of the PlaySound function;
> sndPlaySound is being maintained for backward compatibility.
>
> BOOL sndPlaySound(
> LPCSTR lpszSound,
> UINT fuSound
> );Parameters
> lpszSound
> A string that specifies the sound to play. This parameter can be either
> an entry in the registry or in WIN.INI that identifies a system sound, or
> it can be the name of a waveform-audio file. (If the function does not
> find the entry, the parameter is treated as a filename.) If this parameter
> is NULL, any currently playing sound is stopped.
> fuSound
> Flags for playing the sound. The following values are defined. Value
> Meaning
> SND_ASYNC The sound is played asynchronously and the function
> returns immediately after beginning the sound. To terminate an
> asynchronously played sound, call sndPlaySound with lpszSoundName set to
> NULL.
> SND_LOOP The sound plays repeatedly until sndPlaySound is called
> again with the lpszSoundName parameter set to NULL. You must also specify
> the SND_ASYNC flag to loop sounds.
> SND_MEMORY The parameter specified by lpszSoundName points to an
> image of a waveform sound in memory.
> SND_NODEFAULT If the sound cannot be found, the function returns
> silently without playing the default sound.
> SND_NOSTOP If a sound is currently playing, the function
> immediately returns FALSE, without playing the requested sound.
> SND_SYNC The sound is played synchronously and the function does
> not return until the sound ends.
>
>
> Return Values
> Returns TRUE if successful or FALSE otherwise.
>
> If you need some help to make the wrapper just let us know.
>
> Regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
>> Hi Guys
>>
>> How do I play a wave file from Xailer?
>>
>> Nick
>>
>>
>
>
Can it be part of the standard Xailer after that?
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48636d3d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The easiest way is to use the API function SndPlaySound(). Here it is
> documentation:
>
> sndPlaySound
> The sndPlaySound function plays a waveform sound specified either by a
> filename or by an entry in the registry or the WIN.INI file. This function
> offers a subset of the functionality of the PlaySound function;
> sndPlaySound is being maintained for backward compatibility.
>
> BOOL sndPlaySound(
> LPCSTR lpszSound,
> UINT fuSound
> );Parameters
> lpszSound
> A string that specifies the sound to play. This parameter can be either
> an entry in the registry or in WIN.INI that identifies a system sound, or
> it can be the name of a waveform-audio file. (If the function does not
> find the entry, the parameter is treated as a filename.) If this parameter
> is NULL, any currently playing sound is stopped.
> fuSound
> Flags for playing the sound. The following values are defined. Value
> Meaning
> SND_ASYNC The sound is played asynchronously and the function
> returns immediately after beginning the sound. To terminate an
> asynchronously played sound, call sndPlaySound with lpszSoundName set to
> NULL.
> SND_LOOP The sound plays repeatedly until sndPlaySound is called
> again with the lpszSoundName parameter set to NULL. You must also specify
> the SND_ASYNC flag to loop sounds.
> SND_MEMORY The parameter specified by lpszSoundName points to an
> image of a waveform sound in memory.
> SND_NODEFAULT If the sound cannot be found, the function returns
> silently without playing the default sound.
> SND_NOSTOP If a sound is currently playing, the function
> immediately returns FALSE, without playing the requested sound.
> SND_SYNC The sound is played synchronously and the function does
> not return until the sound ends.
>
>
> Return Values
> Returns TRUE if successful or FALSE otherwise.
>
> If you need some help to make the wrapper just let us know.
>
> Regards,
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:[email=48630c2a@ozsrv2.ozlan.local...]48630c2a@ozsrv2.ozlan.local...[/email]
>> Hi Guys
>>
>> How do I play a wave file from Xailer?
>>
>> Nick
>>
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Playing a sound
Nick,
Here it is. Already included in Xailer.lib.
Regards,
//---------------------------------------------------------- --------------------
METHOD Button1Click( oSender ) CLASS TForm1
SndPlaySound( "c:tempend.wav" )
RETURN Nil
//---------------------------------------------------------- --------------------
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
{
UINT fuSound = SND_NODEFAULT;
if( ISLOG( 2 ) && hb_parl( 2 ) )
fuSound |= SND_ASYNC;
hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
}
#pragma ENDDUMP
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thats a bit beyond me. Be great of you could help.
>
> Can it be part of the standard Xailer after that?
>
> Nick
>
Here it is. Already included in Xailer.lib.
Regards,
//---------------------------------------------------------- --------------------
METHOD Button1Click( oSender ) CLASS TForm1
SndPlaySound( "c:tempend.wav" )
RETURN Nil
//---------------------------------------------------------- --------------------
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
{
UINT fuSound = SND_NODEFAULT;
if( ISLOG( 2 ) && hb_parl( 2 ) )
fuSound |= SND_ASYNC;
hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
}
#pragma ENDDUMP
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thats a bit beyond me. Be great of you could help.
>
> Can it be part of the standard Xailer after that?
>
> Nick
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Playing a sound
Nick,
Here it is. Already included in Xailer.lib.
Regards,
//---------------------------------------------------------- --------------------
METHOD Button1Click( oSender ) CLASS TForm1
SndPlaySound( "c:tempend.wav" )
RETURN Nil
//---------------------------------------------------------- --------------------
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
{
UINT fuSound = SND_NODEFAULT;
if( ISLOG( 2 ) && hb_parl( 2 ) )
fuSound |= SND_ASYNC;
hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
}
#pragma ENDDUMP
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thats a bit beyond me. Be great of you could help.
>
> Can it be part of the standard Xailer after that?
>
> Nick
>
Here it is. Already included in Xailer.lib.
Regards,
//---------------------------------------------------------- --------------------
METHOD Button1Click( oSender ) CLASS TForm1
SndPlaySound( "c:tempend.wav" )
RETURN Nil
//---------------------------------------------------------- --------------------
#pragma BEGINDUMP
#include <windows.h>
#include <xailer.h>
XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
{
UINT fuSound = SND_NODEFAULT;
if( ISLOG( 2 ) && hb_parl( 2 ) )
fuSound |= SND_ASYNC;
hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
}
#pragma ENDDUMP
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thats a bit beyond me. Be great of you could help.
>
> Can it be part of the standard Xailer after that?
>
> Nick
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Thanks for that, it looks nothing like what I thought it would....
I think I will stick to xharbour coding..
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> Here it is. Already included in Xailer.lib.
>
> Regards,
>
> //---------------------------------------------------------- --------------------
>
> METHOD Button1Click( oSender ) CLASS TForm1
>
> SndPlaySound( "c:tempend.wav" )
>
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
> {
> UINT fuSound = SND_NODEFAULT;
>
> if( ISLOG( 2 ) && hb_parl( 2 ) )
> fuSound |= SND_ASYNC;
>
> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>
> }
> #pragma ENDDUMP
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thats a bit beyond me. Be great of you could help.
>>
>> Can it be part of the standard Xailer after that?
>>
>> Nick
>>
>
>
I think I will stick to xharbour coding..
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> Here it is. Already included in Xailer.lib.
>
> Regards,
>
> //---------------------------------------------------------- --------------------
>
> METHOD Button1Click( oSender ) CLASS TForm1
>
> SndPlaySound( "c:tempend.wav" )
>
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
> {
> UINT fuSound = SND_NODEFAULT;
>
> if( ISLOG( 2 ) && hb_parl( 2 ) )
> fuSound |= SND_ASYNC;
>
> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>
> }
> #pragma ENDDUMP
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thats a bit beyond me. Be great of you could help.
>>
>> Can it be part of the standard Xailer after that?
>>
>> Nick
>>
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Thanks for that, it looks nothing like what I thought it would....
I think I will stick to xharbour coding..
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> Here it is. Already included in Xailer.lib.
>
> Regards,
>
> //---------------------------------------------------------- --------------------
>
> METHOD Button1Click( oSender ) CLASS TForm1
>
> SndPlaySound( "c:tempend.wav" )
>
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
> {
> UINT fuSound = SND_NODEFAULT;
>
> if( ISLOG( 2 ) && hb_parl( 2 ) )
> fuSound |= SND_ASYNC;
>
> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>
> }
> #pragma ENDDUMP
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thats a bit beyond me. Be great of you could help.
>>
>> Can it be part of the standard Xailer after that?
>>
>> Nick
>>
>
>
I think I will stick to xharbour coding..
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> Here it is. Already included in Xailer.lib.
>
> Regards,
>
> //---------------------------------------------------------- --------------------
>
> METHOD Button1Click( oSender ) CLASS TForm1
>
> SndPlaySound( "c:tempend.wav" )
>
> RETURN Nil
>
> //---------------------------------------------------------- --------------------
>
> #pragma BEGINDUMP
>
> #include <windows.h>
> #include <xailer.h>
>
> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
> {
> UINT fuSound = SND_NODEFAULT;
>
> if( ISLOG( 2 ) && hb_parl( 2 ) )
> fuSound |= SND_ASYNC;
>
> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>
> }
> #pragma ENDDUMP
>
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thats a bit beyond me. Be great of you could help.
>>
>> Can it be part of the standard Xailer after that?
>>
>> Nick
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Playing a sound
Nick,
The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
extended API.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thanks for that, it looks nothing like what I thought it would....
>
> I think I will stick to xharbour coding..
>
> Nick
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> Here it is. Already included in Xailer.lib.
>>
>> Regards,
>>
>> //---------------------------------------------------------- --------------------
>>
>> METHOD Button1Click( oSender ) CLASS TForm1
>>
>> SndPlaySound( "c:tempend.wav" )
>>
>> RETURN Nil
>>
>> //---------------------------------------------------------- --------------------
>>
>> #pragma BEGINDUMP
>>
>> #include <windows.h>
>> #include <xailer.h>
>>
>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>> {
>> UINT fuSound = SND_NODEFAULT;
>>
>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>> fuSound |= SND_ASYNC;
>>
>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>
>> }
>> #pragma ENDDUMP
>>
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Soporte Xailer]
>> [Xailer support]
>>
>>
>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Thats a bit beyond me. Be great of you could help.
>>>
>>> Can it be part of the standard Xailer after that?
>>>
>>> Nick
>>>
>>
>>
>
>
The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
extended API.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thanks for that, it looks nothing like what I thought it would....
>
> I think I will stick to xharbour coding..
>
> Nick
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> Here it is. Already included in Xailer.lib.
>>
>> Regards,
>>
>> //---------------------------------------------------------- --------------------
>>
>> METHOD Button1Click( oSender ) CLASS TForm1
>>
>> SndPlaySound( "c:tempend.wav" )
>>
>> RETURN Nil
>>
>> //---------------------------------------------------------- --------------------
>>
>> #pragma BEGINDUMP
>>
>> #include <windows.h>
>> #include <xailer.h>
>>
>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>> {
>> UINT fuSound = SND_NODEFAULT;
>>
>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>> fuSound |= SND_ASYNC;
>>
>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>
>> }
>> #pragma ENDDUMP
>>
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Soporte Xailer]
>> [Xailer support]
>>
>>
>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Thats a bit beyond me. Be great of you could help.
>>>
>>> Can it be part of the standard Xailer after that?
>>>
>>> Nick
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Playing a sound
Nick,
The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
extended API.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thanks for that, it looks nothing like what I thought it would....
>
> I think I will stick to xharbour coding..
>
> Nick
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> Here it is. Already included in Xailer.lib.
>>
>> Regards,
>>
>> //---------------------------------------------------------- --------------------
>>
>> METHOD Button1Click( oSender ) CLASS TForm1
>>
>> SndPlaySound( "c:tempend.wav" )
>>
>> RETURN Nil
>>
>> //---------------------------------------------------------- --------------------
>>
>> #pragma BEGINDUMP
>>
>> #include <windows.h>
>> #include <xailer.h>
>>
>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>> {
>> UINT fuSound = SND_NODEFAULT;
>>
>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>> fuSound |= SND_ASYNC;
>>
>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>
>> }
>> #pragma ENDDUMP
>>
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Soporte Xailer]
>> [Xailer support]
>>
>>
>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Thats a bit beyond me. Be great of you could help.
>>>
>>> Can it be part of the standard Xailer after that?
>>>
>>> Nick
>>>
>>
>>
>
>
The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
extended API.
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Thanks for that, it looks nothing like what I thought it would....
>
> I think I will stick to xharbour coding..
>
> Nick
>
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> Here it is. Already included in Xailer.lib.
>>
>> Regards,
>>
>> //---------------------------------------------------------- --------------------
>>
>> METHOD Button1Click( oSender ) CLASS TForm1
>>
>> SndPlaySound( "c:tempend.wav" )
>>
>> RETURN Nil
>>
>> //---------------------------------------------------------- --------------------
>>
>> #pragma BEGINDUMP
>>
>> #include <windows.h>
>> #include <xailer.h>
>>
>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>> {
>> UINT fuSound = SND_NODEFAULT;
>>
>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>> fuSound |= SND_ASYNC;
>>
>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>
>> }
>> #pragma ENDDUMP
>>
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> [Soporte Xailer]
>> [Xailer support]
>>
>>
>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Thats a bit beyond me. Be great of you could help.
>>>
>>> Can it be part of the standard Xailer after that?
>>>
>>> Nick
>>>
>>
>>
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Hi
Yeah I knew what it was, it was more that I had a little go at trying to
make the function and gave up
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48653657$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
> extended API.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thanks for that, it looks nothing like what I thought it would....
>>
>> I think I will stick to xharbour coding..
>>
>> Nick
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Nick,
>>>
>>> Here it is. Already included in Xailer.lib.
>>>
>>> Regards,
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> METHOD Button1Click( oSender ) CLASS TForm1
>>>
>>> SndPlaySound( "c:tempend.wav" )
>>>
>>> RETURN Nil
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> #pragma BEGINDUMP
>>>
>>> #include <windows.h>
>>> #include <xailer.h>
>>>
>>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>>> {
>>> UINT fuSound = SND_NODEFAULT;
>>>
>>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>>> fuSound |= SND_ASYNC;
>>>
>>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>>
>>> }
>>> #pragma ENDDUMP
>>>
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> [Soporte Xailer]
>>> [Xailer support]
>>>
>>>
>>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Thats a bit beyond me. Be great of you could help.
>>>>
>>>> Can it be part of the standard Xailer after that?
>>>>
>>>> Nick
>>>>
>>>
>>>
>>
>>
>
>
Yeah I knew what it was, it was more that I had a little go at trying to
make the function and gave up

Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48653657$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
> extended API.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thanks for that, it looks nothing like what I thought it would....
>>
>> I think I will stick to xharbour coding..
>>
>> Nick
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Nick,
>>>
>>> Here it is. Already included in Xailer.lib.
>>>
>>> Regards,
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> METHOD Button1Click( oSender ) CLASS TForm1
>>>
>>> SndPlaySound( "c:tempend.wav" )
>>>
>>> RETURN Nil
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> #pragma BEGINDUMP
>>>
>>> #include <windows.h>
>>> #include <xailer.h>
>>>
>>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>>> {
>>> UINT fuSound = SND_NODEFAULT;
>>>
>>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>>> fuSound |= SND_ASYNC;
>>>
>>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>>
>>> }
>>> #pragma ENDDUMP
>>>
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> [Soporte Xailer]
>>> [Xailer support]
>>>
>>>
>>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Thats a bit beyond me. Be great of you could help.
>>>>
>>>> Can it be part of the standard Xailer after that?
>>>>
>>>> Nick
>>>>
>>>
>>>
>>
>>
>
>
-
- Mensajes: 328
- Registrado: Mar Nov 21, 2006 2:10 am
Playing a sound
Hi
Yeah I knew what it was, it was more that I had a little go at trying to
make the function and gave up
Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48653657$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
> extended API.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thanks for that, it looks nothing like what I thought it would....
>>
>> I think I will stick to xharbour coding..
>>
>> Nick
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Nick,
>>>
>>> Here it is. Already included in Xailer.lib.
>>>
>>> Regards,
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> METHOD Button1Click( oSender ) CLASS TForm1
>>>
>>> SndPlaySound( "c:tempend.wav" )
>>>
>>> RETURN Nil
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> #pragma BEGINDUMP
>>>
>>> #include <windows.h>
>>> #include <xailer.h>
>>>
>>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>>> {
>>> UINT fuSound = SND_NODEFAULT;
>>>
>>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>>> fuSound |= SND_ASYNC;
>>>
>>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>>
>>> }
>>> #pragma ENDDUMP
>>>
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> [Soporte Xailer]
>>> [Xailer support]
>>>
>>>
>>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Thats a bit beyond me. Be great of you could help.
>>>>
>>>> Can it be part of the standard Xailer after that?
>>>>
>>>> Nick
>>>>
>>>
>>>
>>
>>
>
>
Yeah I knew what it was, it was more that I had a little go at trying to
make the function and gave up

Nick
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:48653657$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Nick,
>
> The code inside the BEGINDUMP-ENDDUMP is pure 'C' code using the xHarbour
> extended API.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> [Soporte Xailer]
> [Xailer support]
>
>
> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
> news:48640cf3$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Thanks for that, it looks nothing like what I thought it would....
>>
>> I think I will stick to xharbour coding..
>>
>> Nick
>>
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4863a52e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Nick,
>>>
>>> Here it is. Already included in Xailer.lib.
>>>
>>> Regards,
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> METHOD Button1Click( oSender ) CLASS TForm1
>>>
>>> SndPlaySound( "c:tempend.wav" )
>>>
>>> RETURN Nil
>>>
>>> //---------------------------------------------------------- --------------------
>>>
>>> #pragma BEGINDUMP
>>>
>>> #include <windows.h>
>>> #include <xailer.h>
>>>
>>> XA_FUNC( SNDPLAYSOUND ) // File, lAsynchronous --> lRet
>>> {
>>> UINT fuSound = SND_NODEFAULT;
>>>
>>> if( ISLOG( 2 ) && hb_parl( 2 ) )
>>> fuSound |= SND_ASYNC;
>>>
>>> hb_retl( sndPlaySound( hb_parc( 1 ), fuSound ) );
>>>
>>> }
>>> #pragma ENDDUMP
>>>
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> [Soporte Xailer]
>>> [Xailer support]
>>>
>>>
>>> "Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
>>> news:486391ae$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Thats a bit beyond me. Be great of you could help.
>>>>
>>>> Can it be part of the standard Xailer after that?
>>>>
>>>> Nick
>>>>
>>>
>>>
>>
>>
>
>