when u create a new thread it usually cannot access the memory allotted to other process including its parent. U need to use shared memory or other IPC for communication. I may not be correct totally but this is an IPC issue. Read on how to communicate between diferent processes.
dkalita 110 Posting Pro in Training
Nick Evan commented: Simple fix, problem solved! +10