README.txt 1.4 KB

1234567891011121314151617181920212223242526
  1. .lib & .def files to link an MSVC project against the standard DLL build with BCB.
  2. Please note that this version is created for libmng 1.0.5, but should work with
  3. 1.0.6 as there were no API changes between the two versions.
  4. These files are courtesy of Alex Volkov. Here's what he had to say about it:
  5. -------------------------------------------------------------------------------
  6. That reminds me, I remade the MSVC libmng.lib for linking to the
  7. bcb-generated dll. The .lib and its corresponding .def are attached. The
  8. .def I generated by simply dumping all the exports from the bcb .dll and
  9. later added the .def to the contrib/msvc/win32dll project. The .def is
  10. necessary for MSVC to name the imports correctly, otherwise it produces
  11. mangled symbol names. What is ironic is that it is not necessary to
  12. completely build the dll with msvc -- you need just the resulting .lib --
  13. but you still have to setup the entire project for building the dll because of
  14. the stdcall calling convention. The resulting .lib is not perfect -- the hints
  15. are all off, of course -- but it does the job. In any case, the win32 exes
  16. linked with the attached .lib in fact work with bcb-generated dll just fine. I
  17. know the building process can be somehow automated, but I have not had the time
  18. to work on that, and for me it was a one-shot deal.
  19. Alex.
  20. -------------------------------------------------------------------------------