Page 1 of 1

Where has IDOS->CurrentDir() gone?

PostPosted: Fri Nov 27, 2015 12:19 pm
by OldFart
Hi,

As the title indicates said function seems not to be part of the dos library anylonger. What has it been replaced with?
Also there is no mentioning ot this in dos-obsolete.

OldFart

Re: Where has IDOS->CurrentDir() gone?

PostPosted: Fri Nov 27, 2015 12:44 pm
by salass00
It's called SetCurrentDir() now.

$ grep CurrentDir dos/obsolete.h
#define cli_SetName cli_CurrentDirName
#define SetCurrentDirName(x) SetCliCurrentDirName(x)
#define GetCurrentDirName(x,y) GetCliCurrentDirName(x,y)
#define CurrentDir(x) SetCurrentDir(x)

Re: Where has IDOS->CurrentDir() gone?

PostPosted: Fri Nov 27, 2015 1:42 pm
by OldFart
Thank you!

OldFart

Re: Where has IDOS->CurrentDir() gone?

PostPosted: Fri Nov 27, 2015 6:04 pm
by eliyahu
OldFart wrote:As the title indicates said function seems not to be part of the dos library anylonger. What has it been replaced with?
Also there is no mentioning ot this in dos-obsolete.

it's probably a good idea to look through the following, too:

http://wiki.amigaos.net/wiki/SDK_Release_Notes
http://wiki.amigaos.net/wiki/Deprecated_Functions

-- eliyahu