I am new to qnx so kindly pardon me for my silly qns.
I am trying to display a value to a label using the following method
PtSetResource( ABW_Ptlbl_Speed, Pt_ARG_TEXT_STRING,cs, 0);
PtSetResource( ABW_Ptlbl_Dist, Pt_ARG_TEXT_STRING,cd, 0);\
but is seems to crash the system
but when i used a static string like
PtSetResource( ABW_Ptlbl_Speed, Pt_ARG_TEXT_STRING,“TEST”, 0);
it seems to be ok.
It seems that i can use sprintf to pass the variable over.
Can anyhow help me out???
thanks in advance