[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

3239.0. "RISC->VAX widget definition different" by MARX::BARLOW () Tue Aug 21 1990 15:17

    
    I am trying to debug a problem where some code works on a 
    RISC-based Ultrix system, but not on a VAX-based Ultrix
    system.  The only oddity that I can find lies in the
    definition of a Widget.  By the way, both files were compiled
    with debug.
    
    Widget toplevel_widget;
    On a RISC-based system :
            (dbx) print toplevel_widget
            (nil)
            (dbx) whatis toplevel_widget
            $integer *toplevel_widget;
            (dbx) whatis Widget
            [using nms_rpt_view_popup.GlobalCreated.widget]
            $integer *widget;
    
    On a VAX-based system :
            (dbx) print toplevel_widget
            couldn't resolve reference
            (dbx) whatis toplevel_widget
            Widget toplevel_widget;
            (dbx) whatis Widget
            typedef (class 0) *Widget;
    
    This toplevel_widget is later XtRealized and I get the error:
    
    X Protocol error detected by server:  not a valid window ID
      Failed request major op code 1 (X_CreateWindow)
      Failed request minor op code 0 (if applicable)
      ResourceID 0x0 in failed request (if applicable)
      Serial number of failed request 56
      Current serial number in output stream 57
    
    Have any of you ever seen this problem/ inconsistency?
    
    Thanks for any input!
    Rachael Barlow
    
    
T.RTitleUserPersonal
Name
DateLines
3239.1MARX::BARLOWTue Aug 21 1990 15:193
    
    (I also posted this note in DECWTOOLKIT and ULTRIX notes files)