PDA

View Full Version : runtime error 339


typenamehere
11-03-2009, 09:40 AM
i am currently running windows 7 and trying to get georges tools to work, i have tried everything on this forum for registering my files, the one i found to actually register was:

C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\DXAnimatedG IF.ocx /s
C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\a.ocx /s
C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\msdxm.ocx /s
C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\MSCOMCTL.OC X /s
C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\MSINET.OCX /S
C:\windows\system32\regsvr32 /u C:\Users\Tim\Desktop\eqitems\resources\MSDATGRD.OC X /s
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\DXAnimatedG IF.ocx /s
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\a.ocx /s
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\msdxm.ocx /s
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\MSCOMCTL.OC X /s
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\MSINET.OCX /S
C:\windows\system32\regsvr32 C:\Users\Tim\Desktop\eqitems\resources\MSDATGRD.OC X /s

first, i obvisouly changed the path name to my path, not Tim's, but by doing this i am able to start the quest editor, or any editor at that, but i get an error after hitting "lets start" and the error reads "Run-time error 339, cmcs21.ocx or one of its dependencies is not correctly registered: a file is missing or invalid

GeorgeS
11-03-2009, 11:27 AM
If the file is not registered you need to give it the full pathname of where it can be found like in your examples.
I do not know if the file exists, but look for it and then register it.

the CodeSense control cmcs21.ocx should have been in the zip - please let me know if it's missing


..edit

I checked and it's there, but the register bat should have these ocx's to register

regsvr32 a.ocx /s
regsvr32 imagelist.ocx /s
regsvr32 MSCOMCTL.OCX /s
regsvr32 EZFTP.OCX /s
regsvr32 cmcs21.ocx /s




GeorgeS

typenamehere
11-03-2009, 12:17 PM
i replace my .bat with what you have, stil got the error, checked the folder to make sure that file that it is missing is there, and indeed it is, so i tried to manually register it thru cmd and it still says that it is not correctly registered, and is missing or invalid =/

typenamehere
11-03-2009, 01:45 PM
is it possible its a dependency thats invalid or missing?

GeorgeS
11-03-2009, 10:47 PM
I did think about the dependency issue, but the .oca is there.
I run win7 (x64) on two pc's and those appear to work. I'm pretty suprised because of this...

So now I think it's a user rights issue, so you should right click on the .bat and select run as administrator

GeorgeS

typenamehere
11-04-2009, 12:36 PM
i usually run everything as an administrater, just because a lot of programs have that problem. i am also running 64bit, i have tried deleteing everything and starting all over several times =( making me sad because your tools are amazing

typenamehere
11-04-2009, 03:36 PM
uninstalled everything and redownloaded a different tool, this time trying to use the suit, i ran the connector and did a full install, then ran the .bat file as an admin and it said that the imagelist.ocx failed to load, so i tried to register it manually, and got this error "imagelist.ocx was loaded, but failed the call to Dllregisterserver failed with error code 0x80004005

EDIT:::: I got this working, i had to use an elevated command prompt and manually register the final ocx... what a PITA

Randymarsh9
11-09-2009, 09:08 PM
I am getting the same error except on XP. It registers everything else but imagelist.ocx

GeorgeS
11-09-2009, 11:26 PM
I'm also getting the error on win7 now -- and these are my tools heh.:mad:
So even though the imagelist fails, it still runs the program. Let me know ifyou can at least run it.
I will remove imaglist in the next version, because I'm afraid that ocx is flackey at best.

GeorgeS

Randymarsh9
11-10-2009, 04:54 PM
Yeah I can still run it despite the error

AvaManning471DT
04-20-2018, 11:35 PM
Go to Start | Search| For Files or Folders andsearch for the MSMASK32.ocx file in your Windows/System32 directory.

If you do not locate this file, copy it over from a working workstation and paste it into the Windows/System32 directory on the workstation with the error. Make sure to register the file by opening it with the Regsrv32.exe file located in your Windows/System32 directory.
If the issue still persists, check for Errors in Event Viewer
See solutions given in this thread:
https://www.errorsolutions.tech/error/runtime-error-339/

GRUMPY
04-21-2018, 12:36 AM
Go to Start | Search| For Files or Folders andsearch for the MSMASK32.ocx file in your Windows/System32 directory.


Aside from your first post necro'ing a 9 year old thread,
("pasted" on other sites as well today),
nobody (within this project) should be getting that error
in 2018.