Thanks for the help. The culprit was a Palm OS library that was compiled on
Windows. Apparently compiling that kind of thing results in different
formats depending whether it is compiled on Windows or Mac. Once recompiled
on the Mac the problem went away. I am pretty sure this shouldn't be the
case (platform dependant binaries), but that's the case.
Thanks again,
Arthur
> This private CString function can be called only from operator=
> redefined in this class.
>
> "Ben Combee" <[EMAIL PROTECTED]> wrote in message
> news:59643@palm-dev-forum...
>>
>> "Arthur Roolfs" <[EMAIL PROTECTED]> wrote in message
>> news:59634@palm-dev-forum...
>>>
>>> In a current project the CodeWarrior's (7.1) IDE drops into MacsBug
>>> (crashes) with the error CString::AllocBeforeWrite. I thought first,
>> that
>>> maybe a corrupt project file might be the problem and reconstructed an
>> new
>>> project from scratch. The error is persistant however.
>>> The project was originally hosted on a PC and the resources have been
>>> remodified for Macs.
>>> Any ideas?
>>
>> When does it crash in this way?
>>
>> One way to "clean" up the project would be to use "File/Export" to
>> export the project as an XML file, then "File/Import" to recreate the
>> project from the text XML format.
>>
>> The IDE does use a CString class internally, but that is a very common
>> function and without a bigger stack dump, its going to be hard for us to
>> tell what is happening. Before you trash your old project, could you
>> report this as a bug, including your files as an example so we can be
>> sure to get the problem fixed before the next release.
>>
>>
>>
>>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/