For Programmers: Free Programming Magazines  


Home > Archive > VC STL > March 2005 > Re: Reg. Access Violation When Accessing STL Object between a DLL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Reg. Access Violation When Accessing STL Object between a DLL
Muthu Nivas

2005-03-01, 4:00 am

"Doug Harrison [MVP]" wrote:
>
> Link all your modules (EXE and DLL) to the same CRT DLLs, and you won't have
> to worry about this explicit instantiation and exporting approach. You also
> won't have to worry about the modules using different heaps, C-level file
> descriptors, errno, etc. However, if you are using VC6, you need to apply
> the fixes to <xtree> mentioned here:
>
> http://www.dinkumware.com/vc_fixes.html
>
> --
> Doug Harrison
> Microsoft MVP - Visual C++
>


Thanks. I'm using VC6.0 SP5 still did I need to apply the <xtree> fix?

Tom Widmer

2005-03-01, 9:00 am

Muthu Nivas wrote:
> "Doug Harrison [MVP]" wrote:
>
>
>
> Thanks. I'm using VC6.0 SP5 still did I need to apply the <xtree> fix?


Yes, none of the fixes made it into service packs. You should apply all
of the fixes, since they all fix quite serious bugs.

Tom
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com