The information in this article applies to:
SYMPTOMSWhile developing a new dynamic VxD for Windows 95, developers sometimes put the VxD into the System.ini files's [386Enh] section as a "device=" line to test initialization or other basic function. During early testing, the .inf might not be generated or the loading application may not be working yet, so this seems a good way to temporarily test some functions. Yet, the initialization routines are never called. CAUSEThis is due to the fact that the control messages that VMM sends out for static and dynamic VxDs are not the same. Refer to the library compact disc or Vmm.doc from the DDK. To summarize (from VMM.DOC): Static messages
Dynamic messages
RESOLUTION
If you are planning to switch back and forth, you may want to include both
types of messages in your control message procedure, for example:
Also, don't forget to finally remove the System.ini "device" line when your dynamic loading is working. STATUSThis behavior is by design. REFERENCES
Windows 95 DDK Additional query words: 4.00 VMM control message
Keywords : |
Last Reviewed: March 2, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |