Applies To: |
|
Summary: |
Question: I am trying to use the CTAPI interface with the Borland C compiler. However I keep getting the error " Fatal: Bad object file 'ctapi.lib' near file offset 0 ". What is causing this error? |
Solution: |
To get the CTAPI to talk with a Borland C
executable you have to do the following:
1) Use the Borland utility IMPLIB to create a BC++ linkable library from the DLL (i.e. IMPLIB CTAPI.LIB CTAPI.DLL) 2) Modify the function entry point declarations in the header file a follows: /************** ENTRY POINT DECLARATIONS
********************************/ |
Keywords: |
Related Links
Attachments