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 |
Can anybody clarify the data-types (mechanism) that I need to use to get the XT$CREATE_APPLICATION_SHELL working from Pascal, it's driving me up the wall trying to get the argument data types right (I'm just getting the old ACCVIO at the moment). Any Pascal examples welcome, I've already got HELLOWORLD. Any info appreciated Rich
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1165.1 | Go around the side | EPIK::BUEHLER | The IRS believes in effort: tax yourself | Tue Jul 25 1989 15:35 | 29 |
I also use the PASCAL bindings and I just looked at my code and noticed that this is one of the routines that I gave up on and went with the C binding instead. I called XtAppCreateShell and used lots of %IMMED mechanism specifiers since that's how C takes data that's 4 bytes or smaller (vague statement). [HIDDEN] FUNCTION XtAppCreateShell(shell_name : char_ptr; class_name : char_ptr; class : UNSIGNED; display : UNSIGNED; argv : UNSIGNED; argc : INTEGER) : DWT$WIDGET; EXTERN; root := XtAppCreateShell(%IMMED shell_name, %IMMED shell_class_name, %IMMED applicationShellWidgetClass, %IMMED display, %IMMED 0, %IMMED 0); Where shell_name and shell_class_name are both pointers to zero terminated character strings. John | |||||
1165.2 | example available | FEGPX::SWEENEY | Patrick Sweeney in Hong Kong | Tue Jan 09 1990 06:04 | 2 |
Note 321 in DW_EXAMPLES contains a complete PASCAL example using the VMS bindings. |