Jump to content

Determine if only one instance is running: Difference between revisions

m
clarified: copydata gets a copy of the command line
m (clarified: copydata gets a copy of the command line)
Line 691:
<lang Phix>include pGUI.e
 
function copydata_cb(Ihandle /*ih*/, atom vpCommandLine, integer size)
-- (the first instance is sent a copy of the second one's command line)
printf(1,"COPYDATA(%s, %d)\n",{peek_string(vpCommandLine), size});
return IUP_DEFAULT;
end function
7,806

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.