General information
Category:
COM/DCOM and OLE Automation
Hi Jimmy,
I tried but i is working fine.
*** COM2
*** Project VFPCom2
Define Class C1 as Custom OLEPUBLIC
Proc GetMyObject
Local aa As Object
aa = CreateObject("VfpCom2.C2")
Return aa
EndProc
EndDefine
*** COM2
*** Project VFPCom2
Define Class C2 as Custom OlePublic
Proc DumProc
Return "Return from DumProc"
EndProc
EndDefine
If your servers (VFPCOM1.EXE / VFPCOM2.EXE) are on different PC & client is (Where you are creating instance) is on other PC. Use CREATEOBJECTEX().
I compiled it and created client in VB application. it's OK.
But the issue is user can create instace of VFPCOM2.EXE , without creating instance of VFPCOM1.EXE because both are seperate from each other. (Both are separate server.)
Ajay Mishra
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only