Click here to Skip to main content
15,883,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
in c++ DLL: if I change the implementation of the function, and it's header does not change, should I need to recompile all of the dependent dlls?
Posted

1 solution

You should not need it. It is the advantage of interface stability: as long as the interface stays the same the external code isnt harmed from changes inside. Exception is, if the function has a changed functionality as changed error or return codes.

But you need the new dll to get called ;-)
 
Share this answer
 
Comments
Stefan_Lang 25-Feb-15 4:41am    
The end of your first paragraph implies that a recompile is necessary if the implementation change results in different results. this is definitely not correct, nor would I consider that an exceptional case: in fact, the point of changing an implementation is to get different results as a rule - if that wasn't your purpose in the first place, why change at all?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900