Q: How do I connect to DBMaker using Borland C++ 5.02?

A: Borland Lib format is not compatible with Microsoft Lib format. The difference is between OML in the object file's debug information and COFF, so we must build a lib format which will be recognized by Borland. Use the following method to create the file dmapi30.lib for Borland lib format:

  1. Convert dmapi30.lib to Borland lib format, c:\bc5\bin\implib dmapi30.lib c:\cwin95\system\dmapi30.dll

  2. Compile example file c:\bc5\bin\bcc32 -I c:\dbmaker\30b2\include -c ex1.c create ex1.obj

  3. Link execution file c:\bc5\bin\bcc32 -e ex1 ex1.obj dmapi30.lib

    create ex1.exe to execute exactly.