[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

913.0. "XT_OPEN_DISPLAY prob in Ada package" by GSRC::WEST (I'm just visiting this planet.) Fri Jun 09 1989 00:18

  I have QAR'd the following.  The Ada package is incorrect.


 The following is from DECW$DWT_.ADA.

 With the VAX bindings from Ada ARGCOUNT and ARGVALUE have little meaning
 since these are command line parameters.

 ARGCOUNT is passed by reference and therefore a 0 (zero) cannot be used
 here without causing an Access Violation.  Modified it to look like the
 call to Xt_Initialize which does work.


Was...
    procedure XT_OPEN_DISPLAY (
	RESULT		: out DISPLAY_TYPE;				-- return value
	APPLICATION_CONTEXT	: in  APP_CONTEXT_TYPE;
	DISPLAY_NAME	: in  STRING;
	APPLICATION_NAME	: in  STRING;
	CLASS_NAME	: in  STRING;
	URLIST		: in  UNSIGNED_LONGWORD_ARRAY;
	URCOUNT		: in  CARDINAL_TYPE;
	ARGCOUNT	: in  CARDINAL_TYPE;
	ARGVALUE	: in  ADDRESS_ARRAY);

Should be... 
    procedure XT_OPEN_DISPLAY (
	RESULT		: out DISPLAY_TYPE;				-- return value
	APPLICATION_CONTEXT	: in  APP_CONTEXT_TYPE;
	DISPLAY_NAME	: in  STRING;
	APPLICATION_NAME	: in  STRING;
	CLASS_NAME	: in  STRING;
	URLIST		: in  UNSIGNED_LONGWORD_ARRAY;
	URCOUNT		: in  CARDINAL_TYPE;
>>>	ARGCOUNT	: in out CARDINAL_TYPE;
>>>	ARGVALUE	: in  ADDRESS_ARRAY := ADDRESS_ARRAY'NULL_PARAMETER);
 

T.RTitleUserPersonal
Name
DateLines
913.1HARBOR::DECWINDOWS_PROGRAMMINGLESLIE::LESLIEAndy ��� LeslieFri Jun 09 1989 03:216
    HARBOR::DECWINDOWS_PROGRAMMING might be a better place to report this.
    
    KP7 etc etc
    
    Andy

913.2QARDECWIN::JACKIEJackie FergusonFri Jun 09 1989 09:502
the QAR system might be a better place to report this.

913.317305::WESTI'm just visiting this planet.Tue Jun 13 1989 23:4314
RE: .1

  Out of the possible conferences, I thought that this one would get the
most visibility.

RE: .2

  I already have, as pointed out by the first line in .0


					-=> Jim <=-


913.4stop playing with your widget or you'll go blindVMSSPT::TCARRThu Jun 15 1989 10:025
    
     testy,testy....such grouchy people in this notesfile. BTW we got
    a firefox in our group. Neither me nor bob own it but we can use
    it if we want.

913.5QUARK::LIONELB - L - Oh, I don&#039;t know!Thu Jun 15 1989 11:2813
Re: .0

The QAR is what is necessary to get the problem fixed.  It looks as if
you have the right solution.

The Ada bindings were largely derived automatically from the SDL sources
provided by the DECwindows developers.  Many errors were found during
the development process.  It's not surprising to me that a few slipped by.

Thanks for reporting the problem.

				Steve