For Programmers: Free Programming Magazines  


Home > Archive > VC STL > August 2005 > set, map requres MSVCP60.DLL. what the hell is that?









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 set, map requres MSVCP60.DLL. what the hell is that?
German Koninin

2005-08-12, 9:03 am

Good afternoon all.
In my project I'm using set. No when we started to distribute the product I
found out that on some machines it is not working correctly. I investigated
a problem and found out that there is no MSVCP60.DLL on some Windows 2000
machines. On most of them this library exists, but on some of them it
doesn't. I don't want to include this library in my distribution package
because my application have to be small. anyway I started to investigate why
MSVCP60.DLL is there and I found out that when I start using Set or Map it
comes to my dependencies. Vector does not requre MSVCP60. So why it is like
that? Why STL whants me to use dome MSVCP library? anyway i'm just stumped
with my problem. Please teach me how to use Set and Map without MSVCP60
library installed on client's machine.

Thanks a lot.

German Koninin


Ulrich Eckhardt

2005-08-12, 9:03 am

"German Koninin" <germanD0Tkoninin/_\TcolumbuscrmD0|com> wrote:
> In my project I'm using set. No when we started to distribute the product
> I found out that on some machines it is not working correctly. I
> investigated a problem and found out that there is no MSVCP60.DLL on some
> Windows 2000 machines.


msvcp60.dll contains parts of the C++ standardlibrary, so if you use those
parts you either need to distribute this lib or point the installer to
where it can get it.

I don't think there's a way around this.

Uli

Kyle Alons

2005-08-12, 9:03 am

"German Koninin" <germanD0Tkoninin/_\TcolumbuscrmD0|com> wrote in message
news:eL$x1uynFHA.2772@TK2MSFTNGP10.phx.gbl...
> Good afternoon all.
> In my project I'm using set. No when we started to distribute the product
> I
> found out that on some machines it is not working correctly. I
> investigated
> a problem and found out that there is no MSVCP60.DLL on some Windows 2000
> machines. On most of them this library exists, but on some of them it
> doesn't. I don't want to include this library in my distribution package
> because my application have to be small. anyway I started to investigate
> why
> MSVCP60.DLL is there and I found out that when I start using Set or Map it
> comes to my dependencies. Vector does not requre MSVCP60. So why it is
> like
> that? Why STL whants me to use dome MSVCP library? anyway i'm just stumped
> with my problem. Please teach me how to use Set and Map without MSVCP60
> library installed on client's machine.
>
> Thanks a lot.
>
> German Koninin
>



Choose a non-DLL option at 'Project | Settings | C/C++ | Code Generation |
Use run-time library'

--
---------------------------------------------------
Automate your software builds with Visual Build Pro
http://www.visualbuild.com/


German Koninin

2005-08-12, 9:03 am

That is strange. I have some project where I was using Set and Map with no
problems. I just see compiled exe file and know that here are maps and sets
inside and there is no such dependency like MCVCP60. The only think I did is
that I installed latest Platform SDK instead of my old Platform SDK from
year 2001.

"Ulrich Eckhardt" <eckhardt@satorlaser.com> wrote in message
news:9bhus2-8fc.ln1@oc.satorlaser-intern.com...
> "German Koninin" <germanD0Tkoninin/_\TcolumbuscrmD0|com> wrote:
product[color=darkred]
some[color=darkred]
>
> msvcp60.dll contains parts of the C++ standardlibrary, so if you use those
> parts you either need to distribute this lib or point the installer to
> where it can get it.
>
> I don't think there's a way around this.
>
> Uli
>



German Koninin

2005-08-12, 9:03 am

But my project is DLL. It doesn't work if I change this option.

"Kyle Alons" <reply@to.newsgroup> wrote in message
news:eOEAYoznFHA.2904@tk2msftngp13.phx.gbl...
> "German Koninin" <germanD0Tkoninin/_\TcolumbuscrmD0|com> wrote in message
> news:eL$x1uynFHA.2772@TK2MSFTNGP10.phx.gbl...
product[color=darkred]
2000[color=darkred]
it[color=darkred]
stumped[color=darkred]
>
>
> Choose a non-DLL option at 'Project | Settings | C/C++ | Code Generation |
> Use run-time library'
>
> --
> ---------------------------------------------------
> Automate your software builds with Visual Build Pro
> http://www.visualbuild.com/
>
>



Tom Widmer [VC++ MVP]

2005-08-12, 9:03 am

German Koninin wrote:
> Good afternoon all.
> In my project I'm using set. No when we started to distribute the product I
> found out that on some machines it is not working correctly. I investigated
> a problem and found out that there is no MSVCP60.DLL on some Windows 2000
> machines. On most of them this library exists, but on some of them it
> doesn't. I don't want to include this library in my distribution package
> because my application have to be small. anyway I started to investigate why
> MSVCP60.DLL is there and I found out that when I start using Set or Map it
> comes to my dependencies. Vector does not requre MSVCP60. So why it is like
> that? Why STL whants me to use dome MSVCP library? anyway i'm just stumped
> with my problem. Please teach me how to use Set and Map without MSVCP60
> library installed on client's machine.


Get the fix to <xtree> from here:
http://www.dinkumware.com/vc_fixes.html, and with a bit of luck your
problems will disappear. The default VC6 implementations of set and map
use a thread lock (the _Lockit class) which needs MSVCP60.DLL in a
multithreaded CRT DLL build; the fixed version doesn't need them, so you
should hopefully lose the dependency.

Tom
German Koninin

2005-08-12, 5:05 pm

Thanks a lot!
I'll try it on Monday. Thanks!

"Tom Widmer [VC++ MVP]" <tom_usenet@hotmail.com> wrote in message
news:OoMo96znFHA.632@tk2msftngp13.phx.gbl...
> German Koninin wrote:
product I[color=darkred]
investigated[color=darkred]
2000[color=darkred]
why[color=darkred]
it[color=darkred]
like[color=darkred]
stumped[color=darkred]
>
> Get the fix to <xtree> from here:
> http://www.dinkumware.com/vc_fixes.html, and with a bit of luck your
> problems will disappear. The default VC6 implementations of set and map
> use a thread lock (the _Lockit class) which needs MSVCP60.DLL in a
> multithreaded CRT DLL build; the fixed version doesn't need them, so you
> should hopefully lose the dependency.
>
> Tom



Sponsored Links







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

Copyright 2008 codecomments.com