EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error LNK2005

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
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)
Posted: 03/10/2015 04:56:30
by Eugene Mayevski (Team)

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



Topic viewed 5666 times

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


Back to top

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

Got it!