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 » Community » Coffee corner » File system library refactoring
Re: File system library refactoring [message #12870 is a reply to message #12864] Fri, 23 November 2007 12:20 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1428
Registered: September 2007
Ultimate Contributor
Thank you for the files! I guess using registry is just about as OS dependent as SHGetFolderPath function, so it could be okay. For now I'll finish the basic framework and add these functions later.

AFAIK, SHGetFolderPath in Windows versions <= 4 is in SHFolder.dll and in >=5 in Shell32.dll. I don't know if there must be a special configration step if you just link with shell32.lib. I'll have to try.

I'm also posting a preview the sources to show what I'm trying to achieve together with some nonsensical example:
PathInfo p;
p.FromFile("c:\\miu\\matz\\miau\\pisu.txt").AddDir("\\a/").AddDir("b\\c\\d").SetFile("pisu.exe").SetDir(4, "AA");

will result in:
c:\miu\matz\miau\AA\b\c\d\pisu.exe


PS: The rar contains some extra files from my future CtrlEx, just ignore them Razz.
  • Attachment: CtrlEx.rar
    (Size: 4.46KB, Downloaded 332 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Good manual/documentation
Next Topic: communicate with Russian, Ukrainian and other slavonic developers
Goto Forum:
  


Current Time: Mon Aug 25 21:54:02 CEST 2025

Total time taken to generate the page: 0.00656 seconds