Information générale
Catégorie:
COM/DCOM et OLE Automation
I forgot to install the VFP SP3 into my NT Server. Ok, now I was able to register both the server and the client, but I was unable to instantiate my class1. Do you have any link to any more detailed document about Remote Automation with VFP 6 ?
>Does the server have the VFP runtime installed?
>
>>My VFP project's name is proj1 and there are one olepublic class named class1.
>>I compiled this project as a multi-threaded COM server (dll) and I copied the files proj1.dll and proj1.tbl to my NT Server and from the command line :
>>
>>RegSvr32 proj1.dll
>>
>>So i got a dialog with the error message.
>>
>>Thanks.
>>
>>>How are you trying to register? Is this a VFP COM server?
>>>
>>>RegSvr32 /myserver.dll
>>>
>>>>I have tried register my dll into my NT4 server but all that I get is this message :
>>>>
>>>>DllRegisterServer in proj1.dll failed. Return code was : 0x80004005.
>>>>
>>>>So I tried to register my dll as a client into another machine (Win 95) and I got this message :
>>>>
>>>>Could not find dll : “autprx32.dll”
>>>>
>>>>The machines above are up to date with the last service packs and there are VFP 6 installed. My dll works fine with local automation.
>>>>
>>>>In the VFP Programmer’s Guide there are so simplistic examples about Remote Automation Servers
>>>>and every time that I have tried I got some estrange message like above.
>>>>
>>>>Could anyone help me, please ? Thanks !
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