Crypt32 is imported by rsaenh, so it is loaded.
At first glance the problem is probably around your use of DuplicateHandle on a module handle, that cannot work.
Ah. Thanks, I overlooked both of those things, sorry for that. --Juan
____________________________________________________________________________________Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting