sure, you can do that, as long as the exe/dll are ISAPI extension