Re: Can we use dlls build with VS2005 with old apps?
yevvi@yahoo.com wrote:
My question is, can previously built apps use my new dlls build with
vs2005?
What kind of interface do your DLLs expose? If it's plain C API, or
COM-based interface, chances are high they would work. If you are
exporting C++ classes from DLL, your chances are slim to none.
It would be really important to make it work, because
otherwise we would have to ask all our customers to rebuild their apps
with vs2005. For now, when i try to build a sample application with
vs2003 and link it with dlls build with vs2005, the build is
successful but at runtime i get an error "could not find msvcr80.dll".
The easiest way around that is probably to link your DLLs against static
CRT: Project | Properties | C/C++ | Code Generation | Runtime Library =
Multithreaded (or Multithreaded Debug, when doing debug build).
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925