Changeset 142 for Include/com
- Timestamp:
- Mar 9, 2007, 10:15:34 PM (18 years ago)
- Location:
- Include/com
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/com/bstring.ab
r138 r142 11 11 12 12 Sub BString(len As DWord) 13 bs = SysAllocStringLen( len)13 bs = SysAllocStringLen(0, len) 14 14 End Sub 15 15 … … 40 40 End Sub 41 41 42 Sub ~BString() 43 Clear() 44 End Sub 45 42 46 Sub Operator =(ByRef bstr As BString) 43 ~BString()47 Clear() 44 48 BString(bstr) 45 49 End Sub 46 50 47 Sub ~BString()51 Sub Operator =(s As LPCOLESTR) 48 52 Clear() 53 BString(s) 54 End Sub 55 56 Sub Assign(ByRef bstr As BString) 57 Clear() 58 BString(bstr) 59 End Sub 60 61 Sub Assign(s As LPCOLESTR) 62 Clear() 63 BString(s) 64 End Sub 65 66 Sub AssignFromBStr(bstr As BSTR) 67 Clear() 68 BString(bstr) 49 69 End Sub 50 70 … … 74 94 End Function 75 95 76 Const Function Operator [](i As SIZE_T) 96 Const Function Operator [](i As SIZE_T) As OLECHAR 77 97 #ifdef _DEBUG 78 98 If i > Length Then
Note:
See TracChangeset
for help on using the changeset viewer.