From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2931eba62c045467,start X-Google-Attributes: gid103376,public X-Google-Thread: 10b6ac,2931eba62c045467,start X-Google-Attributes: gid10b6ac,public From: Laurent St�ckli Subject: How to define and use an Action_Hook in ADA (using the VMS Bindings) Date: 1997/12/03 Message-ID: <3485527F.7221E1D7@paranor.ch>#1/1 X-Deja-AN: 294816791 X-Complaints-To: news@ubnnews.unisource.ch X-Trace: ubnnews.unisource.ch 881149152 7648 (None) 195.65.4.173 Organization: Unisource Business Networks Newsgroups: comp.windows.x.motif,comp.lang.ada Date: 1997-12-03T00:00:00+00:00 List-Id: Hi, I'm trying to define an Actionhook in ADA ( ;-( not my choice) using the DEC VMS ADA Motif-Bindings and I always get exceptions (constraint_error or access_violation) at the execution of the procedure when the parameters action_name or params are used. the definition in C is : typedef void (*XtActionHookProc)(Widget, XtPointer, String, XEvent*, String*, Cardinal*); Widget w; XtPointer client_data; String action_name; XEvent* event; String* params; Cardinal* num_params; Does anyone know what corresponding types I should use ? TIA Laurent -- -------------------------------------------------------------------- Laurent STOECKLI | stoecklil@post.ch - stoeckli@worldcom.ch Grand-Places 18 | private: +41 37 322.12.32 1700 Fribourg | office: +41 31 828.92.59 --------------------------------------------------------------------