oc30.dll error running a vb6 application on windows 10

Ball Cyrus 0 Reputation points
2025-03-20T09:01:07.4633333+00:00

We have a legacy VB6 application that has worked flawlessly for years [20+ years]. We are now experiencing a faulting module .. oc30.dll version 3.20.0.0

I have tried a number of potential fixes including setting the security level of this dll to allow use with all applications. I have also disabled the touch screen driver as another potential fix. I have also removed all occurances of oc30.dll and reinstalled it. The application seem to shutdown after around 5 minutes.

We also have a virtual environment provided by Vmware vSphere. Strangely this seems to run perfectly fine here !

Unfortuntately we do have a number of laptop users which still require it installed locally.

I am running out of ideas on how to solve this..

Any help appeciated.

Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
515 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Molly Lu-MSFT 2,586 Reputation points Microsoft External Staff
    2025-03-21T08:56:40.9666667+00:00

    Hello,

    Thank you for posting in Microsoft Q&A.

    Based on the description, I understand your question is related to oc30.dll error running a vb6 application on windows 10.

    Try running the application in compatibility mode for an older version of Windows (e.g., Windows XP or Windows 7). Right-click the application executable, go to Properties > Compatibility, and select the appropriate compatibility mode.

    Ensure that all Windows updates are installed on the laptops. Sometimes, missing updates can cause compatibility issues with older DLLs.

    Compare the environment settings between the virtual machines and the laptops. Look for differences in installed software, drivers, or system configurations that might be affecting the DLL.

    Check if there are any updates or patches available for the oc30.dll file. Sometimes, newer versions of the DLL can resolve compatibility issues.

    Have a nice day.

    Best Regards,

    Molly

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.