Paul,
You are in for a treat! When communicating with a DOS program, you cannot
pass it a memory segment like you do from a DOS program. You have to go
through some gyrations, use the protected mode interface, etc.
You might want to consider my company's MicroHelp Muscle. We have routines
(including source) in it that:
Allocate memory from Windows
Assign a DOS "segment" to that memory, which you pass to the DOS program
Have examples of using the DPMI protected mode interface
Mark