Microsoft KB Archive/325336

= Access Violation When You Use an Alias to Open a CD on a 64-Bit-Based Computer =

Article ID: 325336

Article Last Modified on 8/7/2002

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows XP Professional x64 Edition

-



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&quot;open cdaudio alias cd&quot;, 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.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kberrmsg kbbug kbenv kbpending KB325336

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.