STL in class library project (DLL)
Posted on 2004-11-28
Does anyone had tried to include ANY of the following lines in their C++.net class library project:
im getting LNK2020 errors
(error LNK2020: unresolved token(0A000006) _CxxThrowException)
(error LNK2020: unresolved token(0A000015) delete)
Im using VS .net 2003 with .net 1.1 framework and Winxp with sp2 RC1.
The story behind:
Actually, i don't get any error when I included those lines IF im going to create a C++.net windows application. And because FolderBrowseDialog don't seem to work with C++ .net, I wanted to create a DLL so that my GUI is C# or VB.net based and my architecture is lying behind a DLL.. because in that VB.net and C#, FolderBrowseDialog works just fine. I really wonder why. Could anyone answer why? The FolderBrowserDialog doesn't seem to display correctly in C++.net but works just fine in other languages (e.g. it doesn't shows up the treeview).