/******************************************************************************/
/*                                                                            */
/*  messages - Simple utility message routines                                */
/*                                                                            */
/******************************************************************************/

#define STRICT
#include <windows.h>
#include <commctrl.h>
#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <ctype.h>
#include "const.h"
#include "classes.h"
#include "funcdefs.h"
#include "vortex.rh"
#include "extern.h"

void error_message ( char *msg )
{
   MessageBox ( hwndFrame , msg , "ERROR" , MB_OK ) ;
}


void insufficient_memory ( char *msg )
{
   char fullmsg[256] ;

   strcpy_s ( fullmsg , "ERROR: Insufficient memory " ) ;
   strcat_s ( fullmsg , msg ) ;
   MessageBox ( hwndFrame , fullmsg , "ERROR" , MB_OK ) ;
}
