INetLibOpen is giving me trouble.
When I execute the line
RC = INetLibOpen (INetRefNum,inetOpenFlagOKWireless, inetHP);   
in the palm debugger I get the error message:
"Starter" 1.0 has just read directly from an unallocated junk of memory.
void trythis(void)
{
        UInt    INetRefNum;
        DWord val = 0; /* some initial value*/
        char result = 0x35;/* some initial value*/
        Err RC;
        
        Handle* inetHP;
        SysLibFind( "INet.lib", &INetRefNum);
        
        //---- see if wireless feature is present begin ---------------
        result = FtrGet(inetLibFtrCreator, inetFtrNumVersion, &val);/*this        
line is ok proving that the wireless feature is present*/
        //---- see if wireless feature is present end  ---------------
        RC=0xFF;/* some initial value*/
        RC = INetLibOpen (INetRefNum,inetOpenFlagOKWireless, inetHP);   
}

any ideas what's happening?
thanks
afp





_______________________________________________________
Visit Excite Shopping at http://shopping.excite.com 
 The fastest way to find your Holiday gift this season

Reply via email to