• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 606
  • Last Modified:

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

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.
0
doramail05
Asked:
doramail05
  • 4
  • 3
1 Solution
 
RimvisCommented:
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?
0
 
doramail05Author Commented:
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
0
 
RimvisCommented:
So, this is not a COm library.  What object is invoked at like 6? Can you show your code?
0
Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

 
doramail05Author Commented:
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
        aTimer.Start()
        'Console.ReadKey()

    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

0
 
RimvisCommented:
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?
0
 
doramail05Author Commented:
solved with running

REGSVR32 with the OCX file
0
 
doramail05Author Commented:
assisted from other forum
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now