GetHomeDirectory() & GetTemporaryDirectory()

Everything else that doesn't fall into one of the other PB categories.
Denis
Enthusiast
Enthusiast
Posts: 790
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

GetHomeDirectory() & GetTemporaryDirectory()

Post by Denis »

I wonder if those functions could fail ?

If so, what is the return value ? An empty string ? an undefined value ?

Tks
A+
Denis
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Re: GetHomeDirectory() & GetTemporaryDirectory()

Post by SFSxOI »

Good question. I'd like to know too. I'm sort of thinking they return nothing (a null string?) if they fail.
The advantage of a 64 bit operating system over a 32 bit operating system comes down to only being twice the headache.
Fred
Administrator
Administrator
Posts: 18556
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: GetHomeDirectory() & GetTemporaryDirectory()

Post by Fred »

It's very unlikely, but if they fails, it will return an empty string.
Denis
Enthusiast
Enthusiast
Posts: 790
Joined: Fri Apr 25, 2003 5:10 pm
Location: Doubs - France

Re: GetHomeDirectory() & GetTemporaryDirectory()

Post by Denis »

Ok Fred,
i will ask Comtois to update French doc.
A+
Denis
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2167
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GetHomeDirectory() & GetTemporaryDirectory()

Post by Andre »

Doc update is done :D
(all 3 languages)
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply