Changeset 439
- Timestamp:
- Feb 28, 2008, 7:05:42 PM (17 years ago)
- Location:
- trunk/Include/Classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/ActiveBasic/Windows/CriticalSection.ab
r411 r439 52 52 /*Override*/ Sub Dispose() 53 53 ' Dim pcsOld = ActiveBasic.Windows.Detail.InterlockedExchangeAnyPointer(pcs, 0) 54 Dim pcsOld = InterlockedExchangePointer( pcs AsVoidPtr, 0) As *CRITICAL_SECTION54 Dim pcsOld = InterlockedExchangePointer(ByVal VarPtr(pcs) As *VoidPtr, 0) As *CRITICAL_SECTION 55 55 If pcsOld <> 0 Then 56 56 LeaveCriticalSection(ByVal pcsOld) -
trunk/Include/Classes/System/IO/FileStream.ab
r437 r439 429 429 If handle <> 0 Then 430 430 Flush() 431 CloseHandle(InterlockedExchangePointer( VarPtr(handle), NULL))431 CloseHandle(InterlockedExchangePointer(ByVal VarPtr(handle), NULL)) 432 432 End If 433 433 End Sub
Note:
See TracChangeset
for help on using the changeset viewer.