I used application builder to build a DLL. I had VC6 codes to load the DLL explicitly. Every time I called LoadLibrary, the handle returned is the same. I want each thread within my application to have its own copy of the DLL's variable. How to do it? Thanks.