C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

template problem in vc6

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
John Harrison
Guest





PostPosted: Sat Feb 28, 2004 8:46 am    Post subject: Re: template problem in vc6 Reply with quote




"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





PostPosted: Sat Feb 28, 2004 11:00 am    Post subject: Re: template problem in vc6 Reply with quote



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





PostPosted: Sat Feb 28, 2004 2:40 pm    Post subject: Re: template problem in vc6 Reply with quote



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





PostPosted: Sat Feb 28, 2004 4:38 pm    Post subject: template problem in vc6 Reply with 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?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.