home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / mswindo / programm / misc / 1766 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.2 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!nigel.msen.com!yale.edu!ira.uka.de!chx400!decus!mediatex!BEIZ!Programmierer
  2. Newsgroups: comp.os.ms-windows.programmer.misc
  3. Subject: CALLING DOS TSR'S FROM WINDOWS                                                  
  4. Message-ID: <2aaf7de8.8cc4ba.0@BEIZ.mediatex.ch>
  5. From: Programmierer@BEIZ.mediatex.ch (055485666: MEDIAtex AG)
  6. Date: 10 Sep 1992 16:55:04 CET
  7. Organization: MEDIAtex AG, CH-8807 Freienbach/SZ
  8. Lines: 32
  9.  
  10. I have following problem:
  11.  
  12. I have a DOS-device-driver which I load before Windows. from a Windows-app,
  13. I have to use this driver. To call the driver is no problem. the only
  14. problem I have is, some functions of the driver need a memory segment to
  15. transfer data. I have to put in one cpu-register the segment address and in
  16. another the offset to the memory-location.
  17.  
  18. I have found in BC++ 3.1 the function GlobalDosAlloc which looks like what I
  19. search for.
  20.  
  21. My question is now, where is the physical address of the allocated memory?
  22.  
  23. I have not found any example to that problem.
  24.  
  25.  
  26.  
  27. Peter.
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38. |B                                    B|
  39. |E           CH: VTX *3600#           E|
  40. |I           D:  BTX *28881#          I|
  41. |Z                                    Z|
  42.