DISCUSSION
Customer is uncertain of how to implement named pipes and the > XtAppAddInput function with his application using Exceed XDK. > > Client wants some sample code on the implementation.
RESOLUTION
To run the sample code that will be listed
below, the customer can build from the source hellomotif.c file. This file can be found in
\xdk\src\hellomotif directory.
#ifdef REV_INFO
#ifndef lint
//static char rcsid[] = "$RCSfile: hellomotif.c,v $ $Revision: 1.8 $
$Date: 92/03/13 15:36:41 $"
#endif
#endif
#include
#include
#include //HCL
#include /* Motif Toolkit */
#include /* Mrm */
static MrmHierarchy s_MrmHierarchy; /* MRM database
hierarch id */
static char *vec[]={"hellomotif.uid"};
/* MRM database
file list */
static MrmCode class ;
static void helloworld_button_activate(); static void helloworld_callback ( XtPointer
A_closure, int *a_source, XtInputId *a_id ); static MrmCount regnum = 1 ;
static MrmRegisterArg regvec[] = {
{"helloworld_button_activate",(XtPointer)helloworld_button_activate}
};
Display *display;
XtAppContext
ACTION
For further information please contact Hummingbird Technical
Support


Print View
Contact Me