home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!sgiblab!rtech!ingres!nitin
- From: nitin@Ingres.COM (Nitin Borwankar)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: Re: Can I port a UNIX X11 app to NT?
- Message-ID: <1992Sep11.192021.23418@pony.Ingres.COM>
- Date: 11 Sep 92 19:20:21 GMT
- References: <1992Sep4.133247.26225@cs.tu-berlin.de> <1992Sep08.053621.4405@microsoft.com> <3047@accucx.cc.ruu.nl> <JBS.92Sep10192514@sun1.Congruent.COM>
- Reply-To: nitin@Ingres.COM (Nitin Borwankar)
- Organization: Ask Computer Systems Inc., Ingres Division, Alameda CA 94501
- Lines: 38
-
- In article <JBS.92Sep10192514@sun1.Congruent.COM> jbs@Congruent.COM (Jeffrey Siegal) writes:
- >In article <3047@accucx.cc.ruu.nl> nevries@accucx.cc.ruu.nl (Nico E de Vries) writes:
- >
- > alistair@microsoft.com (Alistair Banks) writes:
- >
- > >The functions you mention above should not be a problem - much
- > >worse would be a heavy reliance on the semantics of fork(), or the
- > >sequential order of handle assignments.
- >
- > The POSIX layer will solve this? Especially the fork() one of cource,
- > I can't imagine much programs needing the other one.
-
- Yes, the POSIX layer will solve this but the POSIX layer will only
- support non GDI apps, ie you can't have a Windows interface
- to a POSIX app.
- Is that correct ?
-
- In which case, when I want to port a UNIX app with fork() to
- a native Win32 app, I still have to deal with mapping to CreateThread()
- parent-child processes etc.
-
- Has anyone done this ? Or have a clear cut way to do this ?
- In the NT PDC proceedings there was an example of fork()+exec()
- being mapped to CreateProcess() with the appropriate Win32-isms.
- Are there other examples ? Experiences ?
-
- Nitin Borwankar,
- nitin@ingres.com ***** VISUALIZE WHIRLED PEAS *****
-
-
-
-
- >
- >Unfortunately, you can only use one Subsystems (POSIX, Win32, OS2 1.x
- >console mode) at a time, so if you use POSIX, you can't use any Win32
- >GUI or graphics API's.
- >
- >Jeffrey Siegal
-