Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access class method in .net dll from VFP9
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01311979
Message ID:
01311991
Vues:
23
This appears to work until the .Connect() call :

ox = CREATEOBJECTEX("PowerPhone.CachStandard.API.TRAPIClass","")
lcserver = '127.0.0.1'
lnport = 5000
? ox.Connect(lcserver,lnport) && this returns error Unknown name

but I know connect is a method of TRAPIClass...what's up with that?

I can see the class in the registry:

(Default) = mscoree.dll
Assembly = PowerPhone.CachStandardAPI,Version=1.6.0.0,Culture=neutral, PublickeyToken = null
Class=PowerPhone.CachStandard.API.TRAPIClass
Codebase=file:///c:/powerphone/vfp/PowerPhone.CachStandardAPI.DLL
Runtimeversion=v1.1.4322
TreadingModel=Both
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform