If you want to use ProudNet in DLL project as using static library, you need to call Proud.Thread.NotifyDllProcessDetached from process detach case of DllMain function. Otherwise, it could cause freezing at closing the program.
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: break; case DLL_PROCESS_DETACH: { Thread::NotifyDllProcessDetached(); } break; } return TRUE; }