1). In the archives i read that It's not advisable to
use FrmGetActiveForm (). 
    Then, 
     what is the best way to know which form is
currently active, since i am getting "Bad form" by
uisng FrmGetActiveForm in a debug ROM, Though it
functions well in other ROMS.   


2)I get this error message. "The application has read
from low memory". What does this error stand for and
where exactly is the problem for this?. 

3). "NULL Form "...  What does this error stand for?. 
I am getting the resources through code by refDB =      
        DmOpenDatabaseByTypeCreator ('HACK', creatorid
,dmModeReadOnly);
         
        formHandle = DmGet1Resource (
formRscType,ApplicationsForm);   // my resource 
        form = (FormType *) MemHandleLock (formHandle);  
        frmId = FrmGetFormId (form); 
        form = FrmInitForm (frmId);  
        FrmSetEventHandler (form,linkHandleEvent); 
        FrmDrawForm (form); 
         FrmSetActiveForm (form);     
        MemHandleUnlock (formHandle); 
        DmReleaseResource (formHandle); 
 
        DmCloseDatabase (refDB); 

is this the right way of getting the resources in a
hack. 
What does the error "Form.c Line 5291 Bad Form "  
mean?. 

4). How to debug a hack?.. 

Thanks in Advance. 
Shawn 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

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

Reply via email to