Convert VB.NET to FWH
Hello Antonio,
I am trieing to convert my kitchen screen to Fivewin. Now I have problems with playing wav-files.
The kitchen screen has for each meal a wav-file and plays this file to announce the order.
The error is on loading MMSYSTEM.DLL .
This runs on a VISTA PC.
Regards,
Otto
Convert kitchen-screen VB.NET to FWH
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Otto,
Code: Select all
#include "FiveWin.ch"
function Main()
SndPlaySound( "test.wav" )
return nil
DLL FUNCTION SndPlaySound( cFile AS LPSTR, nType AS WORD ) AS BOOL ;
PASCAL FROM "sndPlaySoundA" LIB "WINMM.DLL"
Antonio,
I use SndPlaySound() in my application, but I don't have DLL FUNCTION SndPlaySound().
Why is that ? Difference between Harbour and xHarbour ?
Thanks.
I use SndPlaySound() in my application, but I don't have DLL FUNCTION SndPlaySound().
Why is that ? Difference between Harbour and xHarbour ?
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Antonio,
I habe FWH 7.12 and xHarbour Project Builder Nov. 2007. In my application SNDPLAYSOUND() is working fine on XP and on Vista.
So, to tell you the thruth : I don't understand.
Thanks anyway.
I habe FWH 7.12 and xHarbour Project Builder Nov. 2007. In my application SNDPLAYSOUND() is working fine on XP and on Vista.
So, to tell you the thruth : I don't understand.
Thanks anyway.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: