Changeset 581 for trunk/ab5.0/ablib/src/Classes/System
- Timestamp:
- Aug 9, 2008, 1:32:26 PM (17 years ago)
- Location:
- trunk/ab5.0/ablib/src/Classes/System
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/System/IO/BinaryWriter.ab
r553 r581 165 165 This.OutStream.Write( ToTCStr(value) As *Byte, 0, value.Length()*SizeOf(TCHAR)) 166 166 End Sub 167 167 #ifndef UNICODE 168 168 /* 169 169 現在のストリームに2バイト符号なし整数を書き込み、ストリームの位置を 2バイトだけ進めます。 … … 172 172 This.OutStream.Write( VarPtr(value) As *Byte, 0, SizeOf(Word)) 173 173 End Sub 174 174 #endif 175 175 /* 176 176 現在のストリームに4バイト符号なし整数を書き込み、ストリームの位置を 4バイトだけ進めます。 -
trunk/ab5.0/ablib/src/Classes/System/Text/DecoderFallback.ab
r497 r581 177 177 End If 178 178 With replacement 179 str = .StrPtr180 len = .Length179 ' str = .StrPtr 180 ' len = .Length 181 181 End With 182 182 End Sub -
trunk/ab5.0/ablib/src/Classes/System/Text/Encoding.ab
r497 r581 151 151 */ 152 152 Function GetBytes(s As String, index As Long, count As Long, bytes As *Byte, byteCount As Long) As Long 153 If chars = 0Then153 If ActiveBasic.IsNothing(s) Then 154 154 Throw New ArgumentNullException("Encoding.GetBytes: An argument is null value.", "chars") 155 155 ElseIf bytes = 0 Then -
trunk/ab5.0/ablib/src/Classes/System/Threading/WaitHandle.ab
r494 r581 87 87 88 88 Static Function SignalAndWait(toSignal As WaitHandle, toWaitOn As WaitHandle, millisecondsTimeout As Long, exitContext As Boolean) As Boolean 89 Dim pSignalObjectAndWait = GetProcAddress(GetModuleHandle("Kernel32.dll"), "SignalObjectAndWait") As Detail.PFNSignalObjectAndWait89 Dim pSignalObjectAndWait = GetProcAddress(GetModuleHandle("Kernel32.dll"), ToMBStr("SignalObjectAndWait")) As Detail.PFNSignalObjectAndWait 90 90 If pSignalObjectAndWait = 0 Then 91 91 Throw New PlatformNotSupportedException("WaitHandle.SignalAndWait: This platform doesn't supoort this operation.")
Note:
See TracChangeset
for help on using the changeset viewer.