juh@qt.IPA.FhG.de (Juergen Henke) (05/27/91)
I'm posting this for a colleague of mine, which has no news access... ------ Can anybody help me with the Phigs function 'pescape'? I'm working with DECPhigs V2.2 on a DECstation 5000 and need to get the window identifieres. My problem is now that I don't know how to pass Arguments to the function 'pescape'. Yes, i read the FM, and they say there: The syntax of the 'pescape' function ==================================== pescape(func_id, in, insize, out, outsize) Pint func_id; /* Escape identifier, it's a define and passed by Valye */ Pescapein in; /* Input data for the function, passed by Reference */ Pint insize; /* Input escape data record, passed by Value */ Pescapeout out; /* Output data for the function, passed by Reference */ Pint outsize; /* Output escape data record, passed by Reference */ Pescapein ========= typedef union { Pesapeinrec0001 esc1_idatarec; /* Escape input data record */ Pint dot_dot_dot; /* . . . */ /* More escape data structures */ } Pescapein; Pescapeout ========== typedef union { Pescapeoutrec0001 esc1_odatarec; /* Escape output data record */ Pint dot_dot_dot; /* . . . */ /* More escape data structures */ } Pescapeout; typedef struct { Pint dot_dot_dot; /* . . . */ /* implementation dependent */ } Pescapeoutrec0001; typedef int Pint; I have problems getting this function to work, because - i presume - i do something wrong when supplying the needed data to the function via Pescapein in. I tried putting in the data via an array, but get core dumps... :-( Thanks, Achmed. ------ -- _________________________________________________________________________ Juergen Henke, e-mail juh@qt.IPA.FhG.de, PSI-mail PSI%4505016002::JUH_IPA Fraunhofer-Institut f. Produktionstechnik u. Automatisierung Nobelstrasse 12, D-7000 Stuttgart 80