Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error 1444 with IMPLEMENTS using a Type Library
Message
 
 
À
03/12/2004 14:19:34
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00966800
Message ID:
00966860
Vues:
8
Hi Howard,

Sometime referencing a type library by ProgID in IMPLEMENTS, as in your case, doesn't work. Try to use either IN TypeLibGUID or IN TypeLib (in that order). There're examples in the help for DEFINE CLKASS that shows how to use each of them.

>I am trying to use a COM server dll from a third party, along with its type library.
>
>I'm using VFP8 SP1.
>I registered the dll using regsvr32.
>I use the Object Browser to find my type library.
>I select an interface from the TLB and drag it to a .prg file's window.
>VFP generates a class with an IMPLEMENTS statement like this:
>
>IMPLEMENTS IMyClient IN "MyClientLib.MyClient"
>
>When I compile the code, I get error 1444 -
>"Type Library MyClientLib.MyClient not found."
>
>I've read other threads here on this topic, so I put the dll and tlb files in my VFP project's folder.
>
>This error occurs only when I build an .exe.
>I see the following on the IDE status line just before the error appears:
>"Creating Type Library and Registering COM Component"
>Why would this be happening? I'm trying to use an existing COM component, not create one.
>

>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform