RtAudioError::Type errorType = RtAudioError::DRIVER_ERROR;\r
\r
// Attempt to assign "Pro Audio" characteristic to thread\r
- HMODULE AvrtDll = LoadLibrary( "AVRT.dll" );\r
+ HMODULE AvrtDll = LoadLibrary( (LPCTSTR) "AVRT.dll" );\r
if ( AvrtDll ) {\r
DWORD taskIndex = 0;\r
TAvSetMmThreadCharacteristicsPtr AvSetMmThreadCharacteristicsPtr = ( TAvSetMmThreadCharacteristicsPtr ) GetProcAddress( AvrtDll, "AvSetMmThreadCharacteristicsW" );\r