Path: utzoo!attcan!uunet!ncrlnk!ncrcae!secola!ramspott From: ramspott@secola.Columbia.NCR.COM (John Ramspott) Newsgroups: comp.windows.ms Subject: Dialog Structure and File I/O Keywords: dialog structure, file routines Message-ID: <213@secola.Columbia.NCR.COM> Date: 27 Jan 89 14:25:25 GMT Organization: NCR SE-Columbia, West Columbia, SC Lines: 16 I have two questions for the net. First, how can I access directly the windows structure or structures for a particular dialog box given the handle to that box? I need to write a function that can take the handle to a dialog box, take the information from the fields, and package it up to be sent across the network to a process on another machine. This routine must be generic. I must be able to find out three things: 1) What fields are in the dialog box 2) What type of fields they are 3) What the user-entered contents are Second, I noticed that many of the programs in the Petzold book don't link under Windows 2.1. They can't find any of the "undocumented" file I/O like _lseek, _lread, _lwrite, etc. I called Microsoft and they said they had been removed in the "upgrade" :-). They recommend writing these routines yourself in assembler. Being a C programmer, I found this disconcerting. Has anyone out there written these yet? If so, please post or send to me.