Information générale
Catégorie:
COM/DCOM et OLE Automation
>>
>>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.
>
>1. After you build the DLL on the development machine... can you access it from FoxPro? oX = creatobj('YourDLL.YourClass')
>
>2. When you register the class on the machine you copy the DLL to do you get an error message or does it say 'Class Rgistered?'
>
>3. Have you copied to VFP runtime files to the machine you copy the .DLL to. Remember, the FoxPro .DLL still needs the VFP Runtime to execute.
>
>4. What command are you using on the web page to access the .DLL... are you using Server.Createobject() ???
>
>BOb
1. It works fine from FoxPro.
2. Registering the class on the server returns 'Class Registered'.
3. I have copied the VFP runtime files to the server.
4. I am using Cold Fusion, so I'm using their CFOBJECT tag. I have used this tag successfully with other objects.
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