On Wednesday, October 9, 2002, at 10:58 PM, Ben Combee wrote:

>> I've already thought of several ways to "work around" this bug, but 
>> I'd rather not have to since I have other code that uses similar 
>> methods and that would require making several architectural changes 
>> to our design. I've played around with changing the order of 
>> initializing the classes but that didn't seem to do anything. I was 
>> even willing to make the CDatabase object a global by declaring:
>>
>> CDatabase tempDB;
>>
>> at the beginning of my CPP file, but that resulted in the internal 
>> compiler error too.
>
> Hmmm, this is indicating that there's a problem with generating the 
> constructor for CDatabase.  This obviously doesn't happen all the > time.
>
> Here's a quick question -- are you using 2-byte integers or 4-byte 
> integers?  All the POL code is built for 2-byte ints, and using 4-byte 
> ints in your code along with a precompiled header could cause > problems.

Project settings show 2 byte integers are being used.

Just for kicks I tried adding CDatabase to MyApp.h as a member variable 
and got the same internal compiler error. I've used the CDatabase class 
in several projects before this way and have never had any issues. 
Seems that CDatabase (as well as CRecord) cause this internal compiler 
error. CRecordStream is working fine though. Hmmm...

Mark F Rodriguez
----------------------------------------
xAplos, Inc.
http://www.xaplos.com


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to