[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [Highwire] Highwire renderer reusability



ons, 30,.03.2005 kl. 17.18 -0500, skrev Standa Opichal:
> Hi All!
> 
> In order to reuse Highwire rendering engine I though I could create 
> Highwire WinDom2 WINDOW (or COMPONENT) - http://windom.sf.net. After a 
> while I found some problems with this though:
> 
>    * major: I discovered that Highwire is using a static variable to 
> hold all the VDI related information, particularly the vdi virtual 
> workstation handle. This is unacceptable for reusability reasons. Does 
> it use one single VDI handler per all the windows you open in Highwire? 
> It would look strange to me. I would expect the VDI handle (or perhaps 
> the whole structure) to be passed as an argument to every rendering 
> function.
> 
>    * minor: It uses the WINDOW name internally so it needs to be somehow 
> wrapped to create the WinDom part.

 Sounds nice, but please, please make sure you think about clean ways to
do this, so we dont get more problem apps under Memory Protection. It is
vital that such things work cleanly.


 Best regards,
Odd Skancke