Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error LNK2019: unresolved external symbol "public: __thiscall std::_Lockit::~_Lockit(void)"

257 views
Skip to first unread message

Nickolay Pakoulin

unread,
Apr 16, 2003, 11:10:08 AM4/16/03
to
Dear All!

I have to port an STL application from Windows 2000 to Windows CE 4.1
When I build my app as single-threaded (compiler switch /ML), it compiles
and links OK
Problem arises when I build as a multithreaded application (compiler switch
/MT)
It still compiles, but no longer links. I have a sample console application
that demonstrates the case

Any suggestions/solutions?

Sample:
----------------------------------------------------------------------------
------------------------
#include <map>

std::map<int, int> someMap;

void main(){}

Russ Keldorph [MS]

unread,
Apr 16, 2003, 12:22:21 PM4/16/03
to
This is a bug in the CE STL implementation. If you have Visual C++ 6.0, the
CRT sources provide an implementation of std:_Lockit that should work for
you. The file is VC98\CRT\SRC\XLOCK.CPP.

--
Russ Keldorph
russ...@online.microsoft.com (Remove the 'online.' from my address to reach
me.)

This posting is provided "AS IS" with no warranties, and confers no rights.
OR if you wish to include a script sample in your post please add "Use of
included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm"


"Nickolay Pakoulin" <np...@mail.ru> wrote in message
news:ewNzhoCB...@TK2MSFTNGP12.phx.gbl...

Nickolay Pakoulin

unread,
Apr 17, 2003, 4:46:05 AM4/17/03
to
Thank you, Russ!

It seems to work. At least it compiles and links :)

Nickolay

"Russ Keldorph [MS]" <russ...@online.microsoft.com> wrote in message
news:u3nfdRDB...@TK2MSFTNGP12.phx.gbl...

0 new messages