Re: CALL WORKER questions

2018-08-29 Thread Kirk Brooks via 4D_Tech
Jim, Miyako's post is a concise primer for modern 4D forms. Being able to pass a pointer to a dynamic form variable to another process, even one running on the server, is a great feature and one I've been using for several years. Let me share a couple of things I've learned doing this: - avoid

Re: CALL WORKER questions

2018-08-28 Thread Keisuke Miyako via 4D_Tech
there is a "poor man's interprocess messaging" technique, that works without workers or preemptive processes. on your form, you have objects. the data source can be form local (a.k.a.) variables. you get pointers to the objects (OBJECT Get pointer). you pass those objects to New process. the

CALL WORKER questions

2018-08-28 Thread Jim Crate via 4D_Tech
I am looking into using CALL WORKER / CALL FORM for an interface where certain actions will query a service, which could take up to a few seconds. Using CALL WORKER and CALL FORM would allow me to split the long-running part to the worker without having to roll my own IP messaging and the On