Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Functions4U_Demo: Inconsistent result of GetRelativePath
Functions4U_Demo: Inconsistent result of GetRelativePath [message #50496] Mon, 12 November 2018 03:36 Go to next message
bozero is currently offline  bozero
Messages: 20
Registered: June 2018
Promising Member
GetRelativePath("\books\technology\computers", "\books\biology\mammals")
= "..\biology\mammals" (should be: "../../biology/mammals") <---
GetRelativePath("\books\technology\computers", "\books\technology\computers")
= "" (should be: "")
GetRelativePath("\books\technology\computers", "\books2\biology\mammals")
= "..\..\books2\biology\mammals" (should be: "../../../books2/biology/mammals") <---
GetRelativePath("c:\books\technology\computers", "y:\books2\biology\mammals")
= "Null"

best regards

windows10 + U++12016(MinGW-w64 toolchain)
Re: Functions4U_Demo: Inconsistent result of GetRelativePath [message #50502 is a reply to message #50496] Mon, 12 November 2018 10:05 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Fixed. Thank you bozero.

Best regards
IƱaki
Previous Topic: ChromiumBrowserExample error at compile
Next Topic: OleAut : Office Automation Encapsulation, then made easy
Goto Forum:
  


Current Time: Thu Mar 28 18:28:12 CET 2024

Total time taken to generate the page: 0.00930 seconds