First check toolkit task application is loading & unloading correctly .for this make 4th arg of ProToolkitDllLoad to PRO_B_TRUE . so you can see this task appstatus in auxilary application list,make sure to use ProToolkitDllUnloadalso .I think this will solve your problem .
Regards ,
Ajoy Mathew