in reply to Compiling with static perl510s.lib

If I change perl510.lib to perl510s.lib

Renaming the file changes nothing, you have to recompile perl.