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
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