>Are you trying to rely on the process ID changing to indicate that the DLL has changed? Would it not be better to query the DLL's version directly?
After my research, it seems normal that sometimes the same process ID continue to be used when a new compilation is sent. So, I just adjusted my code to take care of that.