Revert "RobotDllMain"

This reverts commit 16537ec75cee267c4be0a61e8a85069244abbdae.