Replace CurrentProcess by process lib implementation