public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Having trouble with Win32API

BMM Archive · July 16, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Having trouble with Win32API
  • Original author: Jono99
  • Original date: May 13, 2018
  • Source thread: https://forums.rpgmakerweb.com/threads/having-trouble-with-win32api.95211/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > Learning Ruby and RGSSx

Summary

So, I'm new to using Win32API in my scripts and writing my own DLLs in general. I wrote a simple script which (right now) just loads the GetWindowPos method from the DLL. Here's the exact code I used to call it. Code: test = Win32API.new("Extended Features Window Core.dll", "GetWindowPos", "i", 'i') But when I try to run the project, I get this error.

Archived First Post

So, I'm new to using Win32API in my scripts and writing my own DLLs in general. I wrote a simple script which (right now) just loads the GetWindowPos method from the DLL. Here's the exact code I used to call it.
Code:
test = Win32API.new("Extended Features Window Core.dll", "GetWindowPos", "i", 'i')
But when I try to run the project, I get this error.
upload_2018-5-13_10-47-12.png

I don't really know what's going on in terms of why this error's going on at all, so if anyone could please help me with why this is going on and how I could fix it, that would be greatly appreciated. Also, here is the VS project for the DLL in case the problem lies there (which it probably does). http://www.mediafire.com/file/sdp9eqdcvah07rm/Extended features.zip

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#rgss-learning

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar