From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: ** X-Spam-Status: No, score=2.9 required=5.0 tests=BAYES_50,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,fe9dd44acd5462d1,start X-Google-Attributes: gid103734,public X-Google-Thread: 103376,fe9dd44acd5462d1,start X-Google-Attributes: gid103376,public X-Google-Thread: 10b6ac,fe9dd44acd5462d1,start X-Google-Attributes: gid10b6ac,public From: markovi@interlog.com Subject: Ada and X/Motif Date: 1997/06/03 Message-ID: <3394CED4.2BF7@interlog.com>#1/1 X-Deja-AN: 245960315 Distribution: inet Organization: InterLog Internet Services Reply-To: markovi@interlog.com Newsgroups: comp.lang.ada,comp.windows.x,comp.windows.x.motif Date: 1997-06-03T00:00:00+00:00 List-Id: -- I am programming a user interface in Ada using X/Motif routines. The interface between X and Ada is implemented through X bindings. I have the following problem: to create a colormap, allocate colors and store a color I call consequently the bindings for XCreateColormap, XAllocColorCells and XStoreColor. When these functions are called in the main ada routine, they work properly. If I call any (or all) of the above functions in a separate procedure and then call this procedure in the main routine, the XStoreColor function does not store the color in the colormap. There is no error message, just the function does not do what it is supposed to do. Any help? Thanks! ------ Uliyana Markova Array Systems Computing Inc. 1120 Finch Ave.West, 8th floor Toronto, Ontario M3J 3H7 e-mail: uliyana@array.ca