@Gerhard, Thanks. I did not look into the Header file, so i did not know about APP_AESTHREAD. I see if appl_find will do. @Joska, APP_SHELL is as per defined by the header file. The variable declaration is similar, only difference is that I did not use short int but just short. but it should not matter.