00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00047 # define COMSTL_VER_H_COMSTL_MAJOR 2
00048 # define COMSTL_VER_H_COMSTL_MINOR 0
00049 # define COMSTL_VER_H_COMSTL_REVISION 1
00050 # define COMSTL_VER_H_COMSTL_EDIT 62
00051 #endif
00052
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00137
00140
00143
00146
00147 #define _COMSTL_VER_MAJOR 1
00148 #define _COMSTL_VER_MINOR 4
00149 #define _COMSTL_VER_REVISION 1
00150 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00151 # define _COMSTL_VER_1_0_1 0x00010001
00152 # define _COMSTL_VER_1_1_1 0x00010101
00153 # define _COMSTL_VER_1_2_1 0x00010201
00154 # define _COMSTL_VER_1_2_2 0x00010202
00155 # define _COMSTL_VER_1_2_3 0x00010203
00156 # define _COMSTL_VER_1_2_4 0x00010204
00157 # define _COMSTL_VER_1_2_5 0x00010205
00158 # define _COMSTL_VER_1_3_1 0x00010301
00159 # define _COMSTL_VER_1_4_1 0x00010401
00160 #endif
00161
00162 #define _COMSTL_VER _COMSTL_VER_1_4_1
00163
00164
00165
00166
00167
00168 #ifndef STLSOFT_INCL_H_STLSOFT
00169 # include "stlsoft.h"
00170 #endif
00171 #include <objbase.h>
00172
00173
00174
00175
00176
00177 #if !defined(_STLSOFT_VER_1_5_1) || \
00178 _STLSOFT_VER < _STLSOFT_VER_1_5_1
00179 # error This version of the COMSTL libraries requires STLSoft version 1.5.1 or later
00180 #endif
00181
00182
00183
00184
00185
00186
00187
00188
00189 #ifdef _MBCS
00190 # ifdef _COMSTL_STRICT
00191 # error The COMSTL libraries are not compatible with variable length character representation schemes such as MBCS
00192 # else
00193 # pragma message("The COMSTL libraries are not compatible with variable length character representation schemes such as MBCS")
00194 # endif
00195 #endif
00196
00197
00198
00199
00200
00201
00202
00203
00204
00205
00206
00207
00208
00209 #if defined(__STLSOFT_COMPILER_IS_BORLAND)
00210
00211 # if __BORLANDC__ < 0x0550
00212 # error Versions of Borland C++ prior to 5.5 are not supported by the COMSTL libraries
00213 # endif
00214
00215 #elif defined(__STLSOFT_COMPILER_IS_COMO)
00216
00217
00218 #elif defined(__STLSOFT_COMPILER_IS_DMC)
00219
00220 # if __DMC__ < 0x0826
00221 # error Versions of Digital Mars C/C++ prior to 8.26 are not supported by the COMSTL libraries
00222 # endif
00223
00224 #elif defined(__STLSOFT_COMPILER_IS_GCC)
00225
00226 # if __GNUC__ < 3
00227 # error Versions of GNU C/C++ prior to 3 are not supported by the COMSTL libraries
00228 # endif
00229
00230 #elif defined(__STLSOFT_COMPILER_IS_INTEL)
00231
00232 # if (__INTEL_COMPILER < 600)
00233 # error Versions of Intel C++ prior to 6.0 are not supported by the COMSTL libraries
00234 # endif
00235
00236 #elif defined(__STLSOFT_COMPILER_IS_MWERKS)
00237
00238 # if (__MWERKS__ & 0xFF00) < 0x2400
00239 # error Versions of Metrowerks CodeWarrior C++ prior to 7.0 are not supported by the COMSTL libraries
00240 # endif
00241
00242 #elif defined(__STLSOFT_COMPILER_IS_MSVC)
00243
00244 # if _MSC_VER < 1020
00245 # error Versions of Visual C++ prior to 4.2 are not supported by the COMSTL libraries
00246 # endif
00247
00248 #else
00249
00250 # ifdef _STLSOFT_FORCE_ANY_COMPILER
00251 # define _COMSTL_COMPILER_IS_UNKNOWN
00252 # ifdef _STLSOFT_COMPILE_VERBOSE
00253 # pragma message("Compiler is unknown to COMSTL")
00254 # endif
00255 # else
00256 # error Currently only Borland C++, Comeau, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior C/C++ and Visual C++ compilers are supported by the COMSTL libraries
00257 # endif
00258 #endif
00259
00260
00261
00262
00263
00264
00265
00269 #define comstl_assert(expr) stlsoft_assert(expr)
00270
00275 #define comstl_message_assert(msg, expr) stlsoft_message_assert(msg, expr)
00276
00280 #define comstl_static_assert(expr) stlsoft_static_assert(expr)
00281
00282
00283
00284
00285
00286
00287
00288
00289
00290
00291
00292
00293
00294
00295
00296
00297
00298 #ifdef __COMSTL_CF_DCOM_SUPPORT
00299 #undef __COMSTL_CF_DCOM_SUPPORT
00300 #endif
00301
00302 #if !defined(_COMSTL_NO_DCOM) && \
00303 ( (_WIN32_WINNT >= 0x0400) || \
00304 defined(_WIN32_DCOM) || \
00305 defined(_COMSTL_DCOM))
00306 # define __COMSTL_CF_DCOM_SUPPORT
00307 #endif
00308
00309
00310
00311
00312
00313
00314
00315
00316
00317
00318
00319
00320
00321
00322
00323
00324
00325
00326
00327
00328
00329
00330
00331
00332
00333
00334
00335
00336
00337
00338
00339
00340
00341
00342
00343
00344
00345
00346
00347
00348
00349
00350 #ifdef _STLSOFT_NO_NAMESPACES
00351 # define _COMSTL_NO_NAMESPACES
00352 #endif
00353
00354
00355 #ifdef _COMSTL_NO_NAMESPACES
00356 # define _COMSTL_NO_NAMESPACE
00357 #endif
00358
00359 #ifndef _COMSTL_NO_NAMESPACE
00360 # if defined(_STLSOFT_NO_NAMESPACE) || \
00361 defined(__STLSOFT_DOCUMENTATION_SKIP_SECTION)
00362
00365 namespace comstl
00366 {
00367 # else
00368
00369
00370 namespace stlsoft
00371 {
00372
00373 namespace comstl_project
00374 {
00375
00376 # endif
00377 #else
00378 stlsoft_ns_using(move_lhs_from_rhs)
00379 #endif
00380
00383
00386
00387 #ifndef _COMSTL_NO_NAMESPACE
00388 # define comstl_ns_qual(x) ::comstl::x
00389 # define comstl_ns_using(x) using ::comstl::x;
00390 #else
00391 # define comstl_ns_qual(x) x
00392 # define comstl_ns_using(x)
00393 #endif
00394
00397
00400
00401 #ifdef __STLSOFT_CF_std_NAMESPACE
00402 # define comstl_ns_qual_std(x) ::std::x
00403 # define comstl_ns_using_std(x) using ::std::x;
00404 #else
00405 # define comstl_ns_qual_std(x) x
00406 # define comstl_ns_using_std(x)
00407 #endif
00408
00409
00410
00411
00412
00413
00414
00415
00416 typedef stlsoft_ns_qual(ss_char_a_t) cs_char_a_t;
00417 typedef stlsoft_ns_qual(ss_char_w_t) cs_char_w_t;
00418 typedef OLECHAR cs_char_o_t;
00419 typedef stlsoft_ns_qual(ss_sint8_t) cs_sint8_t;
00420 typedef stlsoft_ns_qual(ss_uint8_t) cs_uint8_t;
00421 typedef stlsoft_ns_qual(ss_int16_t) cs_int16_t;
00422 typedef stlsoft_ns_qual(ss_sint16_t) cs_sint16_t;
00423 typedef stlsoft_ns_qual(ss_uint16_t) cs_uint16_t;
00424 typedef stlsoft_ns_qual(ss_int32_t) cs_int32_t;
00425 typedef stlsoft_ns_qual(ss_sint32_t) cs_sint32_t;
00426 typedef stlsoft_ns_qual(ss_uint32_t) cs_uint32_t;
00427 #ifdef STLSOFT_CF_64BIT_INT_SUPPORT
00428 typedef stlsoft_ns_qual(ss_int64_t) cs_int64_t;
00429 typedef stlsoft_ns_qual(ss_sint64_t) cs_sint64_t;
00430 typedef stlsoft_ns_qual(ss_uint64_t) cs_uint64_t;
00431 #endif
00432 typedef stlsoft_ns_qual(ss_int_t) cs_int_t;
00433 typedef stlsoft_ns_qual(ss_sint_t) cs_sint_t;
00434 typedef stlsoft_ns_qual(ss_uint_t) cs_uint_t;
00435 typedef stlsoft_ns_qual(ss_long_t) cs_long_t;
00436 typedef stlsoft_ns_qual(ss_bool_t) cs_bool_t;
00437 typedef DWORD cs_dword_t;
00438 typedef stlsoft_ns_qual(ss_size_t) cs_size_t;
00439 typedef stlsoft_ns_qual(ss_ptrdiff_t) cs_ptrdiff_t;
00440 typedef stlsoft_ns_qual(ss_streampos_t) cs_streampos_t;
00441 typedef stlsoft_ns_qual(ss_streamoff_t) cs_streamoff_t;
00442
00443 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00444
00445
00446
00447
00448
00449
00450
00451
00452 #define cs_true_v ss_true_v
00453 #define cs_false_v ss_false_v
00454
00455 #endif
00456
00457
00458
00459
00460 #ifndef __STLSOFT_DOCUMENTATION_SKIP_SECTION
00461
00462 #define comstl_throw_0() stlsoft_throw_0()
00463 #define comstl_throw_1(x1) stlsoft_throw_1(x1)
00464 #define comstl_throw_2(x1, x2) stlsoft_throw_2(x1, x2)
00465 #define comstl_throw_3(x1, x2, x3) stlsoft_throw_3(x1, x2, x3)
00466 #define comstl_throw_4(x1, x2, x3, x4) stlsoft_throw_4(x1, x2, x3, x4)
00467 #define comstl_throw_5(x1, x2, x3, x4, x5) stlsoft_throw_5(x1, x2, x3, x4, x5)
00468 #define comstl_throw_6(x1, x2, x3, x4, x5, x6) stlsoft_throw_6(x1, x2, x3, x4, x5, x6)
00469 #define comstl_throw_7(x1, x2, x3, x4, x5, x6, x7) stlsoft_throw_7(x1, x2, x3, x4, x5, x6, x7)
00470 #define comstl_throw_8(x1, x2, x3, x4, x5, x6, x7, x8) stlsoft_throw_8(x1, x2, x3, x4, x5, x6, x7, x8)
00471 #endif
00472
00474 #define comstl_num_elements(ar) stlsoft_num_elements(ar)
00475
00477 #define comstl_destroy_instance(t, _type, p) stlsoft_destroy_instance(t, _type, p)
00478
00480 #define comstl_gen_opaque(_htype) stlsoft_gen_opaque(_htype)
00481
00482
00483
00484
00485
00486
00487
00488
00489
00490
00491
00492
00493 #endif
00494
00495
00496
00497
00498
00499