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...