🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #340

DirectInput not compatible with borland?

#340
From: 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
Technical Details
Message-ID: <420f1150$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,c17971744f07154d,start
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "teroni" <teroni@iname.com>
Sender: "teroni" <teroni@iname.com>
Reply-To: "teroni" <teroni@iname.com>
Subject: DirectInput not compatible with borland?
Newsgroups: borland.public.cppbuilder.multimedia
X-User-Info: 66.82.9.39     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <420f1150$1@newsgroups.borland.com>
Date: 13 Feb 2005 00:35:28 -0800
X-Trace: newsgroups.borland.com 1108283728 207.105.83.66 (13 Feb 2005 00:35:28 -0800)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail