Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Please help...
Message
De
29/09/1999 09:57:08
 
 
À
29/09/1999 09:52:39
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00270442
Message ID:
00270479
Vues:
22
>>I posted this message before, but I am running out of time on this project and still haven't found a solution to this problem.
>>
>>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?
>
>Are you running the com object on the same machine you compiled it? IF not, make sure you copy the .tlb and .vbr files with the EXE... this info is needed when the COM object is registered... (And may be when it is used.) If you use NT with SP3 to build the .DLL the tlb info is imbedded in the .DLL
>
>BOb

I am using NT4 with SP3 to build a .DLL. I tried copying the .tlb file to the server where the object is registered, but it didn't help. I have tried looking at the local copy of the .DLL from the Class browser on my local machine and it shows no members. I have got to be overlooking something simple.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform