Mail Archives: djgpp/1997/03/05/15:19:20
Michael Phelps wrote:
> Unless you are using C++, you need to declare this as
> struct text_info *foo;
...
> My guess is that you want to call function gettextinfo like so:
> gettextinfo(foo);
This will cause a crash, since foo is not pointing to anything.
Try:
struct text_info foo;
gettextinfo(&foo);
--
Erik Max Francis, &tSftDotIotE / email: max AT alcyone DOT com
Alcyone Systems / web: http://www.alcyone.com/max/
San Jose, California, United States / icbm: 37 20 07 N 121 53 38 W
\
"I am become death, / destroyer of worlds."
/ J. Robert Oppenheimer (quoting legend)
- Raw text -