I am building my DLLs using __declspec(dllinport/dllexport) so I can use classes in my DLL. So my question is:


If I have a DLL that has two or more classes in it and I declare an instance of any one class, is the whole DLL being loaded? Also if I create instances of more than one class in different functions of my client and lose scope in one of the functions, does the whole DLL get unloaded?


Thanks


Jim Bassett