home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 March / Chip_1998-03_cd.bin / zkuste / delphi / komprese / zip / DELZIP12.ZIP / CDEMO1.ZIP / TESTD.TXT < prev    next >
Text File  |  1997-09-28  |  686b  |  21 lines

  1.  
  2.  
  3. Question and Answer Database
  4.  
  5. Q:If I link to a .lib created with BC5 or BC5's implib, I 
  6. get an error message complaining about "Invalid OMF record."
  7. What am I doing wrong?
  8.  
  9. A: There is a difference in the object file format between
  10. BC5 and C++Builder. This difference was deliberately
  11. introduced to prevent problems when statically linking,
  12. and was necessitated by changes in the exception handling
  13. mechanism.
  14.  
  15. If you have a .DLL, you need to use C++Builder's implib
  16. to create a new .lib, which you can link to. If you have
  17. a static .LIB, you must recompile the source with C++Builder
  18. or wrap the .LIB inside of a .DLL, and then run the new
  19. implib on the .DLL.
  20.  
  21.