On Thu, 25 Feb 2010, Maurilio Longo wrote: Hi,
> by the way, how comes that a call to ::atStart() does not give an error given > I've no ::atStart() method in a class I've sublcassed from Thread() ? > I'm referring to the ::execute() method which calls ::atStart() without > testing for its presence. I guess you are talking about :start() method not execute. It works because in Clipper and [x]Harbour there is no difference between messages send to access instance variables and to execute method. We have ::atStart variable so ::atStart() execute default access function which push this variable on the stack. BTW please also note that in xbase++ variables are also not accessed directly but using messages which executes some methods and you can define your own ACCESS and ASSIGN methods. It was the reason why I asked about threadID conversion. The fact that sth is documented as instance variable does not have to mean that it's real instance var. It can be sth completely different encapsulated in ACCESS/ASSIGN methods. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
