I am currently having problems with a console application in delphi. I start playing a song as soon as the program starts using the sndPlaySound function. But, later in the program I use sleep() to improve the aesthetics of the program. When I do this my sound stops playing. Is there anyway to have this play in the background of the program so it is not interrupted by the sleep()? Is there any other way to easily create a delay without the sleep function?
schroaus
8
Junior Poster in Training
SalmiSoft
102
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.