somename 0 Newbie Poster

Hello. My question is about perlTk. I'm wondering how to write a gui app like that: it has 2 buttons, 1 is "run" and 2 is "stop". App should run some function and when i press "stop" button, it should stop. But when "run" button pressed whole app gets inactive and to stop it i have to terminate whole process. I'm writing this for win32. On linux i've solved it with creating a child process with fork, but on win my gui proggie crashes all the time if i'm using fork. Can anyone help me please?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.