This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.1.8: can't access /home/user from a windows native executable like rc.exe
- To: cygwin at cygwin dot com
- Subject: Re: 1.1.8: can't access /home/user from a windows native executable like rc.exe
- From: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Wed, 11 Jul 2001 12:43:45 +0200
- References: <01071110062202.02318@debian100>
On Wed, Jul 11, 2001 at 10:06:22AM +0200, Michael Mustun wrote:
> 1.1.8: can't access /home/user from a windows native executable like rc.exe
>
> Why does the following not work:
>
> - - -
> $ RC.EXE afile.rc
>
>
> afile.rc (2): error RC2135 : file not found:
> /home/app/main.ico
>
> - - -
>
> The file /home/app/main.ico is accessible and readable
> with vi etc..
>
>
> Contents of afile.rc:
> - - -
> $ cat ./afile.rc
> DIOS_ICON ICON DISCARDABLE
> "/home/app/main.ico"
> - - -
>
> If I use "//nthost/app/main.ico" (UNC notation?)
> instead of "/home/app/main.ico", it works.
>
> Again, why can RC.EXE and other m$-tools not access
> files in the posix notation (/a/bb/ccc)?
Installing Cygwin doesn't mean that native Windows apps suddenly
understand POSIX path syntax since they still have no clue about
Cygwin. You'll have to use native Windows syntax like
"C:\cygwin\home\app\main.ico" if you use native Windows apps.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/