Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I return a value from an activex dll?
Message
De
12/01/2001 01:40:59
 
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00462532
Message ID:
00462803
Vues:
16
add this to your dll code:

Dim vTestProperty As Variant
Public Property Get TestProperty() As Variant
TestProperty = vTestProperty
End Property
Public Property Let TestProperty(v As Variant)
vTestProperty = v
End Property

and use an equivalent of this in vfp:

oMyDLL = CreateObject("mydll.mydllutil")
? oMyDLL.TestProperty
============================================================
'C' is shorthand for Confusion, 'C++' much more confusion...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform