Changeset 200 for Include/com/variant.ab
- Timestamp:
- Apr 2, 2007, 11:55:39 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/com/variant.ab
r192 r200 6 6 #require <oaidl.ab> 7 7 #require <oleauto.ab> 8 #require <com/bstring.ab> 9 #include <com/vbobject.ab> 8 #require <com/index.ab> 10 9 11 10 Class Variant … … 111 110 End Sub 112 111 112 Sub Variant(n As Currency) 113 v.vt = VT_CY 114 SetQWord(VarPtr(v.val), n.Cy As QWord) 115 End Sub 116 117 113 118 Sub ~Variant() 114 119 Clear() … … 504 509 End Sub 505 510 506 'ValCy 507 511 Const Function ValCy() As Currency 512 End Function 513 514 Sub ValCy(x As Currency) 515 End Sub 516 508 517 'ValDate 509 518 … … 557 566 End Function 558 567 568 Static Function OptionalParam() As Variant 569 ' If _System_VariantOptionalParam = Nothing Then 570 ' 'ToDo マルチスレッド対応 571 _System_VariantOptionalParam = New Variant 572 _System_VariantOptionalParam.ValError = DISP_E_PARAMNOTFOUND 573 ' End If 574 Return _System_VariantOptionalParam 575 End Function 559 576 Private 560 577 v As VARIANT … … 570 587 End Sub 571 588 End Class 589 590 Dim _System_VariantOptionalParam = Nothing As Variant 591 572 592 /* 573 593 Function Abs(v As Variant) As Variant
Note:
See TracChangeset
for help on using the changeset viewer.