🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
2 messages
2 total messages Started by teroni Sun, 13 Feb 2005 08:35
DirectInput not compatible with borland?
#340
Author: teroni
Date: Sun, 13 Feb 2005 08:35
20 lines
1459 bytes
lpdijoy->SetDataFormat(&c_dfDIJoystick)

Trying to link this line of code produces this error:
[Linker Error] Unresolved external '_c_dfDIJoystick' referenced
from D:\MY DOCUMENTS\PROGRAMMING\MY EXAMPLES\JOYSTICK\MAIN.OBJ.

Linked LIB files are ddraw.lib, dinput.lib, dinput8.lib.

I have searched everywhere on the internet about this and
the only conclusion I can come to is that Borland Builder is
simply not compatible with DirectX (due to Microsoft I'm sure).

I am looking for a way to read a joystick using DirectX. If
anyone has overcome this problem, let me know. I am not
interested in components (unless it is free and comes with 
source). I want to learn how to do it myself.

Thanks,
teroni
Re: DirectInput not compatible with borland?
#341
Author: Bruce Salzman
Date: Mon, 14 Feb 2005 16:51
17 lines
1404 bytes
> lpdijoy->SetDataFormat(&c_dfDIJoystick)
>
> Trying to link this line of code produces this error:
> [Linker Error] Unresolved external '_c_dfDIJoystick' referenced
> from D:\MY DOCUMENTS\PROGRAMMING\MY EXAMPLES\JOYSTICK\MAIN.OBJ.
>
> Linked LIB files are ddraw.lib, dinput.lib, dinput8.lib.
>

Use the command line utility implib.exe to generate Borland
compatable .LIB files for those DLLs.

This site may be of  interest:
http://clootie.narod.ru/cbuilder/index.html#DX_CBuilder_SDKs

--
Bruce
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads