[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2012-04-02
7
Medium Priority
?
597 Views
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.
0
Comment
Question by:doramail05
[X]
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
7 Comments
 
LVL 19

Expert Comment

by:Rimvis
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?
0
 
LVL 1

Author Comment

by:doramail05
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
0
 
LVL 19

Expert Comment

by:Rimvis
ID: 37799796
So, this is not a COm library.  What object is invoked at like 6? Can you show your code?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:doramail05
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
        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
 
LVL 19

Expert Comment

by:Rimvis
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?
0
 
LVL 1

Accepted Solution

by:
doramail05 earned 0 total points
ID: 37804492
solved with running

REGSVR32 with the OCX file
0
 
LVL 1

Author Closing Comment

by:doramail05
ID: 37820943
assisted from other forum
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

656 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