Did REGSVR32 reported the registration successful?
If yes, search for "mydll.dll" in the registry. You'll find a ProgID registry key among the keys for your class. The value of the ProgID is what you have to use with CreateObject.
BTW, how did you build a multithreaded COM DLL in VFP? VFP is not multithreaded yet.
Vlad
>I have built a multi threaded COM DLL in VFP.
>
>I built it in the winnt\system32 directory on
>a NT 4.0 system
>
>When I issue
>
> oObject = createobject("Dll.ClassName")
>
>I get the error:
>
>'Class definition DLL.CLASSNAME is not found'
>
>I have recompiled and even ran REGSVR32 and I still
>can't instantiate the DLL.
>
>Anyone know whats going on here?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement