Access Violation When You Use an Alias to Open a CD on a 64-Bit-Based Computer (325336)
The information in this article applies to:
- Microsoft Windows XP Home Edition
- Microsoft Windows XP Professional
- Microsoft Windows XP 64-Bit Edition SP1
This article was previously published under Q325336 SYMPTOMS
An access violation error message may occur when you open a CD by using an alias like the following alias on a 64-bit-based computer:
mciSendStringW(L"open cdaudio alias cd", NULL, 0,0);
CAUSE
Winmm.dll uses the size of a DWORD_PTR data type to calculate an offset into a structure that it is populating. This creates an address that is not valid. The address is not valid because a particular structure member calculates the wrong offset because a DWORD_PTR is 8 bytes on 64-bit-based computers.
WORKAROUND
To work around this problem, do not use an alias to open the CD.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 8/7/2002 |
---|
Keywords: | kbbug kbenv kberrmsg KB325336 |
---|
|