The information in this article applies to:
SYMPTOMSIn an application based on Windows 3.1 where an MCIWnd window is subclassed (using SetWindowLong API) and an AVI file is opened by MCIWndOpen macro, if the window is closed (for example, by double-clicking System Menu Box), then no AVI files may be opened in any MCIWnd window created thereafter. Specifically, MCIWndOpen returns MCI error code 289 on subsequent calls. RESOLUTIONThe subclassed window can process a WM_CLOSE message to set the original MCIWnd window procedure back and then forward this message to the original window procedure as in this sample code:
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: 3.10 MCIWndCreate MCI MCIAVI alias used unique
Keywords : kbmm MMVideo |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |