Thread: control in ocx load error

  1. #1
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    control in ocx load error

    I had an application installed that was working fine.
    After a power failure and my HDD damage. I installed application again.

    Now, when it tries to open one of its module its end up with the error: Can't load foo control from container.ocx file maybe its not the same version.

    I know that this ocx is the same version as was there when the application was working so I think its another dll or ocx thats causing the problem. Maybe Windows dlls, so I tried Win7, XPsp3 and now sp2 and still not working. I also installed all 3rd party applications my application needs.

    Can you guide how to find the problem using a debugger or something?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Have you registered the ocx?

    Com servers dont run out of the box Microsoft Corporation

  3. #3
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246

    Yes

    As part of installation all ocx files are rgistered.
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Error Control in C Program
    By repel89 in forum C Programming
    Replies: 8
    Last Post: 09-25-2010, 11:50 PM
  2. error 1421: "control ID not found"
    By JustMax in forum C Programming
    Replies: 2
    Last Post: 02-28-2009, 08:26 AM
  3. Can't Load TGA?
    By arew264 in forum Game Programming
    Replies: 9
    Last Post: 05-02-2007, 11:37 AM
  4. when i want to load the program it gives me an error?
    By wise_ron in forum C Programming
    Replies: 6
    Last Post: 05-05-2006, 03:49 PM
  5. Cpu Load
    By Fric in forum C Programming
    Replies: 9
    Last Post: 03-28-2005, 06:26 PM