On Sunday 01 May 2005 06:27, Colin Carter wrote:
I am trying to use the following functions but I can't find them in 64 bit files. Does anybody have any idea, or can suggest equivalent functions?
hMenuBar = XmCreateMenuBar( hMainWindow, "Main Menu", args, NumArgs); (Function absent) hRC = XtCreateManagedWidget( "rowcol", XwrowColWidgetClass, > hMainWindow, NULL, 0); (Class absent)
Maybe you don't have everything installed for development regarding the Xt Intrinsics and Motif? (Correct paths to find include files? Can you find these files? Xm/Xm.h Xm/MainW.h Xm/CascadeB.h Correct paths for libriaries? Correct list of libraries for linking? ) Just a guess. I found some suggested guidance here: http://www.zone-h.org/files/48/X%20WIndow-Motif%20Programming.htm What I see in their example is that they're using XtVaCreateManagedWidget() instead of XtCreateManagedWidget(). It's been about 13 years since I've done X and Motif, so I'm certain what that change means. My O'Reilley X books are buried under a ton of junk. Also, they appear to have the order of things different. XtVaCreateManagedWidget() creates a handle that is later used by XmCreateMenuBar().