From: Daniel G. <da...@fp...> - 2005-04-30 17:43:41
|
On Sat, 2005-04-30 at 18:03 +0000, va...@li... wrote: > So heres the question: How the heck can we fix GetTextExtent() (& a few others, DrawText() > has the same problem) so that we can pass a String of arbitary length? We can't simply pass > a pointer to the text because the appserver and the application are in seperate address spaces. A shared memory map segment? Seems like that might be better. Maybe have the appserver create a chunk of mapped, shared memory, then have the app send a message to the server requesting a memory region of n bytes. The appserver can pick a section of it's memory map of size n, and send back the location, at which point it can be mapped by the app. App can write to that, then send a message to the appserver saying it's there. Daniel |