albert Shamsiyan
albert Shamsiyan

Reputation: 51

Dependency difference between Release & Debug

I'm trying to write a rather simple ActiveX using c++ code. Problem is that Release binary has dependency at MFC90.DLL and MSVCR90.DLL which does not apear at the Debug. How to attack this??

Upvotes: 5

Views: 248

Answers (2)

user208608
user208608

Reputation:

You can try statically linking MFC and the C++ runtime libraries, which might be desirable because then you won't have to hope users have the VC++ runtime redistributables installed.

Or you can install the VC++ redistributables that will install those shared libraries.

I believe you can also include those missing DLLs in your CAB file (assuming you're installing this as a download via a web browser), but you might as well try to statically link if you're going to do that.

Upvotes: 3

Mr. Boy
Mr. Boy

Reputation: 63816

Debug builds can still use release DLLs/libs, it just means you can't step into the code for those parts when debugging.

It's perfectly normal, unless I misunderstood the question?

Upvotes: 1

Related Questions