Using latest non-beta release/
If I try to compile the static version - I get the following:
1>ProactorAcceptor.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>BloombergConnectionThread.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall
ACE_Shared_Object::init(int,wchar_t * * const)" (?
init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MainProactor.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>ServerData.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::init(int,wchar_t * *
const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>ProactorTask.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>ServerPerConnectionData.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall
ACE_Shared_Object::init(int,wchar_t * * const)" (?
init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketObject.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketSpread.obj : error LNK2019: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z) referenced in
function "public: void __thiscall FIX::FieldMap::setField(int,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?setField@FieldMap@FIX@@QAEXHABV?
$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>ServerManagementThread.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall
ACE_Shared_Object::init(int,wchar_t * * const)" (?
init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>TestBB.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::init(int,wchar_t * *
const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketConfiguration.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketCurrencyFuture.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketIndex.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::init(int,wchar_t * *
const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketIndexFuture.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>ClientSubscriptionItem.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall
ACE_Shared_Object::init(int,wchar_t * * const)" (?
init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>DatabaseLoaderThread.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::init(int,wchar_t *
* const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketAlert.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::init(int,wchar_t * *
const)" (?init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>MarketCommodityFuture.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall
ACE_Shared_Object::init(int,wchar_t * * const)" (?
init@ACE_Shared_Object@@UAEHHQAPA_W@Z)
1>ProactorAcceptor.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>BloombergConnectionThread.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall ACE_Shared_Object::info(wchar_t
* *,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MainProactor.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ServerData.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::info(wchar_t * *,unsigned
int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ProactorTask.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ServerPerConnectionData.obj : error LNK2019: unresolved external
symbol "public: virtual int __thiscall ACE_Shared_Object::info(wchar_t
* *,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
referenced in function "public: struct std::pair<class
std::_Tree<class std::_Tmap_traits<int,class FIX::FieldBase,struct
FIX::message_order,class std::allocator<struct std::pair<int
const ,class FIX::FieldBase> >,1> >::iterator,bool> __thiscall
std::_Tree<class std::_Tmap_traits<int,class FIX::FieldBase,struct
FIX::message_order,class std::allocator<struct std::pair<int
const ,class FIX::FieldBase> >,1> >::insert(struct std::pair<int
const ,class FIX::FieldBase> const &)" (?insert@?$_Tree@V?
$_Tmap_traits@HVFieldBase@FIX@@Umessage_order@2@V?$allocator@U?$pair@$
$CBHVFieldBase@FIX@@@std@@@std@@$00@std@@@std@@QAE?AU?$pair@Viterator@?
$_Tree@V?$_Tmap_traits@HVFieldBase@FIX@@Umessage_order@2@V?
$allocator@U?$pair@$$CBHVFieldBase@FIX@@@std@@@std@@
$00@std@@@std@@_N@2@ABU?$pair@$$CBHVFieldBase@FIX@@@2@@Z)
1>MarketObject.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketSpread.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ServerManagementThread.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall ACE_Shared_Object::info(wchar_t
* *,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>TestBB.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::info(wchar_t * *,unsigned
int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketConfiguration.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketCurrencyFuture.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketIndex.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::info(wchar_t * *,unsigned
int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketIndexFuture.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ClientSubscriptionItem.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall ACE_Shared_Object::info(wchar_t
* *,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>DatabaseLoaderThread.obj : error LNK2001: unresolved external symbol
"public: virtual int __thiscall ACE_Shared_Object::info(wchar_t *
*,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketAlert.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall ACE_Shared_Object::info(wchar_t * *,unsigned
int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>MarketCommodityFuture.obj : error LNK2001: unresolved external
symbol "public: virtual int __thiscall ACE_Shared_Object::info(wchar_t
* *,unsigned int)const " (?info@ACE_Shared_Object@@UBEHPAPA_WI@Z)
1>ProactorAcceptor.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>BloombergConnectionThread.obj : error LNK2001: unresolved external
symbol "public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MainProactor.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ServerData.obj : error LNK2001: unresolved external symbol "public:
__thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ProactorTask.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ServerPerConnectionData.obj : error LNK2001: unresolved external
symbol "public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketObject.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketSpread.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ServerManagementThread.obj : error LNK2019: unresolved external
symbol "public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
referenced in function "public: virtual int __thiscall
ACE_Message_Queue<class ACE_MT_SYNCH>::flush_i(void)" (?flush_i@?
$ACE_Message_Queue@VACE_MT_SYNCH@@@@UAEHXZ)
1>TestBB.obj : error LNK2001: unresolved external symbol "public:
__thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketConfiguration.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketCurrencyFuture.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketIndex.obj : error LNK2001: unresolved external symbol "public:
__thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketIndexFuture.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ClientSubscriptionItem.obj : error LNK2001: unresolved external
symbol "public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>DatabaseLoaderThread.obj : error LNK2001: unresolved external symbol
"public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketAlert.obj : error LNK2001: unresolved external symbol "public:
__thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>MarketCommodityFuture.obj : error LNK2001: unresolved external
symbol "public: __thiscall
ACE_Condition_Thread_Mutex::ACE_Condition_Thread_Mutex(class
ACE_Thread_Mutex const &,wchar_t const *,void *)" (??
0ACE_Condition_Thread_Mutex@@QAE@ABVACE_Thread_Mutex@@PB_WPAX@Z)
1>ProactorAcceptor.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>BloombergConnectionThread.obj : error LNK2019: unresolved external
symbol "public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t
const *,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z) referenced in
function __catch$?
decode_bad_header@BloombergConnectionThread@@IAEHPAUbb_msg_header_t@@@Z
$0
1>MainProactor.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ServerData.obj : error LNK2001: unresolved external symbol "public:
__thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const *,struct
ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ProactorTask.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ServerPerConnectionData.obj : error LNK2001: unresolved external
symbol "public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t
const *,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketObject.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketSpread.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ServerManagementThread.obj : error LNK2001: unresolved external
symbol "public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t
const *,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>TestBB.obj : error LNK2001: unresolved external symbol "public:
__thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const *,struct
ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketConfiguration.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketCurrencyFuture.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketIndex.obj : error LNK2001: unresolved external symbol "public:
__thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const *,struct
ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketIndexFuture.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ClientSubscriptionItem.obj : error LNK2001: unresolved external
symbol "public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t
const *,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>DatabaseLoaderThread.obj : error LNK2001: unresolved external symbol
"public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketAlert.obj : error LNK2001: unresolved external symbol "public:
__thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t const *,struct
ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>MarketCommodityFuture.obj : error LNK2001: unresolved external
symbol "public: __thiscall ACE_Thread_Mutex::ACE_Thread_Mutex(wchar_t
const *,struct ACE_mutexattr_t *)" (??
0ACE_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
1>ServerData.obj : error LNK2019: unresolved external symbol "public:
__thiscall ACE_Thread_Semaphore::ACE_Thread_Semaphore(unsigned
int,wchar_t const *,void *,int)" (??
0ACE_Thread_Semaphore@@QAE@IPB_WPAXH@Z) referenced in function
"public: __thiscall ProactorTask::ProactorTask(void)" (??
0ProactorTask@@QAE@XZ)
1>ServerData.obj : error LNK2019: unresolved external symbol "public:
__thiscall
ACE_Recursive_Thread_Mutex::ACE_Recursive_Thread_Mutex(wchar_t const
*,struct ACE_mutexattr_t *)" (??
0ACE_Recursive_Thread_Mutex@@QAE@PB_WPAUACE_mutexattr_t@@@Z)
referenced in function "public: __thiscall
ProactorTask::ProactorTask(void)" (??0ProactorTask@@QAE@XZ)
1>ProactorTask.obj : error LNK2019: unresolved external symbol "void
__cdecl __ace_assert(char const *,int,wchar_t const *)" (?
__ace_assert@@YAXPBDHPB_W@Z) referenced in function "private: int
__thiscall ProactorTask::create_proactor(enum ProactorType,unsigned
int)" (?create_proactor@ProactorTask@@AAEHW4ProactorType@@I@Z)
If I compile the DLL version I get similar unresolved externals.
If I compile the latest beta DLL version, it links but crashes in the
first constructor of ACE_Handle_Set or something similar. Yes I have
called ACE::init().
I have tried every combination of every build, and have yet to get
something working. Can anyone help please?
This is really frustrating as I wrote all the complex code in under 1
day - yet this is the second day I have spent trying to get ACE to
work.
Thanks,
Chris.
To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in
$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM
or in
$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM
in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness. If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.
Do you have wchar enabled when building ACE?
Regards,
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl
"Chris" <ch...@chrisbird.com> wrote in message
news:<1173344767.7...@h3g2000cwc.googlegroups.com>...
#include "ace/config-win32.h"
AREA/CLASS/EXAMPLE AFFECTED:
DLL build
Everything which creates a new handle.
SYNOPSIS:
Crash occurs - heap corruption.
DESCRIPTION:
The following code crashes with heap corruption:
ACE_NEW_RETURN (proactor_impl, ACE_WIN32_Proactor, -1);
I would try the static library, but that fails to compile with
unresolved externals.
> "Chris" <c...@chrisbird.com> wrote in message
Please help!
ACEd.dll!ACE_Handle_Set::reset() Line 33 + 0x3 bytes C++
> ACEd.dll!ACE_Handle_Set::ACE_Handle_Set() Line 102 C++
ACEd.dll!
ACE_Select_Reactor_Handle_Set::ACE_Select_Reactor_Handle_Set() + 0x32
bytes C++
ACEd.dll!ACE_Select_Reactor_Impl::ACE_Select_Reactor_Impl(bool
ms=true) Line 130 + 0x63 bytes C++
ACEd.dll!ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>::ACE_Select_Reactor_T<ACE_Reactor_Token_T<ACE_Token>
>(ACE_Sig_Handler * sh=0x00000000, ACE_Timer_Queue_T<ACE_Event_Handler
*,ACE_Event_Handler_Handle_Timeout_Upcall<ACE_Recursive_Thread_Mutex>,ACE_Recursive_Thread_Mutex>
* tq=0x00000000, int disable_notify_pipe=0, ACE_Reactor_Notify *
notify=0x00000000, int mask_signals=1, int s_queue=-1) Line 488 +
0x4d bytes C++
ACEd.dll!ACE_Asynch_Pseudo_Task::ACE_Asynch_Pseudo_Task() Line 15 +
0x6a bytes C++
ACEd.dll!ACE_WIN32_Proactor::ACE_WIN32_Proactor(unsigned int
number_of_threads=0, int used_with_reactor_event_loop=0) Line 51 +
0xa3 bytes C++
KatlaServer3.exe!ProactorTask::create_proactor(ProactorType
type_proactor=DEFAULT, unsigned int max_op=100) Line 58 + 0x37 bytes C
++
KatlaServer3.exe!ProactorTask::start(int num_threads=1, ProactorType
type_proactor=DEFAULT, unsigned int max_op=100) Line 135 + 0x10 bytes
C++
KatlaServer3.exe!ServerData::start_up() Line 277 + 0x1a bytes C++
KatlaServer3.exe!CElgonIndexServer::Run(int nShowCmd=1) Line 259 C+
+
KatlaServer3.exe!ATL::CAtlServiceModuleT<CElgonIndexServer,
101>::Start(int nShowCmd=1) Line 3627 + 0xc bytes C++
KatlaServer3.exe!ATL::CAtlServiceModuleT<CElgonIndexServer,
101>::WinMain(int nShowCmd=1) Line 3577 + 0xc bytes C++
KatlaServer3.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000,
HINSTANCE__ * __formal=0x00000000, wchar_t * lpCmdLine=0x00020b54, int
nShowCmd=1) Line 14 C++
> ...
>
> read more ยป- Hide quoted text -
>
> - Show quoted text -
You are probably not calling ACE::init() properly in your program. Please
try compiling/running all the examples in ACE_ROOT/tests. If these
compile/link/run fine then use one of the project files and tests as a
model for your application.
Thanks,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.sc...@vanderbilt.edu
Thanks, I will try doing this - as the demos work.
I do however get strange warnings about dll linkage when compiling my
code with ACE includes. I have essentially modified the Proactor_Test
project and added some functionality. Problems seemed to start when I
split the test into various .h and .cpp files - I suspected that
incorrect ordering of the includes or some conflict with windows
includes was happening somewhere.
My current project is a windows service - would I also be better
replacing my existing service code with the NT service framework
within ACE?
Thanks,
Chris.
On 8 Mar, 11:35, schm...@dre.vanderbilt.edu (Douglas C. Schmidt)
wrote:
>Thanks, I will try doing this - as the demos work.
Ok, great - that will make your life much easier!
>I do however get strange warnings about dll linkage when compiling my
>code with ACE includes. I have essentially modified the Proactor_Test
>project and added some functionality. Problems seemed to start when I
>split the test into various .h and .cpp files - I suspected that
>incorrect ordering of the includes or some conflict with windows
>includes was happening somewhere.
You may not be adding the Windows import/export macros properly.
Please see the discussion about how to do this properly in
C++NPv1/C++NPv2. There are also lots of examples in ACE on how to do
this.
>My current project is a windows service - would I also be better
>replacing my existing service code with the NT service framework
>within ACE?
Yes, that's a good idea too, but I recommend you first get things
compiling/linking/running properly!
Thanks,
Doug