Kevin,
When you build a COM object in VFP, as long as you use the following syntax you should be fine:
"DEFINE class myclass as custom olepublic" and click "Build OLE DLL" when you're builing the project, your DLL will get written to the registry. Just search for the "myclass" class in regedit after you build and it will find it for you.
>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
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