As you say, "C++", not "C++/CLI", I assume
AAA.dll
is a native (unmanaged) library, and the problem is most likely in the dependencies of this library.
You can find out the dependency using Dependency Walker, see
http://dependencywalker.com/[
^].
So, there can be two way of resolving the problem of dependencies:
1) Re-write AAA.dll to eliminate the dependencies — highly recommended but not always possible.
2) Making the software you AAA.dll depends on a prerequisite. The thing is: most likely, your library depends just on VS 2010 libraries.
You course, deployment of the software which depends on VS 2010 cannot be even considered.
Instead, your prerequisites can be
Microsoft Visual C++ 2010 Redistributable Package:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84[
^].
—SA