Ok. I do have a simple app in VB that does the opposite of what you want -- runs as CGI under IIS. Some of the API declarations and such should be same. I'll post it tomorrow if you want it.