Quote:
Originally Posted by geekraver
Note that you *will* need to modify your existing ebookUsb.dll, changing the name to ibookUsb.dll, and changing the first letter of each entry point to be an I (so the Usb* functions become Isb* and the CheckBlock function becomes IheckBlock).
|
You can avoid the binary editing: use run-time dynamic linking (LoadLibrary/GetProcAddress). Another possibility could be (I am not 100% sure about it) to create a custom export lib with exports renaming like
Code:
; ibookUsb.def
LIBRARY "ibookUsb"
EXPORTS
...
IheckBlock = CheckBlock
...