diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-20 01:58:03 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-08-20 01:58:03 +0000 |
commit | 654391d592d7d831e6ef4c3d66e98f3795072b5a (patch) | |
tree | cdd8054870aa825d1793b11ea08d22580de41e5f /ace/config-win32.h | |
parent | 88bf0c21d2dc450ca670bb1c779314c147c8a1f6 (diff) | |
download | ATCD-654391d592d7d831e6ef4c3d66e98f3795072b5a.tar.gz |
Update comments about ACE_HAS_NONSTATIC_OBJECT_MANAGER
Diffstat (limited to 'ace/config-win32.h')
-rw-r--r-- | ace/config-win32.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/ace/config-win32.h b/ace/config-win32.h index 526a61b8012..dee913915db 100644 --- a/ace/config-win32.h +++ b/ace/config-win32.h @@ -144,7 +144,17 @@ #endif // By default, we use non-static object manager on Win32. That is, -// the object manager is allocated in main's stack memory. +// the object manager is allocated in main's stack memory. If this +// does not suit your need, you can disable the behavior by defining +// ACE_HAS_NONSTATIC_OBJECT_MANAGER to 0. +// +// MFC users: Since the main function is defined withing MFC library, +// you'll need to instantiate the ACE_Object_Manager by doing either, +// +// 1. Using static object manager (as described above.) +// 2. Instantiate Object Manager in your CApplication derived class +// and define ACE_DONT_INSTANTIATE_NONSTATIC_OBJECT_MANAGER. +// #if !defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) # define ACE_HAS_NONSTATIC_OBJECT_MANAGER #elif (ACE_HAS_NONSTATIC_OBJECT_MANAGER == 0) |