Store the CREDENTIALS in the DLL, but make the connection when you need it.