![]() |
Unable to access Arial.ttf file when Winamp is running
Hello
When Winamp is running, the file arial.ttf in the windows fonts directory is not accessible. I use the following C code in my program to open the TTF file: HANDLE hFile=INVALID_HANDLE_VALUE; hFile=::CreateFile("C:\\windows\\fonts\\arial.ttf", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL|FILE_FLAG_SEQUENTIAL_SCAN, NULL); When I call my code with Winamp running, the hFile value is : INVALID_HANDLE_VALUE GetLastError() returns ERROR_SHARING_VIOLATION Is a CloseHandle missing in WinAmp? Regards JP PS: The problem does not appear with the Winamp classic skin It appears with the Modern, Bento and Big Bento skins. I'm back to the classic skin. |
Sorry bad forum. Moved to Winamp Bug Reports
|
| All times are GMT. The time now is 05:18. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.