Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAMEHOOKER Runtime error "9"; SubScript out of range  (Read 4592 times)

0 Members and 3 Guests are viewing this topic.

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:November 20, 2025, 03:58:31 am
  • I want to build my own arcade controls!
MAMEHOOKER Runtime error "9"; SubScript out of range
« on: May 17, 2025, 03:03:56 am »
hello,

I am totally stuck with mamehooker.
Previously it works very well and  now  when it start , i have this  wonderful error :


Runtime error "9";
SubScript out of range


wonderful...
What  can i do? 

i already tried to reinstall it  but  it's not  ok.

I don't know if MH need  dependancies.. if  yes, which one ?

thank you.


« Last Edit: November 20, 2025, 03:50:10 am by ginzu »

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 770
  • Last login:November 28, 2025, 03:54:23 pm
  • I want to build my own arcade controls!
Re: MAMEHOOKER launching error
« Reply #1 on: May 17, 2025, 01:51:56 pm »
Did you try to launch as admin?

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:November 20, 2025, 03:58:31 am
  • I want to build my own arcade controls!
Re: MAMEHOOKER launching error
« Reply #2 on: May 21, 2025, 12:22:25 pm »
 Hello Endproduckt, ;)

It was  a windows very rare system issue. after  i launched a cmd line to repair my system ( trough cmd terminal ) , everything went back to normal and  i could launch MH  normally.

Thank you.

Subject closed

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:November 20, 2025, 03:58:31 am
  • I want to build my own arcade controls!
Re: MAMEHOOKER launching error
« Reply #3 on: November 17, 2025, 04:21:05 pm »
:) Bad news! I've had this error again for 3 days. I reinstalled my PC (keeping my applications and data), reinstalled all Visual C++, even installed Direct files, I also did an sfc scan, I don't even know everything I did to try to fix this error 9 "subscript out of range". I even ask IA who tells me to install vb6 (something I can't do on my win10) and I even checked the main dll and ocx files, he suggests I check in my SysWow64 folder. @howard Casto, if you're in the area, I would like some advice because I'm completely stuck on this one! And the link to download Mamehooker no longer works on the website https://dragonking.arcadecontrols.com/simplephp/ccount/click.php?id=77 This ID doesn't exist!

 :banghead:
« Last Edit: November 17, 2025, 04:22:38 pm by ginzu »

ginzu

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:November 20, 2025, 03:58:31 am
  • I want to build my own arcade controls!
Re: MAMEHOOKER launching error
« Reply #4 on: November 20, 2025, 03:49:14 am »
anyone got this trouble as well ?

i tested everything right now! and  i think i am going to give up on mamehooker.

all my necessary dlls are there, i even managed to install directx9.0c using the safe mode ( only option on windows 10 ).

........

bye bye mamehooker ???  :(

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19439
  • Last login:Yesterday at 10:18:48 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: MAMEHOOKER Runtime error "9"; SubScript out of range
« Reply #5 on: Yesterday at 06:18:49 pm »
Subscript out of range is a generic windows error in regards to reading beyond the upward limit of a variable or array or something else read into the app.   It could be a million things, but it's often caused in mamehooker by either an improperly registered ocx (think ledwiz) or a scripting error.   I can't help your anymore than that, but for future reference it is never necessary to reinstall windows or anything that drastic to get mamehooker running.   It's just an app dude, make sure the app has everything it needs and you'll be fine.