Information générale
Catégorie:
COM/DCOM et OLE Automation
Thank very much Ajay Mishra,
But there are something to make clear.
1. On client PC, I must use Clireg32.exe to register class name and Server IP into Windows's registry. So, there is no need to use CreateObjectEx
2. VFPCOM1 & VFPCOM2 running on the same server (OS: Windows 2000 Professional, Service pack 1, and I also install Visual Foxpro 7 Professional on this server)
3. On Server PC, I must use Racmgr32.exe to "Alow Remote Activation". Note that: I only "Alow Remote Activation" for (VFPCOM1.C1) , not for (VFPCOM2.C2). So , How can clients create objects of C2 from other PC? I think, there is no way for users to create objects of C2 directly from other PCs.
4. I use "Automation Manager" to handle RPC, not DCOM.
5. All of needed files (such as: Racmgr32.exe , Clireg32.exe , Autmgr32.exe , Autprx32.dll), I copy them from my client Pc (OS: Windows 98, installed Visual Studio 6 - Service Pack 5) to server. They can run on Windows 2000 smoothly but i am not sure THIS IS THE REASON or not.
6. All things DO WORK fine if my server's OS is Windows98.
I am still waiting for your helps , guy.
Thank a lot
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