EConnect : Unregistered Classes in PWENGOCX.OCX - Symbian

This is a discussion on EConnect : Unregistered Classes in PWENGOCX.OCX - Symbian ; Hello there, I'm using PsiWin 2.3 and EConnect5.136.7.zip. I have the following problem to use the EPOC Connect Engine PWENGOCX.OCX delivered in both product : 1. The engine is registered in PC through REGSVR32 PWENGOCX.OCX 2. The object CPsiMachine, CPsiDrive ...

+ Reply to Thread
Results 1 to 2 of 2

EConnect : Unregistered Classes in PWENGOCX.OCX

  1. Default EConnect : Unregistered Classes in PWENGOCX.OCX


    Hello there,

    I'm using PsiWin 2.3 and EConnect5.136.7.zip. I have the following
    problem
    to use the EPOC Connect Engine PWENGOCX.OCX delivered in both product :

    1. The engine is registered in PC through REGSVR32 PWENGOCX.OCX
    2. The object CPsiMachine, CPsiDrive and PsiFile are declared in type
    library PWENGOCX.TLB and available in object browser of Visual Basic,
    C++
    Builder and Delphi.
    3. There is run time error in the application when the class initialized
    :
    Class not registered
    4. The component class PsiWin Engine Control and PsiWin EngineS Control
    are
    registered in HKEY_LOCAL_MACHINE\Software\Classes\* and vice versa in
    HKEY_CLASSES_ROOT\*. Some of the object's method are working well (Init,

    Connect, GetDrives, GetMachineTypeInfo)
    5. The object CPsiMachine, CPsiDrive and PsiFile are declared in type
    library PWENGOCX.TLB but not registered in HKEY_CLASSES_ROOT\CLSID
    6. Visual Basic : Error =3D 50 for this procedure

    Private Sub CommandButton1_Click()

    Dim err As Long
    Dim xInfo As Object

    err =3D 0

    res =3D PsiWinEngS1.Init
    res =3D PsiWinEngS1.Connect(20000)
    TextBox1.Text =3D PsiWinEngS1.GetDrives(2, err)
    Set xInfo =3D PsiWinEngS1.GetExtraMachineInfo(2, err)
    If err =3D 0 Then
    TextBox1.Text =3D xInfo.GetName + xInfo.GetTime + xInfo.GetLanguage
    Else
    TextBox1.Text =3D err
    End If

    End Sub


    Questions :
    1. Do I miss something simple in installation of PsiWin 2.3 and
    EConnect5.136.7.zip, so the other three classes not registered in system
    ?
    2. Do you have various level of support or SDK for Standard,
    Professional
    and Premium membership ?


    Thanks in advance




  2. Default Re: EConnect : Unregistered Classes in PWENGOCX.OCX


    Jean-Pierre,

    Your code ran correctly on my machine, except I changed
    TextBox1.Text =3D xInfo.GetName + xInfo.GetTime + xInfo.GetLanguage
    to
    TextBox1.Text =3D xInfo.GetName + xInfo.GetTime + Str$(xInfo.GetLanguag=
    e)

    I can only suggest that you try re-registering the DLL and the OCX, using
    regsvr32 pwengine.dll
    regsvr32 pwengocx.ocx

    The other classes are not specifically registered, but appear in the regist=
    ry in
    HKCR\Interface\{3C47693X-..... where X is 5, 7 and 9

    Hope this gives you enough info to track the problem down.

    Support for EPOC Connect comes in two flavours:
    1 - through this newsgroup (I try to help, but no promises and no cost)
    2 - through the Symbian Developer Network (guaranteed response, guaranteed =
    cost)

    Mark Shackman
    Symbian Ltd



+ Reply to Thread