On Sunday 27 July 2003 18:28, Guillaume Laurent wrote:
> BTW, before we forget about this and get reminded in unpleasant ways :
> MappedEvents need to be made of constant size, so the dataBlock needs to be
> moved to something else (a pointer to a file where the actual data is
> stored, for instance).

Forgot to mention : I had to comment out the datablock std::string of 
MappedEvent, because they wouldn't cope well with placement new on a 
read-only memory area. At some point I started getting a crash on 
getDataBlock(), which was triggering the string to write in its internal data 
(some ownership counter or something, I don't know). I really didn't feel 
like investigating this too much, so since this datablock has to go anyway I 
just commented it out for the moment.

-- 
                                                Guillaume.
                                                http://www.telegraph-road.org


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to