Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Window Commands for GameMaker

Check/disable/dispatch window commands in GameMaker · By YellowAfterlife

Window not responding to functions

A topic by narnianguy created Mar 16, 2022 Views: 335 Replies: 6
Viewing posts 1 to 2
(1 edit)

I imported the project and ran it, and can't get any of the functions to do anything except for updating the log.

And I also got a bunch of these in the output:

LoadLibraryW X:\window_command_hook_DD7E629_VM\window_command_hook.dll failed with error code 126

This for instance is supposed to maximize the game window, right?

window_command_run(window_command_maximize);

And I get no response from the game window, whatsoever

Developer

If you are using a recent GM version and have “use x64 runtime” enabled in Game Options - Windows, you’ll have to compile the DLL yourself to target x64.

Thank you so much for answering so quickly. Now it works like a charm!

Is the recompiled x64 DLL allowed to be shared? I have spent hours trying to figure out where to even start because I don't know how to and nothing I'm searching for is giving me helpful instructions on how to actually recompile it myself

Developer

The extension is open-source, go ahead

How can I recompile the DLL? Can you do that from gamemaker or should I get to the source code and build the dll on visual studio? If thats the case where can I find the source code of the extension?

Developer(+1)

In Visual Studio. The link to source code is in the first line of the description.