comp.lang.ada
 help / color / mirror / Atom feed
From: Laurent St�ckli <STOECKLI@paranor.ch>
Subject: How to define and use an Action_Hook in ADA (using the VMS Bindings)
Date: 1997/12/03
Date: 1997-12-03T00:00:00+00:00	[thread overview]
Message-ID: <3485527F.7221E1D7@paranor.ch> (raw)


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
--------------------------------------------------------------------




             reply	other threads:[~1997-12-03  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-03  0:00 Laurent St�ckli [this message]
1997-12-06  0:00 ` How to define and use an Action_Hook in ADA (using the VMS Bindings) Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox