News:

11 March 2016 - Forum Rules

Main Menu

NES Palette Editor (Utility)

Started by linkncb16, April 29, 2016, 10:58:50 PM

Previous topic - Next topic

Spindaboy

When I extract the zip and try to run the .exe I get an error that says one of the required files is missing. I hope I posted this in the right place given this is a question regarding a hacking utility and not a game.
This is the utility in question:
http://www.romhacking.net/utilities/428/

DarkSamus993

Would this happen to be the error message you are seeing?

If so, it's an easy fix.

For a x32 bit machine:
1. Download comdlg32.zip.
2. Extract comdlg32.ocx to Windows\System32 folder.
3. From an elevated command prompt type "regsvr32 c:\windows\system32\comdlg32.ocx" without the quotes and hit enter.

For a x64 bit machine:
1. Download comdlg32.zip.
2. Extract comdlg32.ocx to Windows\SysWOW64 folder.
3. From an elevated command prompt type "regsvr32 c:\windows\SysWOW64\comdlg32.ocx" without the quotes and hit enter.

Spindaboy

Once extracted I attempted to execute the code in command prompt only to be greeted with:
"The module was loaded but the call to DllRegisterServer failed with error code 0x8002801c."
So what's the issue?

Disch

#3
General rules of thumb:

- Never download random dlls or ocx files off the internet  (or exes for that matter).  Unless the source is trusted and you are sure the program does what it claims to.

- Never run random shit from a command prompt unless you know what it does.  ESPECIALLY from an elevated command prompt!!!


I'm not accusing DarkSamus of being malicious, but if he was, you would have just royally fucked yourself.


COMDLG32.OCX is part of the VB runtime.  The proper solution to this is not to download random components of the VB runtime, but rather is to actually install the VB runtime in full.

Given this is an MS lib, MS should be the only source you should need to trust on this one:

https://www.microsoft.com/en-us/download/details.aspx?id=24417



Generally if someone is telling you to manually tinker with your system directory there's almost always an easier/better/safer way.

DarkSamus993

Yes, Disch's advice is absolutely correct, only use sources you trust! The fix I posted is what happened to work for the error on my machine. I meant to post the two source urls, but I see I somehow forgot to do that. Sorry if I came off as being shady.