when i write this code from pc sdk manuel then i get this error please help me?
I think this is because the variable aTool could actually end up as unasigned due to the if statment. This is something VisualStudio reports