Hi All,
I'm trying to create a simulation test harness that stubs out interface functionality, so that I can automate and view my results. So, I have a production static library I'll call Production.lib, and I have a stubs static library, called Stubs.lib. I create a unit test harness that links in both Production.lib and Stubs.lib. Production.lib contains a .obj file, I'll call Interface.obj, that I would like to stub out with the same implementation in Stubs.lib. However, at link time, I get a bunch of "symbol redefined" link error #10056. I found a way to do symbol preemption using dll's, but I like using static libraries. Is there any way to achieve this?
Thanks,
Bill