---------------------------------------------------------------------------
| 1256 | } |
| 1257 | //--------------------------------------------------------------------------- |
| 1258 | int VariantGetValuesCount(Variant v) |
| 1259 | { |
| 1260 | int rv = 0; |
| 1261 | try |
| 1262 | { |
| 1263 | if( ! v.IsNull() ) |
| 1264 | { |
| 1265 | rv = 1; |
| 1266 | if( v.IsArray() ) |
| 1267 | rv = v.ArrayHighBound() - v.ArrayLowBound() + 1; |
| 1268 | } |
| 1269 | } |
| 1270 | catch(...) |
| 1271 | {} |
| 1272 | return rv; |
| 1273 | } |
| 1274 | //--------------------------------------------------------------------------- |
| 1275 | AnsiString FormatLastError(DWORD & error) |
| 1276 | { |
nothing calls this directly
no outgoing calls
no test coverage detected