Slimelite BBS

C and GetMsg() ?

Back to AMOS_ECHO

From Adam Strange · 1996-04-13 05:18 · #75605 in AMOS_ECHO

Hi everyone,

struct IntuiMessage *msg;

            while (msg = GT_GetIMsg(mywin->UserPort)) {

Is this the correct way to handle messages from a window like for
excample the IDCMP_CLOSEWINDOW.

In 'E' I would have used GetMsg() but I had to change the 
struct IntuiMessage to Message in the 'C' version, which is the
wrong structure.
Which call should I use and if it's GetMsg() how do I use it?

Also, is it possible to get DICE to use a different editor, like say
GED. When I compile for GED it then returns the errors in DME. Is it
possible to get GED to report the errors ?

The change from E to C is not going as smoothly as hoped and the
disprin bottle is near empty. :^(

Thanks,

     ___________                        __
   /\  -------    Fido: 2:443/13.83  __///
  /~~\dam.~~         Team AMIGA      \XX/
  

--- Spot 1.3a Unregistered
 * Origin: Adam's Apple (2:443/13.83)