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

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