convert relative path into absolute path via wxFileName::Normalize

Xu, Ming (NIH/NLM/NCBI) [F] mxu at ncbi.nlm.nih.gov
Thu Jan 4 13:46:50 PST 2007


Under win32, using wxWidget 2.4.2.

ming

-----Original Message-----
From: Vadim Zeitlin [mailto:vadim at wxwindows.org] 
Sent: Thursday, January 04, 2007 4:07 PM
To: wx-users at lists.wxwidgets.org
Subject: Re: convert relative path into absolute path via
wxFileName::Normalize

On Thu, 4 Jan 2007 16:00:11 -0500 "Xu, Ming (NIH/NLM/NCBI) [F]"
<mxu at ncbi.nlm.nih.gov> wrote:

XM> I have an input file,  .\setting\setting2.xml and created a
wxFileName
XM> object InFileName,  from it.
XM> 
XM> 
XM> But after calling InFileName. Normalize(),  the full path is still
XM> ".\setting\setting2.xml" 
XM> 
XM> 
XM> from InFileName. GetFullPath().
XM> 
XM> 
XM> How can I convert relative path into  an absolute path ?

 All the standard questions apply:

1. Can you reproduce the problem in the minimal sample? If so, please
   post a diff.

2. Which version of wxWidgets do you use?

3. Under which platform?

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org




More information about the wx-users mailing list