I get the following error whenever I change my code, it does not occur when I end task in the task manager. there has to be a work around to solve this problem. here is the error I get.
Error LNK1168 cannot open C:\Users\Owner\source\repos\DX9Tut\Debug\DX9Tut.exe for writing