EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error LNK2005

Also by EldoS: Callback File System
Create virtual file systems and disks, expose and manage remote data as if they were files on the local disk.
#32564
Posted: 03/10/2015 04:41:45
by RD-Agent Team  (Standard support level)
Joined: 07/02/2008
Posts: 11

I ran into LNK2005 error. Could you Please help me solve this problem?

The error message is shown below.
cbproc.lib(cbproc.obj) : error LNK2005: EvtLogSourceName already defined in CbFlt3.lib (cbfltapi.obj)
#32565
Posted: 03/10/2015 04:56:30
by Eugene Mayevski (EldoS Corp.)

This is a known problem of C++ -- you can't link several of our driver-based products to one module in C++. This is because each product includes a copy of several backend libraries of ours.

The only resolution is to put the libraries and the code that uses them to separate DLL modules of your application.

The problem doesn't happen with .NET APIs cause the libraries there are isolated in assemblies (.NET DLLs).

In VCL API the problem will most likely happen as well.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2917 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!