Reputation: 1840
I am trying to make a DLL that runs as a plugin. The plugin depends on some exported symbols by the main binary, but I'd like to enforce symbol-resolution not by the compile-time linker, but rather the run-time linker ( at the time of LoadLibraryA() ).
Can I tell the linker somehow, "don't worry about your unresolved symbols, you can resolve those at runtime."
I would like to be able to recompile different versions of the binary but use a single dll. The name of the binary might change, but the exported symbols should remain constant.
Is there some way to use an "exp" file to get this behavior? Is there some other way?
Upvotes: 1
Views: 404
Reputation: 18248
This should be possible, I think, using the .exp
files. See Working with Import Libraries and Export Files.
Upvotes: 1