#pragma once
#include <winuser.h>
#include <math.h>
#include "Utils.h"

#define		SW_VERSION						5
#define		SW_SUB_VERSION					03

// timeouts for socket connections
#define     TCP_WAITFOREVER				0

// TCP/IP errors, in addition to WSAGetLastError
#define		SOC_ERR_INVLD_READ_LENGTH	50
#define		SOC_ERR_0_BYTES_READ    	51

// messages
enum
{
   WM_INIT_GUI                   = WM_APP+10,

};

// defaults
#define METER_TO_FEET				3.2808399

#define X_VOLTS_INC_INIT   0.1
#define Y_VOLTS_INC_INIT   0.1

#define INITIALIZE			FALSE
#define SET_DATA  			FALSE
#define RETRIEVE				TRUE

const double PI = 4.0 * atan(1.0);
const double DEG_TO_RAD = (double)PI / 180.0f;
const double RAD_TO_DEG = 180.0f / (double)PI;

	
