I have created a dcom exe on the clients machine. From the server I want to make a call via creatobjectex("Clsid",Client_PC"). From the clients machine I want it to display a form that they input data into. When I try to run the DCOM component it hangs without displaying the form. Is it possible to display a form on the clients machine? When I look at the client machine the dcom server is running in the clients task manager.
Snippet from the dcom object below. Not the entire routine
EX:
Define Class Finger_Client As Custom OlePublic
Procedure Init()
Public oClass,oFinger,lRetVal,cError
oClass = This
On Error lRetVal = .F.
If _Screen.FormCount < 1
oFinger = Createobject('FrmCapture')
If Type('oFinger') = "O"
oFinger.Visible = .T.
oFinger.Show
Read Events
lRetVal = .T.
Else
cError = "Form not Created"
lRetVal = .F.
Endif
Else
oFinger = _Screen.Forms[1]
Endif
Snippet from the dcom object below. Not the entire routine
EX:
Define Class Finger_Client As Custom OlePublic
Procedure Init()
Public oClass,oFinger,lRetVal,cError
oClass = This
On Error lRetVal = .F.
If _Screen.FormCount < 1
oFinger = Createobject('FrmCapture')
If Type('oFinger') = "O"
oFinger.Visible = .T.
oFinger.Show
Read Events
lRetVal = .T.
Else
cError = "Form not Created"
lRetVal = .F.
Endif
Else
oFinger = _Screen.Forms[1]
Endif