[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
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 |
3037.0. "DwtGetNextSegment problem
" by DSSDEV::PERRON () Thu Jul 05 1990 11:31
I'v built a callback routine for the file selector widget
that looks like this:
callback( Widget widget, int * tag, DwtFileSelectionCallbackStruct * r )
when using the two fields
r->value
r->dirmask
I get a access to location zero on VMS and a nonaligned, put fixed up
access on RISC-ultix. When doing the following
DwtCompStringContex context;
DwtCompString cs_value= (DwtCompString) r->value;
DwtInitGetSegment( &context, cs_value );
char * text;
long charset;
Boolean dir;
long lang, rend;
DwtGetNextSegment( &context, &text, &charset, &dir, &lang, &rend );
NOTE:
the doc. says use a:
char * text;
I think this sould read:
char ** text;
I get the problem with the call to DwtGetNextSegment.....
Any thoughts or sample code to look at ??
Let me thank you now in advance.....
Frank Peron
T.R | Title | User | Personal Name | Date | Lines |
---|
3037.1 | | TLE::D_SMITH | | Thu Jul 05 1990 12:19 | 8 |
| This one is getting popular...
Your declaration
Boolean dir
generates a byte but the documentation and code insist on a longword.
|