Passing a struct address to a 16-bit driver dll
From: Hobbe51 (Hobbe51_at_discussions.microsoft.com)
Date: 09/17/04
- Next message: Charles: "question about compatiblity"
- Previous message: Maxim S. Shatskih: "Re: how to enum the hardwares in win2000 ddk"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 17 Sep 2004 05:13:08 -0700
I have started on an installable driver dll for a midi output device. I used
MSVC 1.52c to build it. It works fine under Windows 3.11, but under Windows
ME the address of the midiOutCapabilities struct seems to be wrong when
modMessage receives the MODM_GETDEVCAPS message. I use a MIDIOUTCAPS __far *
to adress the fields in the struct at the address passed via dwParam1.
Is it because I compile it with MSVC 1.52c? I thought that should be ok
since it produces 16 bit code.
Any other ideas?
-- The next step in human evolution must be built upon compassion, cooperation and a healthy competition. That is why we all help out here.
- Next message: Charles: "question about compatiblity"
- Previous message: Maxim S. Shatskih: "Re: how to enum the hardwares in win2000 ddk"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|