Changeset 288
- Timestamp:
- Aug 15, 2007, 3:22:33 AM (17 years ago)
- Location:
- Include
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/Classes/ActiveBasic/Windows/CriticalSection.ab
r269 r288 53 53 54 54 /*Override*/ Sub Dispose() 55 Dim p = InterlockedExchangeAnyPointer(pcs, 0)55 Dim p = Detail.InterlockedExchangeAnyPointer(pcs, 0) 56 56 If p <> 0 Then 57 57 LeaveCriticalSection(ByVal p) -
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) -
Include/basic/command.sbp
r281 r288 408 408 _System_GetUsingFormat = buffer.ToString(0, lstrlen(StrBPtr(buffer))) 409 409 End Function 410 */ 410 411 ' TODO: _System_GetUsingFormatを用意して実装する 411 412 Sub PRINTUSING_ToFile(FileNumber As Long, UsingStr As String) 412 413 Dim dwAccessByte As DWord … … 418 419 WriteFile(_System_hFile(FileNumber),buf,Len(buf),VarPtr(dwAccessByte),ByVal NULL) 419 420 End Sub 421 */ 420 422 421 423 Dim _System_FieldSize(255) As Long -
Include/basic/dos_console.sbp
r272 r288 71 71 #endif 72 72 End Sub 73 73 /* TODO: _System_GetUsingFormatを用意して実装する 74 74 Sub PRINTUSING_ToPrompt(UsingStr As String) 75 75 PRINT_ToPrompt(_System_GetUsingFormat(UsingStr)) 76 76 End Sub 77 77 */ 78 78 79 79 #endif '_INC_DOS_CONSOLE -
Include/basic/prompt.sbp
r272 r288 896 896 End Sub 897 897 898 /* TODO: _System_GetUsingFormatを用意して実装する 898 899 Sub PRINTUSING_ToPrompt(UsingStr As String) 899 900 ActiveBasic.Prompt.Detail.PRINT_ToPrompt(_System_GetUsingFormat(UsingStr)) 900 901 End Sub 902 */ 901 903 902 904 Macro LOCATE(x As Long, y As Long) -
Include/system/enum.sbp
r282 r288 40 40 End If 41 41 End Function 42 42 /* 43 43 Function Operator or (enumBase As EnumBase) As EnumBase 44 44 Return New EnumBase(This.value Or enumBase.value) … … 52 52 Return New EnumBase(This.value Xor enumBase.value) 53 53 End Function 54 */ 54 55 End Class
Note:
See TracChangeset
for help on using the changeset viewer.