On Wednesday, October 9, 2002, at 11:45 PM, Ben Combee wrote:
>
> OK... I'm looking at the POL source, and I'm wondering what would 
> happen if you wrote
>
> CDatabase *db = new CDatabase((void *)0);
>
> The default constructor for CDatabase just sets it internal DmOpenRef 
> to NULL.  A DmOpenRef is a typedef for a void pointer.  This will 
> ensure that the type conversions are right, which should be happening 
> automatically.
>

Hey, that worked! I'll go ahead and clear the data folder and rebuild 
POL just to start fresh. I'm not able to get a subclass of CDatabase to 
work just yet but I'm very happy about seeing the project build again.

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