Exception calling COM function on Win2000

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Exception calling COM function on Win2000

Frank Sonnemans-3
An application which I wrote works fine on most computers, but generated an
error which I don't understand on a Windows 2000 machine (German language
version). The app works fine on Windows 98 and XP (English).

The error message was: HRESULT Error: Schnittstelle nicht registriert
(FACILITY_ITF)
Which in English means: "Interface not registered"

The exception came after the following calls:

{07D104D0: cf 07D104B5, sp 07D104E0, bp 07D104CC, ip 5, HRESULTError
class(Exception class)>>signalWith:}
{07D104B4: cf 07D10475, sp 07D104C4, bp 07D1048C, ip 66, ActIActAppObj
class(COMInterface class)>>onCLSID:outerIUnknown:hostName:licenseKey:}
{07D10474: cf 07D10455, sp 07D10484, bp 07D1046C, ip 8, ActIActAppObj
class(COMInterface class)>>onCLSID:outerIUnknown:}
{07D10454: cf 07D10439, sp 07D10464, bp 07D10450, ip 5, ActIActAppObj
class(COMInterface class)>>onCLSID:}
{07D10438: cf 07D10421, sp 07D10448, bp 07D10438, ip 5, ActIActAppObj
class(COMInterface class)>>new}
{07D10420: cf 07D10409, sp 07D10430, bp 07D10420, ip 3,
ActInterface>>initialize}
{07D10408: cf 07D103F1, sp 07D10418, bp 07D10408, ip 5, ActInterface
class>>new}


The ActIActAppObj class was generated automatically by Dolphin. Basically I
try to initialize the interface and Windows responds that the FACILITY_ITF
is not registered.

What does this mean?

Is the Act application not properly installed, or is there a problem with
Dolphine and Win2k German?

I don't understand enough of Windows to solve this problem, so any help
would be greatly appreciated.

Best Regards,


Frank Sonnemans


Reply | Threaded
Open this post in threaded view
|

Re: Exception calling COM function on Win2000

Blair McGlashan
"Frank Sonnemans" <[hidden email]> wrote in message
news:b3noeh$15n54$[hidden email]...
> An application which I wrote works fine on most computers, but generated
an
> error which I don't understand on a Windows 2000 machine (German language
> version). The app works fine on Windows 98 and XP (English).
>
> The error message was: HRESULT Error: Schnittstelle nicht registriert
> (FACILITY_ITF)
> Which in English means: "Interface not registered"

One would really need to know the actual hresult error code (a large
negative integer), but I think this is telling you that a type-library is
not correctly registered (or, more rarely that a marshalling DLL is not
registered). This suggests that whatever application it is that implements
ActIActAppObj is not properly installed.

To track down the problem, on one of the machines on which it works evaluate
an expression such as:

    ActIActAppObj typeLib path

This will tell you the module that needs to be registered. If it is a .TLB,
then you can use Tools/Additional Tools/Register Type Library command in
Dolphin (if you have 5.0 PL2). If a .DLL or .EXE then regsvr32.exe will
suffice.

Regards

Blair