nanogui: MWin and apps


Previous by date: 15 Jun 2000 17:20:33 -0000 Re: Kaffe port, Greg Haerr
Next by date: 15 Jun 2000 17:20:33 -0000 Re: getting to grips with Nano-X, Murphy Chen
Previous in thread: 15 Jun 2000 17:20:33 -0000 MWin and apps, rguseyno.cms.vinnica.ua
Next in thread: 15 Jun 2000 17:20:33 -0000 Re: MWin and apps, rguseyno.cms.vinnica.ua

Subject: Re: MWin and apps
From: "Greg Haerr" ####@####.####
Date: 15 Jun 2000 17:20:33 -0000
Message-Id: <0a5001bfd6ee$1c5423e0$15320cd0@gregh>

:      Is it posiible (even theoretically) to launch several applications on
: one MWin instance with win32 API? Are there some hints on how to do it?


If you're running a multi-threading model, a new thread can be spawned
and generate another window no problem.  Or of course a single thread
can generate another window. 

The problem with the win32 api has to do with address pointers being
sent across separate address spaces.  The API requires marshalling
of all pointers, just like RPC, between client and server.  Microsoft
Windows does a hell of alot of this behind the scenes, and in fact
for every SendMessage.  We need something like COM (or Corba)
with an IDL compiler so that we can have a computer generate all the
interface marshalling code.

Having said that, someone is working on a hack that makes Microwindows
run client/server.  But not all API calls are working yet.  The proper
way is to use threads, or if separate address spaces are a must, then
use marshalling.

Regards,

Greg



Previous by date: 15 Jun 2000 17:20:33 -0000 Re: Kaffe port, Greg Haerr
Next by date: 15 Jun 2000 17:20:33 -0000 Re: getting to grips with Nano-X, Murphy Chen
Previous in thread: 15 Jun 2000 17:20:33 -0000 MWin and apps, rguseyno.cms.vinnica.ua
Next in thread: 15 Jun 2000 17:20:33 -0000 Re: MWin and apps, rguseyno.cms.vinnica.ua


Powered by ezmlm-browse 0.20.