Write a TSR program to turn off sound of aplications on computer

Reply

Join Date: Oct 2008
Posts: 5
Reputation: phuanon is an unknown quantity at this point 
Solved Threads: 0
phuanon phuanon is offline Offline
Newbie Poster

Write a TSR program to turn off sound of aplications on computer

 
0
  #1
Oct 23rd, 2008
Hey
i have a home work TSR program
anyone can help me

>> Write a progam TSR use C to turn off sound of all aplication on computer. >> If have Sound turn off it


nice if u can write code THk
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Write a TSR program to turn off sound of aplications on computer

 
0
  #2
Oct 23rd, 2008
Is your real machine really DOS?

Because if you're running XP (for example), then you'll NEVER be able to turn off sound for the whole machine.
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 5
Reputation: phuanon is an unknown quantity at this point 
Solved Threads: 0
phuanon phuanon is offline Offline
Newbie Poster

Re: Write a TSR program to turn off sound of aplications on computer

 
0
  #3
Oct 23rd, 2008
???
Mean U if I run win Xp , I will cant turn off sound?
but for example aplication run on dos
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Write a TSR program to turn off sound of aplications on computer

 
0
  #4
Oct 23rd, 2008
If you're using a crusty old compiler like TurboC then you're stuck.

On XP, DOS runs in a virtual machine (playpen, sandbox, whatever you want to call it). The point is, there is NO WAY it can affect the whole machine.

To do what you're suggesting, you need a Win32 compiler which is compatible with your main OS (and not just some emulation for the benefit of older things).
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,154
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 530
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Write a TSR program to turn off sound of aplications on computer

 
0
  #5
Oct 23rd, 2008
Windows NT based systems dont like you writing programs like that

Windows 9x and DOS wouldnt mind, but salem is right. A TSR to terminate sound wont run on NT, regardless of whether it is run in a command prompt or not. This is not a real dos prompt, but an emulation.

And yeah, turboc is ancient. Please stop using it.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC