Thread: PRS-500 Reader internals
View Single Post
Old 10-18-2006, 08:40 AM   #63
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
There's a simpler way:
1) run "dumpbin /exports ebookusb.dll /out:ebookusb.def"
2) Edit ebookusb.def to look like following:
Code:
LIBRARY ebookusb.dll
EXPORTS
  _CheckBlock@0
  _UsbBeginEnd@4
  _UsbBuffFree@4
...etc
3) run "lib /def:ebookusb.def"
4) use ebookusb.lib for linking.
igorsk is offline   Reply With Quote