Link to home
Start Free TrialLog in
Avatar of magarner
magarner

asked on

Trying to install OCX files

First let me preface by saying I am not a windows programmer - I have a programming background but it is in Unidata which is the database our business system runs on.

Several years ago a company wrote a couple of ocx applications to help interface our business system with a tax processing application.   They also wrote an installer a .msi.  This was all written and runs on a windows 98 system.  I have upgraded the tax software to the latest version and it is now running on a windows XP system.  I did not figure that these applications were going to work on the XP system but I figure it is worth a try since I am not qualified to rewrite new ones.  When running the .msi - it starts the installation process and then I get the following error.

Error 1904. Module C:\Program Files\Vertex\utils\geo.ocx failed to register.  HRESULT-2147024770.  Contact your support personnel.

The basic stucture of the applications database has not changed so I have reason to believe that if these would 'register' they would work.

Any direction / advice is appreciated.
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of magarner
magarner

ASKER

OK - I downloaded and installed dependency walker and was able to get a lot further.  I am getting a message that it cannot open MSJAVA.DLL.   I read in the FAQ for dependecy walker that XP replaced it with MSHTML.DLL.  I am assuming that my old 98 ocx is looking specifically for MSJAVA.DLL.   Is there a way I can get it, install and register it?  
There are many sites that suggest to download this Dll - just type msjava.dll in Google. However, this can be risky. After applying Dependency Walker you know that the problem is MSJAVA.DLL. AFAIK, MS stopped to support Java in XP redirecting users to Sun. However, I don't know how old program should be supported.
I suggest you to ask separate question in Windows XP area with link in Java programming to get more information.
I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.

Alex you have more than earned the points but I still have not accomplished my ultimate goal which is to get this app to load and run.  Any new thoughts?
Does anyone have any thoughts on how to correct this?

I installed the MSJAVA.DLL and that error went away.  I am not getting another error on MPR.DLL.  It says Warning: At Least one module has and unresolved import due to a missing export function in the delay-load dependent module.  

When I double click on the MPR.DLL I see in the Parent Import view with MRP.DLL a red box with a C and the function is WNetRestoreConnectionA.
Hi Maganer/experts,

I am also facing similar issue. Can you please help me?
How did you come out of this issue?

I copied msjava.dll from some other machine to the local machine where i was getting this error. Now i see the second error("MPR.DLL I see in the Parent Import view with MRP.DLL ....").
Please let me know how did you resolved it.

Thanks and regards,
~Nazir
nazir.maindargi@gmail.com