COMDLG32 and Runtime Error 339

Problem relating to FS2004, trying to run program flattex (a program that can flatten terrain and exclude default FS2004 scenery, ex, trees, buildings, etc) error message along the lines of not registered or missing COMDGL32 or components etc.... went for help on the net, found comdlg32.ocx and comdlg32.dll, put them both into system32 folder and ran command prompt with the following command : regsvr32  %Systemroot%\System32\comdlg32.ocx, registered the comdlg32.ocx but error message runtime error 339 shows up and now i have no idea what to do. Help is appreciated, thanks.
 

Question Info


Last updated November 13, 2018 Views 18,065 Applies to:
Answer

Hi,

·        Which operating system do you use and which version?

 

Apart from the Steps mentioned by BossDweebe, I would suggest you to follow the steps mentioned below.

 

Step 1:

Note:This method only works forWindows 7 64bit.

Instead of registering thecomdlg32.ocx in system32 folder, register it in syswow64 folder and check.

a.       Click on Start menu and type cmd in the start search box.

b.      Right click on cmd and click on ‘Run as administrator’.

c.       Type the command.

cd<push spacebar > c:\widnows\SysWoW64 and press Enter.

d.      The prompt should change to: C:\Windows\SysWOW64

e.      Then type:

regsvr32<push spacebar>mscomctl.ocx and press Enter.

If you get a Window that pops up and says, "DllRegisterServer in mscomctl.ocx succeeded" then click OK

 

Step 2:

Install the game in compatibility mode and check whether you are able to play the game. Check the link mentioned below.

Make older programs run in this version of Windows

http://windows.microsoft.com/en-us/windows7/Make-older-programs-run-in-this-version-of-Windows

 

Thank you and Regards.           

Thahaseena M
Microsoft Answers Support Engineer.
Visit our
Microsoft Answers Feedback Forum and let us know what you think.

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.

Answer
-------------------

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.