Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
>>>>>this.oxHandler = CREATEOBJECT( "EMPS_Handler_Medinotes_Class" )
>>>>
>>>>Ok, syntax aside, that would be a logical approach to this, right?
>>>
>>>I guess we need to step back and re-check your requirements again.
>>>
>>>Do you want to access an oSock object from oHandler? If yes, I still don't see a good way to do it, need to think more.
>>
>>Yeah, I just tried creating oHandler from inside oxServer and it still does not have a .Parent value. I don't get that. How can it be a child and not have a parent? Does it matter where/when I create it inside oxServer? I really thought this would work.
>
>No, see our responses in your other thread. You can not add a new object, you only can add a reference to an object. Therefore you can not access the "parent" object from that reference.
I obviously did not understand the "reference" part of all that. I wish I understood why this doesn't work.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement