Retrieving the COM class factory for component with CLSID , class not registered

Posted on 2012-04-02
Medium Priority
Last Modified: 2012-04-08
Getting error :

Retrieving the COM class factory for component with CLSID , class not registered at RichTechSTK1.SIMToolkit,

modem initialise error
having put MSCOMM32.OCX in windows/system32, and added relevant .dlls.
Question by:doramail05
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 19

Expert Comment

ID: 37799708
Hi doramail05,
putting components to System32 is not enough. You have to register them with regsvr32 command. And I don't think RichTechSTK1.SIMToolkit comes from MSCOMM32.OCX. Do you have something like RichTechSTK.dll?

Author Comment

ID: 37799766
when trying to run command

C:\>REGSVR32 C:\RichTechSTK1.dll

it having the error :
The Module "C:\RichTechSTK1.dll' was loaded but the entry-point DllRegisterServer was not found.

Makesure that "C:\RichTechSTK1.dll' is a valid DLL or OCX file and then try again
LVL 19

Expert Comment

ID: 37799796
So, this is not a COm library.  What object is invoked at like 6? Can you show your code?
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.


Author Comment

ID: 37799800
here they are

Imports RichTechSTK1
Imports SIMToolKit

Module Module1

    Private oSMSMOMT As New RichTechSTK1.SIMToolKit
    Private simtoolkit As New SIMToolKit.SIMToolKit
    Dim aTimer As New System.Timers.Timer

    Sub Main()

        aTimer.AutoReset = True
        aTimer.Interval = 1000 '2 seconds 
        AddHandler aTimer.Elapsed, AddressOf tick

    End Sub

    Private Sub tick(ByVal sender As Object, ByVal e As System.Timers.ElapsedEventArgs)

        Dim sResponse As String = ""

        Dim sModemStatus As String = oSMSMOMT.ModemInit(3, "", sResponse)

        Dim sModemStatus1 As String = simtoolkit.ModemInit(3, "", sResponse)

Open in new window

LVL 19

Expert Comment

ID: 37799850
I'm confused by these lines:
    Private oSMSMOMT As New RichTechSTK1.SIMToolKit
    Private simtoolkit As New SIMToolKit.SIMToolKit

Why there is same class in separate namespaces? Ar you sure you need them? Where does "RichTechSTK1.SIMToolKit" come from?

Accepted Solution

doramail05 earned 0 total points
ID: 37804492
solved with running

REGSVR32 with the OCX file

Author Closing Comment

ID: 37820943
assisted from other forum

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question