Question and Answer Database FAQ: FAQ4633C — How Many DLLs Can I Load In My Multi-threaded C++ Builder Application? Category: C/C++ Language Issues Platform: All Windows Product: All-CBuilder, Question: How many DLLs can I load in my multi-threaded C++ Builder application? Answer: In a Win32 multi-threaded application 64 DLLs can be loaded. This limit is because of the 64 Thread Local Storage slots (TSL slots). Note that DLLs can load other DLLs which will eat at your 64 DLL limit. Also note that COM objects will use 2 or more TLS slots. 6/16/99 2:51:25 PM
Last Modified: 01-SEP-99