I have an issue here trying to change my solution to precompiled headers.
During the creation process of the header it throws the error #10298 - unable to erase the pchi file as it is used by another process
Running this on the vs compiler works fine.
Is the diagnostic correct? Does it work if you disable multisource compilation (compiling multiple files simultaneously when you specify them all on the command line) with the /Q_multisrc- option?
The model for precompiled header usage is that you create one precompiled header and the rest of the source files use that precompiled header so you really shouldn't be trying to create more than one, especially simultaneously. It may work if you're lucky but it is dangerous and a good compiler with warn you about it.