[Oorexx-devel] Object Context

2014-02-18 Thread David Ashley
I am in the middle of writing the new IPv6 sockets API and I have run into a little problem. I have a C++ method API that looks like this. RexxMethod3(int, // Return type orxSetSoctOpt6,// Object_method name int, level,//

Re: [Oorexx-devel] Object Context

2014-02-18 Thread Mark Miesfeld
I'm not sure you can David. I think you need to use SendMessage(). If one of the attributes name is myVal, then use something like: RexxObjectPtr attribtueValue = context-SendMessage0(val, myVal); The other thing you could do is define a CSelf for the val object and use one of the get CSelf

Re: [Oorexx-devel] Object Context

2014-02-18 Thread Rick McGuire
You cannot get the object context for another object, but you can send a message to the other object to invoke the appropriate attribute method. Rick On Tue, Feb 18, 2014 at 12:20 PM, David Ashley w.david.ash...@gmail.comwrote: I am in the middle of writing the new IPv6 sockets API and I have