comp.lang.ada
 help / color / mirror / Atom feed
* How to define and use an Action_Hook in ADA (using the VMS Bindings)
@ 1997-12-03  0:00 Laurent St�ckli
  1997-12-06  0:00 ` Matthew Heaney
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent St�ckli @ 1997-12-03  0:00 UTC (permalink / 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
--------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-06  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-03  0:00 How to define and use an Action_Hook in ADA (using the VMS Bindings) Laurent St�ckli
1997-12-06  0:00 ` Matthew Heaney

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