I would like to find out how certain anti virus programmes (for example Norton AntiVirus) can be running concurrently even when users are playing games?

Can my programme be configured like that of those anti virus programmes? THat is to say, running at the background even when users are playing games?