|
ID: 17462, Setdisk function works differently under WIN32
Using Borland C++ Compiler version 4.5.2: Setdisk under WIN32 resets the path of the target drive designator to the original path. Setdisk under DOS does not reset the path. Setdisk under WIN32 should work the same as it does under DOS.
|
Download
| Details
|
|
FTP
download also available
|
|
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
|
To download this, you must have registered:
|
For C++Builder, Version 2.0
to 5.0
107 downloads
Copyright: No significant restrictions
Size: 1,590,207 bytes
Updated on Thu, 24 Jan 2002 14:16:18 GMT
Originally uploaded on Thu, 24 Jan 2002 14:16:48 GMT
SHA1 Hash: C7D7F916C49369543666302AB0D33640CCC2F5BB
MD5 Hash: 5ED940D807C074881924A34E03874262
|
Explore the files in this upload
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
Description
|
Setdisk is supposed to do exactly as its name implies: change the default drive to the specified drive designator. It should leave the path alone (chdir is used to change the path). This is the way setdisk works under DOS. However, when setdisk is used under WIN32, it also changes the path back to the original directory. The way setdisk works under WIN32 is wrong and should be changed to work the way it works under DOS.
|
|

Server Response from: ETNACDC04
|
Connect with Us