View Issue Details

IDProjectCategoryView StatusLast Update
0004639JEDI VCL00 JVCL Componentspublic2008-12-30 02:32
ReporterdeboseAssigned Toobones 
PrioritynormalSeveritytrivialReproducibilityN/A
Status resolvedResolutionno change required 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004639: TJvFormatDriveDialog property Capacity should be deprecated now
DescriptionCapacity property has type TJvDriveCapacity = (dcDefault, dcSize360kB, dcSize720kB);

Not sure, that anyone will format disk for 360 kb. =)

TJvFormatDriveDialog.Execute converts Capacity property value to fmtID and calls SHFormatDrive function.
But in MSDN is written following:

fmtID
[in] The ID of the physical format. Only the following flag is currently defined.
SHFMT_ID_DEFAULT - The default format ID.

Prooflink: http://msdn.microsoft.com/en-us/library/bb762169.aspx
Additional InformationAdditionally, i think, that this component should be removed from JVCL, and/or it functionality can be easily replaced with function JvShowFormatDialog. Reason is, that JVCL is huge enough without need to keep components that wraps signle API function.

Similar components, that wraps only one Api function:
TJvConnectNetwork, TJvDisconnectNetwork.
TagsNo tags attached.

Activities

obones

2008-12-30 02:32

administrator   ~0015194

By looking at the code you will see that this property is only supported for non NT versions of windows, that is Win98 and Win95.
Sure, those two are not supported by the latest IDE, but the JVCL support is from D5 to all the latest, so this flag is still useful for people generating applications for these older versions of windows.

Issue History

Date Modified Username Field Change
2008-12-24 13:25 debose New Issue
2008-12-30 02:32 obones Note Added: 0015194
2008-12-30 02:32 obones Status new => resolved
2008-12-30 02:32 obones Resolution open => no change required
2008-12-30 02:32 obones Assigned To => obones