J
Jonathan Wilson
I have the following:
1.A C++ dll (with no managed code whatsoever) compiled with visual C++ 2005
that links to libcmt.lib as its runtime library.
and 2.A piece of binary code (also compiled with visual C++ 2005) that I
cant change or have changed which calls a certain c runtime function (for
arguments sake, lets call it xyz)
What I want to do is to tell the linker "don't use the implementation of
xyz inside libcmt.lib, use the implementation of xyz inside myobj.obj
instead." Is this possible? If so, how?
Note that this has to be something that can be done automatically without
any extra human steps other than the usual "build-build solution" and it
must not require modifying the visual C++ install (e.g. recompiling or
modifying the CRT is out of the question) or the binary part mentioned above.
1.A C++ dll (with no managed code whatsoever) compiled with visual C++ 2005
that links to libcmt.lib as its runtime library.
and 2.A piece of binary code (also compiled with visual C++ 2005) that I
cant change or have changed which calls a certain c runtime function (for
arguments sake, lets call it xyz)
What I want to do is to tell the linker "don't use the implementation of
xyz inside libcmt.lib, use the implementation of xyz inside myobj.obj
instead." Is this possible? If so, how?
Note that this has to be something that can be done automatically without
any extra human steps other than the usual "build-build solution" and it
must not require modifying the visual C++ install (e.g. recompiling or
modifying the CRT is out of the question) or the binary part mentioned above.