Hello:
We are using the Ultralite database, and we are hitting this bug which
probably has little to do with Ultralite, and more to do with
Codewarrior. We are using Codewarrior R5, on WinNT.
The following examples of code compile very differently. If the code
compiles incorrectly, an unrelated call to set up an Ultralite database
on the Palm (ULPalmLaunch) fails as an "unknown error 44" because it
either reads from NULL memory or from an unallocated chunk of memory.
Is anyone familiar with these problems?
Thanks,
Chester
Case 1:
COMPILES INCORRECTLY:
/*Globals.m_*/pPatientList =3D new PatientList();
if ( /*Globals.m_*/pPatientList )
{
// /*Globals.m_*/pPatientList->updateCheckedInPatients(); // Chester =
08/12/99 DB sych test
}
COMPILES CORRECTLY:
pPatientList =3D new PatientList();
if (pPatientList )
{
pPatientList->updateCheckedInPatients(); // Chester 08/12/99 DB sych =
test
}
Case 2:
COMPILES INCORRECTLY:
// Globals.m_pPatientList->updateCheckedInPatients(); // Chester
COMPILES CORRECTLY
Globals.m_pPatientList->updateCheckedInPatients(); // Chester
REMOVING "//" allows compilation