Jump to content











Photo
- - - - -

cant use programs needing any .ocx file


  • Please log in to reply
12 replies to this topic

#1 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 12 June 2007 - 03:02 AM

i'm tying to convert an ubcd4win .inf to use in nativeex 70. the program is a driver backup program double driver. i've successfully converted the script when when dd.exe calls for the .ocx file i get an error with wrong version .ocx. the ocx is the same one that works in ubcd4win. further more i tried to convert another program using a different .ocx file and get the same error. is this a registry error??? please give examples how to add the ocx. to the registry???
thanks carfan

#2 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 12 June 2007 - 03:07 AM

i'm tying to convert an ubcd4win .inf to use in nativeex 70. the program is a driver backup program double driver. i've successfully converted the script when when dd.exe calls for the .ocx file i get an error with wrong version .ocx. the ocx is the same one that works in ubcd4win. further more i tried to convert another program using a different .ocx file and get the same error. is this a registry error??? please give examples how to add the ocx. to the registry???
thanks carfan



sorry. here is the original .inf form ubcd4win

Attached Files

  • Attached File  dd.inf   865bytes   280 downloads


#3 h7se

h7se

    Frequent Member

  • Developer
  • 264 posts
  •  
    Palestine

Posted 12 June 2007 - 04:20 AM

Maybe the ocx file get overwrited by another script,try to copy the ocx file to program diectory not to system32 directory maybe it will work

#4 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 June 2007 - 06:50 AM

sorry. here is the original .inf form ubcd4win


I do not see any registering of comctl32.ocx in the *.inf.

In your PE, try manually regsvr32 comctl32.ocx (Make sure that regsvr32.exe is present in the PE).

If that works (program runs), you must include registering of comctl32.ocx in your script.


Peter

#5 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 12 June 2007 - 12:30 PM

I do not see any registering of comctl32.ocx in the *.inf.

In your PE, try manually regsvr32 comctl32.ocx (Make sure that regsvr32.exe is present in the PE).

If that works (program runs), you must include registering of comctl32.ocx in your script.
Peter


can you give me an example of the line to add to the script to add the .ocx file to the registry
during the build?

thanks

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 June 2007 - 12:33 PM

can you give me an example of the line to add to the script to add the .ocx file to the registry
during the build?

thanks


Because there are some different ways to register the ocx, and I do not want to give a highschool lesson here:
Did the manual register work?

Peter

#7 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 12 June 2007 - 12:49 PM

Because there are some different ways to register the ocx, and I do not want to give a highschool lesson here:
Dit the manual register work?

Peter


havent tried yet. was gathering information to try toninte at home.

#8 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 12 June 2007 - 12:54 PM

havent tried yet. was gathering information to try toninte at home.


Ok. Let's wait for your result.

Peter

#9 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 13 June 2007 - 01:15 AM

Ok. Let's wait for your result.

Peter


did two things. first double checked ocx version (was the correct one). second, used regsrv to register ocx (received registry added successfully message). still no joy. get same error message. might have something to do with activex controls???

Thanks

#10 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 13 June 2007 - 07:52 AM

did two things. first double checked ocx version (was the correct one). second, used regsrv to register ocx (received registry added successfully message). still no joy. get same error message. might have something to do with activex controls???

Thanks


use 'Depends' to look for files comctl32.oxc is depending on.
Also indirect dependings are important!

You find depends.exe on the XP CD in Support\Tools\support.cab

Peter

#11 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 13 June 2007 - 12:46 PM

Cannot say if it helps, not even if it runs in your environment, but there is this tool:
RegCtrls
http://www.softcircu...com/sw_apps.htm
that has helped me in some cases to troubleshoot COM objects and OCX registrations.

jaclaz

#12 carfan

carfan

    Frequent Member

  • Advanced user
  • 196 posts
  •  
    United States

Posted 13 June 2007 - 02:28 PM

use 'Depends' to look for files comctl32.oxc is depending on.
Also indirect dependings are important!

You find depends.exe on the XP CD in Support\Tools\support.cab

Peter


downloaded fresh livexp 70 - build with same double driver script - works fine with no changes
- livexp must have more to control activeX???

thanks
carfan

#13 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 29 July 2007 - 02:20 PM

It took a while, but maybe this solves your problem.

Peter




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users