471,066 Members | 1,164 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,066 software developers and data experts.

wrapping unmanaged classes and stl

I have an unmanaged C++ dll that exports 2 classes and a stl list. I've had no trouble writting wrapper classes around the two exported classes with managed C++, but one class wants a list of pointers as a parameter

Unmanaged method
int Sum(MYVALUE_LIST list)

when i try to use MYVALUE_LIST and pass it to the unmanaged object i get a linker error
MFCSumGenerator_Managed.obj : error LNK2001: unresolved external symbol "public: __thiscall std::list<class CMyValue *,class std::allocator<class CMyValue *>>::list<class CMyValue *,class std::allocator<class CMyValue *>>(void)" (??0?$list@PAVCMyValue@@V?$allocator@PAVCMyValue@@ @std@@@std@@$$FQAE@XZ

Any help or direction on this would be greatly appreciated.
Nov 17 '05 #1
0 850

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by David Kantowitz | last post: by
reply views Thread by Arthur Roodenburg | last post: by
1 post views Thread by Achim Domma (Procoders) | last post: by
5 posts views Thread by Lee Crabtree | last post: by
6 posts views Thread by Gerhard Prilmeier | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.