Click here to Skip to main content
15,899,018 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bulk operations with Long binary. HELP Pin
Alex Barzovski5-Mar-01 13:17
Alex Barzovski5-Mar-01 13:17 
GeneralWindows Driver Development Pin
.::RockNix::.5-Mar-01 0:03
.::RockNix::.5-Mar-01 0:03 
GeneralRe: Windows Driver Development Pin
l a u r e n5-Mar-01 2:41
l a u r e n5-Mar-01 2:41 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 3:12
MickAB5-Mar-01 3:12 
GeneralRe: Windows Driver Development Pin
.::RockNix::.5-Mar-01 4:37
.::RockNix::.5-Mar-01 4:37 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 5:57
MickAB5-Mar-01 5:57 
GeneralRe: Windows Driver Development Pin
.::RockNix::.5-Mar-01 21:29
.::RockNix::.5-Mar-01 21:29 
GeneralRe: Windows Driver Development Pin
MickAB6-Mar-01 1:17
MickAB6-Mar-01 1:17 
Hi Mario, glad you found my comments useful, let's see if I can be of any more help.

Now you've established that driving the hardware via the serial port using the API calls is ok, let's look at the next problem. So I need to ask some more questions.

First off, MIDI is not my forte, and I've never played around with any midi devices or applications, so bear with me.

The problem is you have a piece of hardware which hangs off of the serial port.
Q> Do you want to detect when the device is plugged in or removed?
(This implies some way of enabling Plug-and-Play for the serial port).
I think this would be nice to have, but not necessary to get the driver working.

Q> Do you need a MIDI application to 'see' the hardware on the serial port as a MIDI device?
(If yes, then it sounds like you want to write a 'layered' driver which sits between the MIDI device drivers and the serial port, rerouting MIDI commands to the serial port)

To answer your other question, for Win2K and 98/ME (and I assume XP), the most 'compatible' drivers are WDM drivers. (By compatible, I mean write-once, run on any WDM platform... in theory).

The book I mentioned yesterday (which I couldn't remember the title of) is "Writing Windows WDM Device Drivers" by Chris Cant. It's pitched at an accessible level, and contains some good information. It also explains some of the differences and similarities between 'classic' NT style drivers, Windows 95 style VxD drivers, and the new WDM stuff. It's also much more readable than any other device driver books I've read.

Whether it's 100% relevant to your current problem I can't say, (I only have three device driver books, which is not a large enough sample to give a good recommendation). But IMHO it's a good place to get the basics of the differences between the various driver types you can have on Windows platforms.

l8r

"The project spec. said 'customer *needs* to go to the top of the mountain'....nobody stopped to ask him why"
GeneralRe: Windows Driver Development Pin
.::RockNix::.6-Mar-01 4:31
.::RockNix::.6-Mar-01 4:31 
GeneralRe: Windows Driver Development Pin
MickAB6-Mar-01 5:50
MickAB6-Mar-01 5:50 
GeneralRe: Windows Driver Development Pin
.::RockNix::.6-Mar-01 21:35
.::RockNix::.6-Mar-01 21:35 
GeneralRe: Windows Driver Development Pin
MickAB6-Mar-01 23:42
MickAB6-Mar-01 23:42 
GeneralRe: Windows Driver Development Pin
Joe Moldovan5-Mar-01 7:10
Joe Moldovan5-Mar-01 7:10 
GeneralRe: Windows Driver Development Pin
MickAB5-Mar-01 3:12
MickAB5-Mar-01 3:12 
GeneralHelp needed with PropertySheet Pin
4-Mar-01 23:36
suss4-Mar-01 23:36 
GeneralSetProcessWorkingSetSize and Memory Locking Pin
4-Mar-01 20:07
suss4-Mar-01 20:07 
GeneralRe: SetProcessWorkingSetSize and Memory Locking Pin
4-Mar-01 22:56
suss4-Mar-01 22:56 
GeneralRe: SetProcessWorkingSetSize and Memory Locking Pin
5-Mar-01 1:49
suss5-Mar-01 1:49 
GeneralGlobal variable ... Pin
Hadi Rezaee4-Mar-01 18:15
Hadi Rezaee4-Mar-01 18:15 
GeneralWriting VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 16:16
suss4-Mar-01 16:16 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
l a u r e n4-Mar-01 20:40
l a u r e n4-Mar-01 20:40 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 22:16
suss4-Mar-01 22:16 
GeneralRe: Writing VC++ dll to work with Delphi 5? Help Please!! Pin
4-Mar-01 22:17
suss4-Mar-01 22:17 
QuestionHOW to use ADO with VC++, please help! Pin
4-Mar-01 11:52
suss4-Mar-01 11:52 
AnswerRe: Try this site.... Pin
Brendan Tregear4-Mar-01 14:30
Brendan Tregear4-Mar-01 14:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.