- Timestamp:
- Jun 2, 2007, 6:53:34 PM (17 years ago)
- Location:
- Include/com
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/com/bstring.ab
r226 r267 3 3 #require <ole2.ab> 4 4 #require <oleauto.ab> 5 6 Namespace ActiveBasic 7 Namespace COM 5 8 6 9 Class BString … … 141 144 End Class 142 145 146 End Namespace 'COM 147 End Namespace 'ActiveBasic -
Include/com/currency.ab
r211 r267 5 5 #ifndef _COM_CURRENCY_AB 6 6 #define _COM_CURRENCY_AB 7 8 Namespace ActiveBasic 9 Namespace COM 7 10 8 11 Class Currency … … 214 217 End Class 215 218 219 End Namespace 'COM 220 End Namespace 'ActiveBasic 221 216 222 #endif '_COM_CURRENCY_AB -
Include/com/decimal.ab
r231 r267 4 4 #require <com/variant.ab> 5 5 #require <com/currency.ab> 6 7 Namespace ActiveBasic 8 Namespace COM 6 9 7 10 Class Decimal … … 369 372 dec As DECIMAL 370 373 End Class 374 375 End Namespace 'COM 376 End Namespace 'ActiveBasic -
Include/com/variant.ab
r211 r267 7 7 #require <oleauto.ab> 8 8 #require <com/index.ab> 9 10 Namespace ActiveBasic 11 Namespace COM 9 12 10 13 Class Variant … … 376 379 377 380 Override Function ToString() As String 378 Dim tmp = ChangeType(VT_BSTR )381 Dim tmp = ChangeType(VT_BSTR, VARIANT_ALPHABOOL) 379 382 Dim bs = ((tmp.v.val As ULONG_PTR) As BSTR) 380 383 Return New String(bs As PCWSTR, SysStringLen(bs) As Long) … … 534 537 Const Function ValStr() As BString 535 538 Dim r As VARIANT 536 ChangeType(r, 0, VT_BSTR)539 ChangeType(r, VARIANT_ALPHABOOL, VT_BSTR) 537 540 Dim bs = New BString 538 541 bs.Attach(GetPointer(VarPtr(r.val)) As BSTR) … … 634 637 */ 635 638 639 End Namespace 'COM 640 End Namespace 'ActiveBasic 641 636 642 #endif '_COM_VARIANT_AB -
Include/com/vbobject.ab
r208 r267 5 5 6 6 #include <com/variant.ab> 7 8 Namespace ActiveBasic 9 Namespace COM 7 10 8 11 Class VBObject … … 366 369 End Function 367 370 371 End Namespace 'COM 372 End Namespace 'ActiveBasic 373 368 374 #endif '_COM_VBIBJECT_AB
Note:
See TracChangeset
for help on using the changeset viewer.