Ignore:
Timestamp:
Nov 17, 2007, 9:34:36 AM (17 years ago)
Author:
イグトランス (egtra)
Message:

SPrintf関数の実装

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/TestCase/SimpleTestCase/GCHandleTest.ab

    r299 r383  
    66
    77Sub TestMain()
     8    Imports System.Runtime.InteropServices
     9
    810    Dim o = New Object
    9     Dim gch = System.Runtime.InteropServices.GCHandle.Alloc(o)
     11    Dim gch = GCHandle.Alloc(o)
    1012    UnitTest("GCHandle.Alloc, Target", o.Equals(gch.Target))
    1113
    12     Dim ip = System.Runtime.InteropServices.GCHandle.ToIntPtr(gch)
     14    Dim ip = GCHandle.ToIntPtr(gch)
    1315    gch = Nothing
    1416
    15     gch = System.Runtime.InteropServices.GCHandle.FromIntPtr(ip)
     17    gch = GCHandle.FromIntPtr(ip)
    1618    UnitTest("GCHandle - IntPtr", o.Equals(gch.Target))
    17 
    18 
    1919End Sub
    2020
Note: See TracChangeset for help on using the changeset viewer.