"Conrad Weyns" <we***@online.no> wrote in message
news:mQ*******************@news4.e.nsc.no...
"Howard" <al*****@hotmail.com> wrote in message
news:be********@dispatch.concentric.net...
"Dmitri Zhukov" <di*******@mail.ru> wrote in message
news:be**********@alpha2.radio-msu.net... This topic was widely discussed before but somehow I still have no
idea how to fix the problem.
I've a C++ class which resides inside DLL and has some STL members inside. The EXE uses STL vector of my classes and get run time crash on the
destructors in the RTLValidateHeap function.
The knowledge base Q122675 article explains the situation. However the
solution offered by Microsoft on declaring constructor and destructor
inline does not work. I have the problem on Intel Compiler and STLPort's
version of STL.
You'd be much better off looking on the microsoft news server
(news.microsoft.com) for a newsgroup that can address this issue. This
is VERY Microsoft-specific stuff! (For one thing, we haven't the faintest
idea what that problem or solution was that you mention, so we've no way to
comment on how it might or might not help you.)
I don't see it this as a MS speciffic issue. It's a common hassle when
exchanging objects across "build" bounderies. Under Windowze, this is
typically between an exe and a dll or between dlls. On an another os this
may involve shared libraries instead.
Well, since he's talking about a Microsoft knowledge base article that deals
with a DLL, running under Windows, and since we have no idea what that
article describes as the problem or solution, wouldn't you think that their
newsgroups might be a better source of info on how to fix this particular
problem than a newsgroup devoted to the C++ language?
(And a little more info than what was provided would also be
helpful...nobody should have to go hunting for a MS knowledge-base article
just to answer somebody else's question.)
-Howard