From: "Ilari Kaartinen" Newsgroups: comp.os.msdos.djgpp Subject: Re: What's wrong? (C) Date: Sat, 10 Apr 1999 15:06:44 +0300 Organization: TPO Internet Lines: 36 Message-ID: <7ener4$b2r$1@news.koti.tpo.fi> References: <7el4qv$gf6$1 AT news DOT koti DOT tpo DOT fi> <7emt1u$fd3$1 AT news1 DOT rmi DOT net> NNTP-Posting-Host: s.kurvi.phpoint.net X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I don't understand what you are saying, but i used rl_format() like this. (and that "if(strcmp(string,__RL_GAME__))" was a mistake, uups. It should be "if(strcmp(string,__RL_GAME__)==0)", but still..) ------ #include "rl.h" int main (void) { TXT_BUFFER *screen; // I use Wazoo opti_ options; game_ game; play_ player; rl_format(__RL_GAME__,game,player); return 0; } ------ And I hoped, that I could set game.run from rl_format(). - Ilari David Whitcombe kirjoitti viestissä <7emt1u$fd3$1 AT news1 DOT rmi DOT net>... >Are you calling rl_format() with an allocated pointer to type game_? >Or is it just a pointer with no allocation? > >That'd make it choke. >Someone else may see something different. >