• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

dll

  1. Evanski

    SOLVED Need help with Resizing Swap chain, V-sync error, maybe an issue with .DLL?

    Alright so This is what im doing, I have a .dll that allows me to access and call windows OS functions, displaying popups, opening and closing the cd tray, ect.. When I call the cd tray to open or close, Game maker hangs and pauses until the cd tray is ready for a command. notice how the...
  2. Vulpes_Coders

    SOLVED Creating an external DLL for GMS in Rust

    Hi, some time ago I've made a pretty bad DLL for reading only ASCII symbols from any file in C/C++ and it is working just fine, but now I was wondering if it could be possible in another language, for example Rust. I menaged to compile simple DLL example printing "Hello, World!" written in Rust...
  3. mbeytekin

    SOLVED Sending a surface or buffer to a C++ DLL and getting processed image from it to a surface or buffer back

    I'm trying to send a surface to dll and process it in DLL, and after this get this processed image back. I tried send surface as buffer (argument as double) but it's not working. My mean goal is using opencv library in C++. Anyone can help please ?
  4. P

    Legacy GM Attempting to use Fortran dll with GMS1, having issues

    I have produced a dll with gfortran that performs a basic function (shown below) and have attempted to write code to interface with it but I get the classic 'error defining external function' when I attempt to define a function from it and I'm not sure why. I know the function is exposed as I've...
  5. C

    Windows Full-Screen Initialization Failure

    Whenever I launch my fullscreen game, if I Alt+Tab out, click anything on my other monitor, or otherwise just shift "focus" onto another program, my game will minimize. When I pull the game back up, it has failed to actually "fullscreen." It looks like a large border-less window with an inch or...
  6. C

    Legacy GM Looking for a fast game maker 8 screen capture dll

    I need a screen capture dll for game maker 8 or earlier. I have found one while digging around in "web.archive.org" but sadly isn't fast enough for my game/program thing. Note that i am looking for a dll that captures the entire screen and not just the window :)
  7. Bawat

    Windows Asynchronous C++ DLL Extension creation in Eclipse

    GM Version: GameMaker Studio 2.2.5.481 Target Platform: Windows Only Download: https://www.bawat.net/downloads/GameMakerStudioResources/DLLExampleUsage.yyz Links: https://forum.yoyogames.com/index.php?threads/getting-started-with-c-dll-extension-creation-in-eclipse.73728/ Links...
  8. Bawat

    GameMaker Getting started with C++ DLL Extension creation in Eclipse

    With the aim of getting improved performance, I set out on the odyssey to create a .DLL extension in C++. With no up to date resources on how to get this set up properly, and little memory of C++ it took me 2 days to get GMS2 and the DLL to communicate. The two goals of this guide and it's...
  9. Joe Ellis

    GM Community DLL Collection/Discussion

    Hi everyone, I've started this thread as a way for people to share and discuss dll's they've made with everyone. I started the thread a couple of weeks ago to share my anisotropic filtering and external texture loader dll, but I've changed the title as I wanted it to be a more general thread...
  10. Sammi3

    Should Dlls always return a value?

    I wasted perhaps almost half a day trying to debug my dll crashing (I even built a tool during that time that can compile GameMaker projects from the terminal so that I could run my game from vscode so that I could attach a debugger to see what was happening in the dll). The return value in...
  11. DukeSoft

    Discussion HRESULT: 0x80070057 / vertex_create_buffer_from_buffer / DLL buffer generation

    Just FYI - Since runtime 2.2.4 I've had issues where I got this message pop up: Win32 function failed: HRESULT: 0x80070057 Call: GR_D3D_Device->CreateBuffer at line 294 in file \VertexBuilderM.cpp and my vertex buffers were empty. My projects generates buffers through a DLL - GM creates...
  12. E

    GML How to add C++ functions into GameMaker using dll's?

    Hello, I want to use one of the functions from c++ that returns the string. Is this possible and how do I do that? Sadly but I couldn't find any good tutorials about making c++ dll extensions for GM:S.
  13. vdweller

    GameMaker Putting a n-bytes C++ value in a buffer for GM to read

    Hi all! I am working on a C++ dll's ability to return a char array. My first question is: The template specifies a return type of char pointer . Is there a problem if the function returns an unsigned char pointer? I did some tests and it seems like it has no problem, but maybe it won't be OK...
  14. E

    How to merge an extension DLL file with executable file?

    Hey people. How to merge C++ dll file with your game's exe file? Is that possible?
  15. O

    Windows Is there a way to send a string to external python program?

    I want to use Python for neural learning as it has very good libraries for it, so my idea is that GM2 send out strings to Python program and Python can control GM2 via key press events.
  16. S

    GameMaker Suggestion: Calling convention option for external functions

    Hello, I am very new to the world of GameMaker, I have just started using it since last week... But, I am fairly experienced in several of other programming languages (such as C++, C#, JavaScript). That being said, I am the one who prefers object-oriented programming. So, I started to learn...
  17. Q

    Windows File Association? Double clicking file opens file in Game?

    I am making a windows based program that saves and loads a custom ini file (not ".ini" diff extension) Is there any Dll's or any way at all to let windows know that this custom file ext is associated with my program? I would also then need a way to begin my program with opening this file. Is...
  18. P

    GML Reading the contents of a vertex bufferr

    I'm planning on creating a vertex buffer-building DLL in C++, to take advantage of multithreading while generating large and dynamic vertex buffers without editing any of GameMaker's source files (technically possible, according to this thread here). To do this, though, I need to know how Game...
  19. S

    Job Offer - General Offering Artwork and Desktop Extensions for cheap

    I especially like doing caves, monsters, skeletons, building interiors and anything horror themed. I'm not so great at making people 3D models or realistic animals. Or rather, realism is not my thing anyway, the closest you'll get to that is the 90's cgi vibe like what can be seen in the images...
  20. Metrollos

    GameMaker [SOLVED] Change Monitor

    While working on multiple screens, I noticed, that I can not find any effective way to change the monitor, where the game will be shown in fullscreen mode. The only way I figured out was: change the game to windowed mode drag the window to the other monitor / use window_set_position() to move...
Top