473,385 Members | 2,180 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Mixed DLL's - Link Errors (LNK2020 unresolved symbols) delete

Hello all,

I'm trying to create a mixed DLL using VC++ .NET 2003.
Specifically, I have some TAO CORBA .cpp files that I wish to include
as native object code in the DLL and some managed classes that will use
the objects and static methods within the TAO .cpp files.

I've done some homework, and I know enough to:
- dissable /clr for the TAO .cpp files
- dissable precompiled headers for the TAO .cpp files
- dissable the 'Properties -> C++ -> Advanced -> Force #using ->
Inherit from
project' option for each .cpp file.
- remove all references from the DLL project and set any referenced
..lib files, such as System.lib, mscorlib.lib, in 'Properties -> C++ ->
Advanced -> Force #using ' for the entire project.

I get 2 unresolved symbols errors from the linker when I build the
project:
LNK2020 unresolved symbol delete
LNK2020 unresolved symbol delete[]

These seem to be C related operators, so I'm guessin it has to do with
the CRT not being initialized or its appropriate lib file not being
included.

Would anyone have any info? It's greatly appreciated.

Chris

Nov 17 '05 #1
0 1343

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: David Kantowitz | last post by:
I am trying to wrap a native-C++ DLL in managed C++, to use in a .NET project. The native code is compiled into a DLL, and I have created a .def file that exports the mangled names of the...
2
by: Jacob Cohen | last post by:
Under VC7.1, I am trying to wrap a native-C++ DLL that contains C++ objects in a Managed-C++ class library for use in a C# project. I created and compiled the native DLL under VC7.1 as a Win32...
0
by: Nadav | last post by:
Hi, Introduction ***************** I am writing a mixed mode assembly, this assembly is used to expose performance critical functionality implemented through an unmanaged .lib file to the...
10
by: Ian Lazarus | last post by:
Hello. How do "unresolved token" link errors occur. How do I fix them? Linking... LINK : error LNK2020: unresolved token (0A000015) ??_7type_info@@6B@ LINK : error LNK2020: unresolved token...
0
by: Tim Hitchcock | last post by:
I am trying to convert an MFC DLL to mixed mode. When I followed the instructions on how to set it up and then compiled it, I got the warning message "LNK4098: defaultlib 'msvcrtd.lib' conflicts...
0
by: MPadovani | last post by:
Thanks in advance for anyone reading this. I have a body of MFC C++ code that I put a managed C++ wrapper around (using VS 2003) to expose as a .NET assembly (as a set of public classes) for a...
4
by: Jun | last post by:
anyone know how this error shows? how can i solve this? LINK : error LNK2020: unresolved token (0A0000EA) _AtlBaseModule LINK : error LNK2020: unresolved token (0A0000EC) atlTraceGeneral LINK :...
2
by: BG | last post by:
Hi, I have created a C++/CLI dll, say D, with VS 2005. Now I want to use it in a project, say P, which is a console solution of type managed C++. They both compile with /clr . D has a ref class...
7
by: | last post by:
All, I have a MFC Mixed mode dll which is working well. I am now tring to use a regular C++ class from another DLL which has a method called GetMessage. When I link I get 2 error messages: ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.