Jerome BENOIT wrote:
> 
> I want to get under cygwin the true `program_invocation_name'.
> I mean with the extension `.exe' when applcable.

DWORD len = GetModuleFileName(NULL, buf, buf_size);

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                        mailto:[EMAIL PROTECTED]
Red Hat, Inc.
mailto:[EMAIL PROTECTED]

--
Want to unsubscribe from this list?
Send a message to [EMAIL PROTECTED]

Reply via email to