Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!sharkey!bnlux0!reilly From: reilly@bnlux0.bnl.gov (kevin reilly) Newsgroups: comp.windows.ms Subject: segment and offset values in windows Keywords: segment windows Message-ID: <2007@bnlux0.bnl.gov> Date: 13 Jul 90 14:10:25 GMT Organization: Brookhaven National Lab Lines: 14 have been using the following routine for dma transfers through an IOTECH 488 board. ieeeprtf( "ENTER device# #ofbytes BUFFER %d:%d(buffer address) DMA CONTINUE", segment(buffer), offset(buffer) ); The problem is: How do I obtain the segment and offset values for a location in memory under windows where I want to store the data. The driver needs the address split up into two portions segment and offset. f there are any ACTOR programmers out there I would appreciate it if you would tell me how using Actor messages. In Actor the lP message returns the address of a string as a long. How do I separate the segment and offset portions? Thank you all. reilly@bnlux0.bnl.gov