Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 15-01-2009
Member
 
Join Date: Dec 2008
Posts: 24
Mci32.ocx error in windows vista

Hello,

Has anyone tried to run the multimedia mci32.ocx under wibdows vista? For my part, in an application written and compiled in VB6 SP4, I have always an error 339 to the opening of the sheet containing the control.

Thank you in advance for your help
Best regards.
Reply With Quote
  #2  
Old 15-01-2009
Member
 
Join Date: Nov 2008
Posts: 38
Re: Mci32.ocx error in windows vista

I had the same message when starting to reinstall software on a newly restored computer yesterday, under Vista. I needed older versions of Visual Basic/Studio in order to access all my old data. I first got that message with VB6 but ignored it and ran the install anyway. It seems to work. Then I installed Visual Studio 2005 and got the same incompatibility message, which surprised me. I installed it anyway. Today I installed Visual Studio 2008, without those messages.
Reply With Quote
  #3  
Old 15-01-2009
Member
 
Join Date: Oct 2005
Posts: 2,389
Re: Mci32.ocx error in windows vista

the MCI32.ocx file by default do not exist on the windows Vista operating system. Therefore, if you try to run an application that uses the file, you may receive the following error:

Quote:
Run-time Error '339' component ‘MCI.32.OCX' or one of its dependencies is not correctly registered: a file is missing or invalid
The first and the easiest method to solve the error is to first uninstall, and then, reinstall the application that is causing the problem. Reinstalling the application will install all the required files including DLL and OCX files and may resolve the problem

you can try to re-register the OCX to handle. Goto the Run Command Under the start menu

Type: regsvr32 c:\windows\system32\mci32.ocx. Hope this helps.
Reply With Quote
  #4  
Old 15-01-2009
Member
 
Join Date: Dec 2008
Posts: 24
Re: Mci32.ocx error in windows vista

Problem solved:

I tried the following manipulation on Vista as suggested above :
  • Start - Run - Cmd then in the command line:
  • regsvr32 c: \ windows \ system32 \ mci32.ocx

In response I got an error message "0x8002801c"

By entering this error number as a criterion in a search engine, I got the following solution:
  1. Create a shortcut on the desktop Vista pointing to c: \ windows \ system32 \ cmd.exe.
  2. Right click on the shortcut and choose "Run as administrator".
  3. -nter again in the command line to regsvr32 the call as above.

AND IT WORKS!

So it was not a problem ocx component itself, but the way regsvr32. According to the posts that I read, it can be used for any component or any ocx dll.

Hoping that this is useful for others ...
Reply With Quote
  #5  
Old 15-01-2009
Member
 
Join Date: Nov 2005
Posts: 1,323
Re: Mci32.ocx error in windows vista

Quote:
Originally Posted by Sharukh View Post
Problem solved:

I tried the following manipulation on Vista as suggested above :
  • Start - Run - Cmd then in the command line:
  • regsvr32 c: \ windows \ system32 \ mci32.ocx

In response I got an error message "0x8002801c"

By entering this error number as a criterion in a search engine, I got the following solution:
  1. Create a shortcut on the desktop Vista pointing to c: \ windows \ system32 \ cmd.exe.
  2. Right click on the shortcut and choose "Run as administrator".
  3. Enter again in the command line to regsvr32 the call as above.

AND IT WORKS!

So it was not a problem ocx component itself, but the way regsvr32. According to the posts that I read, it can be used for any component or any ocx dll.

Hoping that this is useful for others ...
No this is not it.
Mci32.ocx that it is not properly installed. If mci32.ocx had been installed (correctly), there was no need to hire regsvr32. For a COM component (mci32.ocx is an ActiveX, so it's primarily a COM component) is installed, it must be registered in the system. This registration is done with the regsvr32 tool. And it is clear that Regsvr is an administration tool, if anyone could save anything. So regsvr32 must run with administrator rights in effect. This is not related to the way therefore regsvr32 works, but how Vista works.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Mci32.ocx error in windows vista"
Thread Thread Starter Forum Replies Last Post
Windows Vista x64 and Canon mp830: Error message rmslantc.dll error (MP Navigator scan failed) Macau Pav Hardware Peripherals 4 27-03-2012 02:36 AM
?Dragon Age 2 autorun.exe installer has encountered an unexpected error? error message in windows vista Wyuter Dwin Video Games 6 13-03-2011 05:10 PM
WINDOWS UPDATE ERROR ON WINDOWS VISTA 64BIT - ERROR CODE 8024402F Sergio Windows Update 1 07-11-2009 11:15 PM
Error 1603: A fatal error while installing hp officejet 7410xi in Windows Vista RIMON Hardware Peripherals 4 25-05-2009 11:35 PM
Help with windows vista mail, Socket Error: 10053, Error Number: 0x800CCC0F !Starr! Windows Vista Mail 3 18-02-2009 12:53 PM


All times are GMT +5.5. The time now is 08:45 AM.