Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!kth!sunic!ericom!erix.ericsson.se!euas1e.ericsson.se!euantd From: euantd@euas1e.ericsson.se (Tord Nilsson) Newsgroups: comp.windows.ms Subject: using far segments ? Message-ID: <2081@erix.ericsson.se> Date: 13 Jul 89 16:33:11 GMT Sender: news@erix.ericsson.se Reply-To: euantd@euas1e.ericsson.se (Wojtek Chudoba) Organization: Ellemtel Utvecklings AB, Stockholm, Sweden Lines: 30 Hello, I try to write a Windows application that could present two files simultanously on the screen. The problem is that the files are rather large (30-60K), so they don't fit in the default data segment (not both of them anyway). But when you send a message 'EM_SETHANDLE' you must supply a *local* handle. Is there a way to get around this problem ? I noticed that even Microsoft's Write opens only one file at a time. Could it be the same reason ? I tried to allocate space on the global heap and copy just the one I need to the local heap but it didn't seem to work. (I'm not sure there were no bugs in this part, though.) BTW, can you edit files larger than 64K ? If so, how do you do it? And, finally, is it possible for a Windows application to start another instance of itself, or to start another application ? OK, those were the questions, hope you have some answers now. Wojtek ______________________________________________________________________________ Disclaimer: It's only a summer job, you'll find me at: Royal Institute of Technology, Stockholm,Sweden d87-wch@nada.kth.se