DXGUID.LIB For Borland C++

Author : Joop Vossers
Date : 04 March 1997
Draft : 1.0

Disclaimer: This document is created as an aid for those who are experiencing difficulty using the DirectX SDK (version 3) with Borland C++. Although I have taken care to ensure that this document will resolve the technical issues at hand, I cannot be held responsible for losses or damages resulting from the use of this document.

Tested with: Borland C++ 4.52 & DirectX 3 SDK

The "dxguid.lib" presented here contains all the DirectX GUIDs. I have also put the predefined variables "c_dfDIMouse" and "c_dfDIKeyboard" into it. In the Microsoft this two variables are stored in "dinput.lib". In our case "dinput.lib" is an Import Library.

INITGUID vs. DXGUID.LIB
=======================
You can generate the DirectInput GUIDs yourself by defining INITGUID. However, if you want to avoid generating all of the DirectInput GUIDs (including the ones you don't use), link to DXGUID.LIB instead of defining INITGUID.

Click here to download dxguid.lib.

Here is the scrawl example which works with Borland C++. To create "dinput.lib" run implib on dinput.dll.

Scrawl

Add following files in project:

  • scrawl.cpp
  • scrawl.rc
  • ..\..\blib\dinput.lib
  • ..\..\blib\dxguid.lib

    © 1997 jovo@hotmail.com