my $ProcessObj; Win32::Process::Create($ProcessObj, "C:/Programme/ATT/Graphviz/bin/dot.exe", $command, 0, NORMAL_PRIORITY_CLASS, ".") or $self->ErrorReport(); print "msg: " . Win32::FormatMessage( Win32::GetLastError() );