Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why won't this work???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00685689
Message ID:
00686126
Vues:
44
Good call George. Didn't even note it.

>>Inside the function TestIt, I get "oObj is not an object"
>>
>>
>>
>>PUBLIC oObj
>>
>>oObj = CREATEOBJECT("MyObj")
>>testit()
>>
>>FUNCTION testit()
>>LPARAMETERS oObj
>>
>>  ? oObj.Test1
>>
>>RETURN
>>
>>
>>
>>DEFINE CLASS MyObj AS Custom
>>
>>  HIDDEN PROC Test1
>>   RETURN "Hello"
>>  ENDPROC
>>
>>ENDDEFINE
>>
>Kevin,
>
>No one has mentioned that the function is hidden and cannot, therefore, be externally accessed.
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform