-(BOOL)KickTimer:(unsigned short) wTimerIds
{
operation1 = [[NSInvocationOperation alloc]initWithTarget:self selector:
@selector(insertEvent:) object:pEvent];
}
-(void)insertEvent:(stRs232Timer*)pEvent
{
//stmts;
}
Я не могу вызвать этот function.Is
этот способ вызова потока с одним параметром правильный.
EDITED
pEvent = (stRs232Timer*)[[m_cAppIdMap objectForKey:[NSNumber
numberWithUnsignedShort:wTimerIds]]bytes];
Предупреждение:
Warning: passing argument 3 of 'initWithTarget:selector:object:'
from incompatible pointer type