hi.m tring to get task id through following code:
3.TInt window =task.WgId();
through line no.2 m tring to get the task which is currently using.
and in line 3 m getting the task id.
but the problem reside in line 1.where WSSession is null thus a panic name kern exe3 arised due to null pointer.how will i remove this.kindly help me.