Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote call trouble
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Remote call trouble
Miscellaneous
Thread ID:
00444518
Message ID:
00444518
Views:
34
I need to call a foxpro .dll stored in windows NT server from a client Windows NT Workstation but I am confused how to do it :

The DLL for example contain the following :
define class cPerson as custom olepublic
FirstName = space(10)
LastName = space(10)
cVersion = "1.2"
procedure Init
use Person
endproc
procedure Destroy
use in Person
endproc
procedure RefreshData
this.FirstName = Person.FirstName
this.LastName = Person.LastName
endproc
procedure GoNext
select Person
skip 1
this.RefreshData()
endproc
procedure GoPrev
skip -1
this.RefreshData()
endproc
function FindInName( tcSubName )
locate for upper( tcSubName ) $ upper( FirstName + LastName )
this.RefreshData()
return found()
endproc
function FullName
return trim( this.FirstName - ( " " + this.LastName ) )
endproc
enddefine

How can I register the DLL to the sever and have access from the client ?
Can I use regsvr32 only to server and call it with createobjectex() (or createobject())? can I use MTS and how can I call it? or I need DCOM and how can I register the dll to server ?

Thanks in advance
Nik
----------------------------------------
Nikos Kiriakoulakos
Software Engineer
Dep. of Medical Informatics
Apollo Ltd.
Greece
----------------------------------------
Next
Reply
Map
View

Click here to load this message in the networking platform