Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem using COM object
Message
De
07/06/2009 12:05:59
 
 
À
07/06/2009 11:51:19
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01404188
Message ID:
01404235
Vues:
40
>hi there,
>the getappname() line returns the error
>
>
>thanks

Look at Rick's notes on late binding (it doesn't matter whether or not it's a dotnet com dll):

http://www.west-wind.com/presentations/VfpDotNetInterop/DotNetFromVFP.asp
http://www.west-wind.com/presentations/dotnetfromVfp/DotNetFromVfp_MultiThreading.asp

I interface with a com dll that uses late binding and I can still see the methods and props in the object explorer. Have you browsed to the associated .tlb file on the hard drive and loaded it in the VFP Object browser? Is the .tlb file located in the same directory as the .dll you registered? Look at the /tlb switch with the regasm command if necessary.
.·*´¨)
.·`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