the progrma im using as a process was ported from linux ot windows so i doint know if the geterrorcodeprocess will work.. however im intersted in open process
thankz for help..