Changeset 288 for Include/Classes/System
- Timestamp:
- Aug 15, 2007, 3:22:33 AM (17 years ago)
- Location:
- Include/Classes/System
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/System/IO/DriveInfo.ab
r285 r288 41 41 Dim systemName[15] As TCHAR 42 42 If GetVolumeInformation(m_DriveName, NULL, 0, NULL, NULL, NULL, systemName, Len (systemName)) Then 43 Return systemName 43 Dim resultStr = New String( systemName ) 44 Return resultStr 44 45 Else 45 46 'IOException … … 85 86 86 87 Function VolumeLabel() As String 87 Dim volumeName[63] As TCAHR 88 If GetVolumeInformation(m_DriveName, volumeName, 64, NULL, NULL, NULL, NULL, NULL) Then 89 Return volumeName 88 Dim volumeName[63] As TCHAR 89 If GetVolumeInformation(m_DriveName, volumeName, 64, NULL, NULL, NULL, NULL, 0) Then 90 Dim resultStr = New String( volumeName ) 91 Return resultStr 90 92 Else 91 93 'IOException -
Include/Classes/System/Text/StringBuilder.ab
r272 r288 308 308 EnsureCapacity(newSize) 309 309 separateBuffer() 310 ActiveBasic.Strings.ChrMove(VarPtr(chars[i + lenTotal]), VarPtr(chars[i]), (size - index) As SIZE_T) 310 311 ' TODO: fix me!(定義されていない変数iが使われています) 312 'ActiveBasic.Strings.ChrMove(VarPtr(chars[i + lenTotal]), VarPtr(chars[i]), (size - index) As SIZE_T) 313 311 314 Dim i As Long 312 315 For i = 0 To ELM(n)
Note:
See TracChangeset
for help on using the changeset viewer.