I’m using stunnel to send and receive emails in a Microsoft Access 2007 application.  I would like to be able to programmatically close stunnel when the user exits a form in the application which is used for sending and receiving emails.  I can close other programs running in Windows with the code in this api:

 

http://www.mvps.org/access/api/api0025.htm

 

This code requires the “class name” of the application while it is running in Windows in order to close it.  Stunnel.exe does not appear to have a class name.  I’ve used the following additional api to display the class names of all currently running apps:

 

http://www.mvps.org/access/api/api0013.htm

 

Stunnel.exe does not show up in the list of running apps produced by this code.  Is there another way to determine the stunnel class name?

 

Bill