Allegro.cc - Online Community

Allegro.cc Forums » Off-Topic Ordeals » XINPUT3_1.dll

This thread is locked; no one can reply to it. rss feed Print
XINPUT3_1.dll
William Labbett
Member #4,486
March 2004
avatar

I've got a bit further with things.

I'm managing to make my program but it won't run because the computer can't find some dll's. The first one it wanted was libwinpthread-1.dll which I found in the

C:\msys64\mingw64\bin

folder.

I guess I need to add that to my system vaiables right?

What would I do?

set PATH=C:\msys64\mingw64\bin%PATH%

?

I put that file in the directory with my executable in it as a temporary measure but now it says it needs

XINPUT3_1.dll

which I haven't found anywhere.

The forums are bad for searching without a specifc username who made the post so I've got nowhere using the search facility. I've googled about, but it mostly games players who ask about it, not programmers.....

.............hence why I'm asking here.

Please help

Edgar Reynaldo
Major Reynaldo
May 2007
avatar

William Labbett
Member #4,486
March 2004
avatar

Thanks god there's still a few people on allegro.cc.

Thanks Edgar.

/* EDIT */

I searched for it but apparently the file doesn't exist on my machine.

hhmmmm

How am I going to find it?

Does anyone else who used Windows 8 know where I can get the file?

Elias
Member #358
May 2000

You never installed DirectX on your computer. Get it here:

http://www.microsoft.com/en-us/download/details.aspx?id=35

Usually when you ship a game, the installer would take care of downloading and installing DirectX if it is not present.

--
"Either help out or stop whining" - Evert

William Labbett
Member #4,486
March 2004
avatar

I did install this :

MICROSOFT DirectX SDK (June 2010)

Perhaps it's too old?

Thomas Fjellstrom
Member #476
June 2000
avatar

So long as it supports DX9, you'll be ok.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

William Labbett
Member #4,486
March 2004
avatar

I checked for that dll and didn't have it.

After I downed the other DirectX runtime Elias posted a link to everything worked.

Does anyone know how to close an allegro display on Windows 8?

Thomas Fjellstrom
Member #476
June 2000
avatar

Programmatically or with the mouse? You can al_destroy_display to close it programmatically, and just use the mouse to hit the X button to close it. Least I think the default X/close handler closes the display. If it doesn't you can handle the ALLEGRO_EVENT_DISPLAY_CLOSE event.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

William Labbett
Member #4,486
March 2004
avatar

Perhaps I've got it on fullscreen because there is no X button.

Thomas Fjellstrom
Member #476
June 2000
avatar

Yeah in fullscreen case, you need to destroy the display to close it.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Go to: