in the ActiveX DLL, I add a module, in the module I add the sub_main, and create the ADODB.Connetion.
when my programs used the DLL first time, it will run the sub_main, but when I close the program, I want to set g_Conn = nothing, but I can't find the procedure to do, Does the program release it automatic?