 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
John Harrison Guest
|
Posted: Sat Feb 28, 2004 8:46 am Post subject: Re: template problem in vc6 |
|
|
"stdan" <stdanley (AT) sina (DOT) com> wrote
| Quote: | hi,
i would like to export some class in a dll,and use in other dll. these
class include members which use std template elements like map,and
vector.
it worked fine in aix env,but crashed frequently after i compile using vc6
and running on a windows box
anyone met such problems?
|
If your code worked correctly with one compiler but not with vc6 then it
probably isn't a language problem but a compiler problem. So the right place
to ask is on a compiler group, not a language group.
Try news:microsoft.public.vc.stl, would seem to be exactly the right group
for this question.
john
|
|
| Back to top |
|
 |
Christoph Rabel Guest
|
Posted: Sat Feb 28, 2004 11:00 am Post subject: Re: template problem in vc6 |
|
|
stdan wrote:
| Quote: | i would like to export some class in a dll,and use in other dll. these
class include members which use std template elements like map,and
vector.
it worked fine in aix env,but crashed frequently after i compile using vc6
and running on a windows box
anyone met such problems?
|
Please ask this in a microsoft VC group. And show them at
least your interfaces and give them some details, otherwise
they can only make wild guesses.
hth
Christoph
|
|
| Back to top |
|
 |
Pete Becker Guest
|
Posted: Sat Feb 28, 2004 2:40 pm Post subject: Re: template problem in vc6 |
|
|
stdan wrote:
| Quote: |
hi,
i would like to export some class in a dll,and use in other dll. these
class include members which use std template elements like map,and
vector.
it worked fine in aix env,but crashed frequently after i compile using vc6
and running on a windows box
anyone met such problems?
|
Code that "worked fine" with one compiler but not with another may or
may not be correct. Make sure you've got the <xtree> patch from
www.dinkumware.com/vc_fixes.html, and if you still have problems, try to
reduce the code to a small sample that compiles and runs and illustrates
the problem, and post it here.
--
Pete Becker
Dinkumware, Ltd. (http://www.dinkumware.com)
|
|
| Back to top |
|
 |
stdan Guest
|
Posted: Sat Feb 28, 2004 4:38 pm Post subject: template problem in vc6 |
|
|
hi,
i would like to export some class in a dll,and use in other dll. these
class include members which use std template elements like map,and
vector.
it worked fine in aix env,but crashed frequently after i compile using vc6
and running on a windows box
anyone met such problems?
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|