Where has IDOS->CurrentDir() gone?

A forum for general AmigaOS 4.x support questions that are not platform-specific

Where has IDOS->CurrentDir() gone?

Postby OldFart » Fri Nov 27, 2015 12:19 pm

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
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear (for sale, willing to split)
User avatar
OldFart
 
Posts: 51
Joined: Tue Jul 12, 2011 3:56 pm

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

Postby salass00 » Fri Nov 27, 2015 12:44 pm

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)
User avatar
salass00
AmigaOS Core Developer
AmigaOS Core Developer
 
Posts: 504
Joined: Sat Jun 18, 2011 4:12 pm
Location: Finland

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

Postby OldFart » Fri Nov 27, 2015 1:42 pm

Thank you!

OldFart
Dead MicroA1
A1200 in ElBox, c/w Blizzard '040 @ 50MHz + SCSI module, ZIV-board c/w (o.a.) cv64/3d + flickerdoubler + FastATA-ZIV + Lots of SCSI gear (for sale, willing to split)
User avatar
OldFart
 
Posts: 51
Joined: Tue Jul 12, 2011 3:56 pm

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

Postby eliyahu » Fri Nov 27, 2015 6:04 pm

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
User avatar
eliyahu
Beta Tester
Beta Tester
 
Posts: 61
Joined: Sat Jun 18, 2011 12:13 am


Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 3 guests