Ray Tayek on Mon, 20 Feb 2006 01:22:56 -0600 (CST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
[ALACPP] pure c++ in .not dll? |
hi, trying to get some oure c++ into a dll so i can use nunit on it. trying to put the code below into a .not assembly gets unresolved externs: pure error LNK2020: unresolved token (0A000006) _CxxThrowException pure error LNK2020: unresolved token (0A000015) delete pure fatal error LNK1120: 2 unresolved externalsi am using visual studio 2003 in the labs at school. they also have vc++ 6.0. but i have been away from the m$ world for many years and have no clue how to resolve this. this has to do with linking in the crt lib. there are some clues at http://support.microsoft.com/?kbid=814472, but it looks like a research project.
what i would like to do is to package the pure c++ code into a pure c++ dll. and then put the managed tests that nunit will find into another .not assembly.
is anyone at all familiar with this? any pointers will be appreciated. #pragma once #include <iostream> #include <string> #include <map> namespace pure { class Foo { std::map<std::string *,Foo *> m; }; } --- vice-chair http://ocjug.org/ _______________________________________________ alacpp mailing list alacpp@xxxxxxxxxxx http://lists.ellipsis.cx/mailman/listinfo/alacpp