Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Gordon Watts (UW Seattle)" To: "Gnu-Win Cygnus Mailing List" Subject: RE: Calling cygwin32_conv_to_full_win32_path from a MSVC app Date: Thu, 13 Jan 2000 21:02:49 -0800 Message-ID: <001201bf5e4c$9abce7a0$c55e5f80@fnal.gov> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 I've not seen any more traffic on this... does this mean it isn't possible to call the cygwin dll from a MSVC program to do something like convert a UNIX style path to an NT one? If there is a FAQ I'm missed, please point me to it... Many thanks! Cheers, Gordon. -----Original Message----- From: Gordon Watts (UW Seattle) [mailto:gwatts AT fnal DOT gov] Sent: Wednesday, January 12, 2000 1:58 PM To: earnie_boyd AT yahoo DOT com; Gnu-Win Cygnus Mailing List Subject: RE: Calling cygwin32_conv_to_full_win32_path from a MSVC app Hi, Thanks. You are correct. I am actually using the b20p1 distribution, but due to build issues had to rename the dll to 19. I forgot about this when I wrote the document. I was using cygpath for a while. Basically, we have an ENV var that contains the path, and the scripts have to modify it. Then, when we invoke the program (often by hand), it is directly, not via a path -- up shot is we have no place to put the cygpath utility in. And the program we are running is enough out of my control that I can't change the way it is run. So... I need to convert the path while I'm running. :( Cheers, Gordon. > -----Original Message----- > From: Earnie Boyd [mailto:earnie_boyd AT yahoo DOT com] > Sent: Wednesday, January 12, 2000 12:12 PM > To: Gordon Watts (UW Seattle); Gnu-Win Cygnus Mailing List > Subject: Re: Calling cygwin32_conv_to_full_win32_path from a MSVC app > > > --- "Gordon Watts (UW Seattle)" wrote: > > Hi, > > I'm trying to convert from UNIX paths to NT paths inside an > app that has > > been built under MSVC. I was hoping to do this by pulling in the > > cygwin19.dll and then calling the conversion function. > > Why cygwin B19?!! It's a couple of years old now. > > > I can see from the mailing list (I used egroups, which had the best > > message interface that I saw, to do the search) that this has > been discussed > > quite a bit. After an hour of looking I wasn't able to fix the > problem. Here > > is what I'm doing now. > > > > There exists a utility program called cygpath that does this > already. I don't > remember if it was distributed with B19 or not, but it did exist > in that era > and it is in the current source tree. > > ===== > Earnie Boyd > Cygwin Newbies, please visit > > __________________________________________________ > Do You Yahoo!? > Talk to your friends online with Yahoo! Messenger. > http://im.yahoo.com > > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com