Information générale
Catégorie:
COM/DCOM et OLE Automation
There are no visual classes. One class library with two custom classes. I sent you the class library I am using in my project.
>What is the structure of the project? No visual classes, are there? Wanna send me the file; we'll figure it out.
>
>>I have tried both, the docs say that it is registered on the local machine when you build the DLL. But I have tried registering it manually also.
>>
>>>Have you registered the DLL or just created it?
>>>
>>>>I am trying to create a DLL to use in a web page. For testing purposes I created a project called VFPWeb with a class called NetInfo that has a method called GetUserID. I checked the 'OLE Public' check box in the Class Info screen and built a COM DLL. When I open the resulting DLL in the Class Browser, I see no members. When I try to create the object from my web page, I get 'COM error 0x80040154. Class not registered'. When I look at the 'Servers' tab for my project, it shows my NetInfo class there as 'Single Use'. Why would my NetInfo class not be available when I register my DLL?
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