Cygwin, Vista, and rcmd

Corinna Vinschen
Mon May 14 12:18:00 GMT 2007

On May  7 17:04, Christopher Faylor wrote:
> On Mon, May 07, 2007 at 11:41:28AM -0700, wrote:
> >I've been watching the groups, Google, and so forth with little luck to 
> >resolving the issue seen by myself and a few other people:
> >
> >$ rlogin blah@blah
> >   9617 [main] rlogin 5392 e:\cygwin\bin\rlogin.exe: *** fatal error - 
> >couldn't dynamically determine load address for 'rcmd' (handle 
> >0x75E70000), Win32 error 127
> >Hangup
> >
> >So I finally did some research myself. I don't have a solution, but i have 
> >another name for the problem!
> >
> >Error code 127 is the 'procedure not found' code in Win32. I searched 
> >through the code and the DLLs involved, and found that ultimately, rlogin 
> >is looking for 'rcmd' in mswsock.dll (linked through wsock32.dll). The 
> >'rcmd' export is clearly available in Windows 2000 and Windows XP (the two 
> >other versions I checked), and conspicuously absent in Vista. (Checked 
> >with depends.exe).
> >
> >The only thing I could find on the development list was a note from July 
> >by Corinna Vinschen that there was work in progress towards replacing 
> >the winsock calls -- looks like we're going to need that for Vista.
> Have you tried a snapshot?

Just as an additional note:  Yes, for Vista it's absolutely required to
replace these function in Cygwin since the Vista winsock DLL does not
export the old rcmd/rexec/rresvport functions anymore.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list