Hi All,
My app needs to play some sounds using the "Playsound" method in "winmm.dll" as follows:
lngRetVal = PlaySound("D:\WebbIE0.6\Icons\start.WAV", 0, 0)
Problem is that the location of "start.wav" will change, depending on which location the user installs the software to. (They might use the C: drive instead of D:, for example)
I'm sure there must be some way of fixing this by storing a registry entry during installation.
Could anyone advise me on this please? Any help would be much appreciated.
Thanks in advance,
James.
My app needs to play some sounds using the "Playsound" method in "winmm.dll" as follows:
lngRetVal = PlaySound("D:\WebbIE0.6\Icons\start.WAV", 0, 0)
Problem is that the location of "start.wav" will change, depending on which location the user installs the software to. (They might use the C: drive instead of D:, for example)
I'm sure there must be some way of fixing this by storing a registry entry during installation.
Could anyone advise me on this please? Any help would be much appreciated.
Thanks in advance,
James.