Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wav & mouse toghether???

Status
Not open for further replies.

GuyZana

Programmer
Jan 14, 2002
11
IL
Hello my friend,
I'm programming now a little software in C for dos,
i need to know how to do these things:
1. i'm using biokey() to read a key that pressed but instead
for waiting for a key i'm reading a key whenever a key is
pressed: like this:
if (bioskey(1))
key = bioskey(0);

i know the modifires(ctrl) are in bioskey(2) i deed this:
if (bioskey(1))
{
modifiers = bioskey(2); // check the modifiers
key = bioskey(0); // if key pressed than save it to key
}
and than i'm checking the modifires, but it doesn't work
if you know how to get the modifires please tell me

2. i have this problem with wav files, when the mouse is
working and there is wav playing my prog is getting stuck
i probably need to declare some where about critical task:
cti; but i don't know where and how, if you know please
tell me

Thanks from advanced,
Guy Zana
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top