Heya. Yes, we should show the last active time for all devices, regardless of type (eg, PC, MACs, APPLIANCEs, etc).
I've seen the "No Network Connection" on devices of all types, including PC's. Also, be cautious when changing the NID: older versions of Kaboodle on the same LAN with newer versions can crash if the two versions use vastly different NID structures. So make the changes you need, just please verify it works with the current 0.99 binary. thanks, Scott On Thu, 20 Mar 2003, Kaboodle wrote: > Current implementation save last active time only for those PC that are running > Kaboodle. > And for connected MACs, APPLIANCEs and PRINTERs: > > see NID\WorkDevice.cpp: > > -------------------------------------------------------------------------------- > > void CWorkDevice::SetTimeLastActive(const NID_DEVICE_ATTRIBS& rAttr, const CString& > rStrMacAddr)//static > { > bool bSet = false; > if( rAttr.m_nType == EF_NID_PC ) { > if( rAttr.m_nFlags & PC_RUNNINGKABOODLE ) > bSet = true; > } > else > if( rAttr.m_nType == EF_NID_MAC || > rAttr.m_nType == EF_NID_APPLIANCE || > rAttr.m_nType == EF_NID_PRINTER > ) { > if ( rAttr.m_nFlags & DEVICE_CONNECTED ) > bSet = true; > } > > if( bSet ) { > CTime tm( CTime::GetCurrentTime() ); > CEFRegistryPartner reg( rStrMacAddr ); > reg.SetTimeLastActive(tm); > } > } > > -------------------------------------------------------------------------------- > > > I think it is wrong algorithm. I think we must save last active time > for all connected devices to be able show this time for this device when > it becomes inactive. What do you think about it? ------------------------------------------------------- This SF.net email is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ Kaboodle-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kaboodle-devel