**0**

# Teej's Tutorial Questions

Started by Alpheus, Jan 23 2005 01:12 PM

13 replies to this topic

###
#2
Members - Reputation: **122**

Posted 23 January 2005 - 01:15 PM

me too hehe, well here is for the first question,

why does this not work?

errors:

why does this not work?

#include <windows.h>

int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {

// The main loop. This will call Game_Main() repeatedly, stopping

// only to process Windows messages, and terminating with WM_QUIT.

while(TRUE)

{

// Grab any Windows messages that are for us

if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))

{

// Send these messages to WindowProc

if (msg.message == WM_QUIT)

break;

TranslateMessage(&msg);

DispatchMessage(&msg);

}

// Call our Game function

else if (G.bActive) Game_Main();

}

//////////////////////////////////////////////////////////////////////////////

// WindowProc

//

// Whenever the operating system has a message for us, it ends up here. If

// we're interested in any particular message, we have to provide code to

// handle it.

//

LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

{

// Process the window message

switch (msg)

{

case WM_ACTIVATE:

// The active state of our window is changing (e.g. ALT-TAB).

// We keep track of this so that we don't bother drawing

// frames of animation if it can't be seen anyhow...

G.bActive = !((BOOL)HIWORD(wParam));

return 0L;

case WM_KEYDOWN:

if (wParam == VK_ESCAPE)

{

// The ESCAPE key quits...

G.bQuitting = TRUE;

PostQuitMessage(0);

return 0L;

}

break;

case WM_DESTROY:

// We're done; quit the main loop

PostQuitMessage(0);

return 0L;

}

// Pass all other messages on for default processing

return DefWindowProc(hWnd, msg, wParam, lParam);

}

}

errors:

Compiler: Default compiler

Building Makefile: "C:\Documents and Settings\HP_Owner\Desktop\C++\myproj\Makefile.win"

Executing make...

make.exe -f "C:\Documents and Settings\HP_Owner\Desktop\C++\myproj\Makefile.win" all

g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"

main.cpp: In function `int WinMain(HINSTANCE__*, HINSTANCE__*, CHAR*, int)':

main.cpp:8: error: `msg' undeclared (first use this function)

main.cpp:8: error: (Each undeclared identifier is reported only once for each

function it appears in.)

main.cpp:17: error: `G' undeclared (first use this function)

main.cpp:17: error: `Game_Main' undeclared (first use this function)

main.cpp:27: error: syntax error before `{' token

main.cpp:38: error: case label `256' not within a switch statement

main.cpp:39: error: `wParam' undeclared (first use this function)

main.cpp:48: error: case label `2' not within a switch statement

main.cpp:46: error: break statement not within loop or switch

main.cpp: At global scope:

main.cpp:55: error: syntax error before `return'

main.cpp:57:2: warning: no newline at end of file

make.exe: *** [main.o] Error 1

Execution terminated

Meta AdamOne of a million noob C++ programmers.

###
#5
Members - Reputation: **128**

Posted 23 January 2005 - 01:26 PM

try this code

[Edit: Your formatting was absolutely bonkers! I hope it's not your IDE generating such inconsistent whitespace! - Oluseyi]

[Edited by - Oluseyi on January 26, 2005 1:26:20 AM]

#include <windows.h>

#include <stdio.h>

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,

PSTR szCmdLine, int iCmdShow)

{

HWND hwnd;

MSG msg;

WNDCLASSEX wndclass;

wndclass.cbSize = sizeof (wndclass);

wndclass.style = CS_HREDRAW | CS_VREDRAW;

wndclass.lpfnWndProc = WndProc;

wndclass.cbClsExtra = 0;

wndclass.cbWndExtra = 0;

wndclass.hInstance = hInstance;

wndclass.hIcon = LoadIcon (NULL, IDI_WINLOGO);

wndclass.hCursor = LoadCursor (NULL, IDC_ARROW);

wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);

wndclass.lpszMenuName = NULL;

wndclass.lpszClassName = "Window Class 1";

wndclass.hIconSm = LoadIcon (NULL, IDI_WINLOGO);

RegisterClassEx (&wndclass);

hwnd = CreateWindow ("Window Class 1",

"My First Window",

WS_OVERLAPPEDWINDOW,

CW_USEDEFAULT,

CW_USEDEFAULT,

CW_USEDEFAULT,

CW_USEDEFAULT,

NULL,

NULL,

hInstance,

NULL);

ShowWindow (hwnd, iCmdShow);

while (GetMessage (&msg, NULL, 0, 0))

{

TranslateMessage (&msg);

DispatchMessage (&msg);

}

UnregisterClass("Window Class 1",hInstance);

return msg.wParam;

}

LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)

{

switch (iMsg)

{

case WM_CREATE:

break;

case WM_SIZE:

break;

case WM_PAINT:

break;

case WM_DESTROY:

PostQuitMessage(0);

}

return DefWindowProc (hwnd, iMsg, wParam, lParam);

}

[Edit: Your formatting was absolutely bonkers! I hope it's not your IDE generating such inconsistent whitespace! - Oluseyi]

[Edited by - Oluseyi on January 26, 2005 1:26:20 AM]

###
#6
Members - Reputation: **128**

Posted 23 January 2005 - 01:37 PM

wndclass.cbSize = sizeof (wndclass); // Here we set the size of the wndclass. You will see this a lot in windows, it's kinda odd. We use the "sizeof()" function to tell windows the size of our class.

wndclass.style = CS_HREDRAW | CS_VREDRAW; // The style we want is Verticle-Redraw and Horizontal-Redraw

wndclass.lpfnWndProc = WndProc; // Here is where we assing our CALLBACK function. Remember up above our function "WndProc"? This just tells windows which function it needs to call to check for window messages.

wndclass.cbClsExtra = 0; // We don't want to allocate any extra bytes for a class (useless for us)

wndclass.cbWndExtra = 0; // Another useless thing for us. I believe these last 2 are initialized to 0 anyway.

wndclass.hInstance = hInstance; // We assign our hInstance to our window. Once again, You can have several instances of a program, so this keeps track of the current one.

wndclass.hIcon = LoadIcon (NULL, IDI_WINLOGO); // We call a function called LoadIcon that returns information about what icon we want. I chose the Wndows Logo. The NULL is in place of a hInstance. We don't need one in this case.

wndclass.hCursor = LoadCursor (NULL, IDC_ARROW); // We call a function called LoadCursor that returns information about what cursor we want, I chose an arrow. The NULL is in place of a hInstance. We don't need one in this case.

// Here we set the background color. GetStockObject() returns a void so we must "cast" (turn it into) it as a HBRUSH to be compatible with the variable "hbrBackground". I chose GRAY

wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);

wndclass.lpszMenuName = NULL; // We don't have a menu, so let's set this to NULL.

wndclass.lpszClassName = "Window Class 1"; // Here we set a name for our class, to distinguish it against others. We need to use this name for later when we create the window.

wndclass.hIconSm = LoadIcon (NULL, IDI_WINLOGO); // We want the icon to be the windows logo. This is the icon in the top left corner of the window.

[/source/

###
#7
Members - Reputation: **122**

Posted 24 January 2005 - 01:15 PM

Le Linker Errors for BaseCode1:

[source lang ="cpp"]

GameMain.o(.text+0x10):GameMain.cpp: undefined reference to `timeGetTime@0'

GameMain.o(.text+0x36):GameMain.cpp: undefined reference to `timeGetTime@0'

InitTerm.o(.text+0xb9):InitTerm.cpp: undefined reference to `timeBeginPeriod@4'

InitTerm.o(.text+0xef):InitTerm.cpp: undefined reference to `IID_IDirectDraw7'

InitTerm.o(.text+0x4a2):InitTerm.cpp: undefined reference to `IID_IDirectInput7A'

InitTerm.o(.text+0x4f1):InitTerm.cpp: undefined reference to `IID_IDirectInputDevice7A'

InitTerm.o(.text+0x4f9):InitTerm.cpp: undefined reference to `GUID_SysKeyboard'

InitTerm.o(.text+0x637):InitTerm.cpp: undefined reference to `DirectSoundCreate@12'

InitTerm.o(.text+0xc54):InitTerm.cpp: undefined reference to `timeEndPeriod@4'

Utils.o(.text+0x778):Utils.cpp: undefined reference to `mmioDescend@16'

Utils.o(.text+0x7d8):Utils.cpp: undefined reference to `mmioDescend@16'

Utils.o(.text+0x817):Utils.cpp: undefined reference to `mmioRead@12'

Utils.o(.text+0x8a1):Utils.cpp: undefined reference to `mmioRead@12'

Utils.o(.text+0x931):Utils.cpp: undefined reference to `mmioRead@12'

Utils.o(.text+0x977):Utils.cpp: undefined reference to `mmioAscend@12'

Utils.o(.text+0x9d4):Utils.cpp: undefined reference to `mmioOpenA@12'

Utils.o(.text+0xa1e):Utils.cpp: undefined reference to `mmioClose@8'

Utils.o(.text+0xa66):Utils.cpp: undefined reference to `mmioSeek@12'

Utils.o(.text+0xaa3):Utils.cpp: undefined reference to `mmioDescend@16'

Utils.o(.text+0xae9):Utils.cpp: undefined reference to `mmioGetInfo@12'

Utils.o(.text+0xb5a):Utils.cpp: undefined reference to `mmioAdvance@12'

Utils.o(.text+0xbb1):Utils.cpp: undefined reference to `mmioSetInfo@12'

Utils.o(.text+0xd54):Utils.cpp: undefined reference to `mmioClose@8'

make.exe: *** [T_GameDev.exe] Error 1

Execution terminated

le done.

Meta AdamOne of a million noob C++ programmers.

###
#8
Crossbones+ - Reputation: **6490**

Posted 24 January 2005 - 04:01 PM

you'll need to go into Tools, Compiler Options, and enter these as is:

then check add to linker options

also under directories you'll have to add the directx lib and directx include. they will be whereever you install the DXSDK.

-lwinmm -lddraw -ldxguid -ldinput -ldsound

then check add to linker options

also under directories you'll have to add the directx lib and directx include. they will be whereever you install the DXSDK.

###
#9
Members - Reputation: **122**

Posted 25 January 2005 - 01:30 PM

added that, and now i got

[Edit: Switched to [source] tags to preserve page width.

[Edited by - Oluseyi on January 26, 2005 2:30:09 AM]

g++.exe -c BaseCode3c/BaseCode3c/WinBase.cpp -o BaseCode3c/BaseCode3c/WinBase.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"

windres.exe -i Project1_private.rc --input-format=rc -o Project1_private.res -O coff

g++.exe BaseCode3c/BaseCode3c/GameMain.o BaseCode3c/BaseCode3c/InitTerm.o BaseCode3c/BaseCode3c/Utils.o BaseCode3c/BaseCode3c/WinBase.o Project1_private.res -o "Project1.exe" -L"C:/Dev-Cpp/lib" -mwindows -lwinmm -lddraw -ldxguid -ldinput -ldsound

Warning: .drectve `%.*s' unrecognized

BaseCode3c/BaseCode3c/InitTerm.o(.text+0x607):InitTerm.cpp: undefined reference to `DirectSoundCreate@12'

make.exe: *** [Project1.exe] Error 1

Execution terminated

[Edit: Switched to [source] tags to preserve page width.

[Edited by - Oluseyi on January 26, 2005 2:30:09 AM]

###
#11
Crossbones+ - Reputation: **6490**

Posted 25 January 2005 - 07:32 PM

also....

change

to

in case you haven't already.

//////////////////////////////////////////////////////////////////////////////

// _____ _ _ _ _ //

// / ____| | | | | | | | //

// | | __| | ___ | |__ __ _| |___ | |__ //

// | | |_ | |/ _ \| '_ \ / _` | / __| | '_ \ //

// | |__| | | (_) | |_) | (_| | \__ \ _ | | | | //

// \_____|_|\___/|_.__/ \__,_|_|___/(_)|_| |_| //

// //

// //

//////////////////////////////////////////////////////////////////////////////

// Ensure that this header file is only processed once.

#ifndef _H_GLOBALS

#define _H_GLOBALS

// This define speeds up build times for non-MFC applications.

#ifndef WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

#endif

// These tell DirectX which versions we intend to use.

#define DIRECTINPUT_VERSION 0x0600

#define DIRECTDRAW_VERSION 0x0600

#define DIRECTSOUND_VERSION 0x0600

//----------------------------------------------------------------------------

// Includes

//----------------------------------------------------------------------------

#include <windows.h>

#include <stdio.h>

#include <time.h>

#include <mmsystem.h>

//#include <mmreg.h>

#include <ddraw.h>

#include <dinput.h>

#include <dsound.h>

//----------------------------------------------------------------------------

// Function Prototypes

//----------------------------------------------------------------------------

// WinBase.cpp

int WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int);

LRESULT CALLBACK WindowProc(HWND, UINT, WPARAM, LPARAM);

// InitTerm.cpp

bool Game_Initialize();

void Game_Terminate();

bool InitFail(LPCSTR szErrText, int nErrorCode);

HRESULT RestoreAll();

// GameMain.cpp

void Game_Main();

//----------------------------------------------------------------------------

// Global Defines

//----------------------------------------------------------------------------

#define GAME_NAME "Name"

#define GAME_TITLE "Title"

#define SCREEN_WIDTH 640

#define SCREEN_HEIGHT 480

#define SCREEN_BITDEPTH 16

//----------------------------------------------------------------------------

// Global Variables

//----------------------------------------------------------------------------

#ifndef GLOBALS_OWNERSHIP

extern

#endif

struct

{

HWND hWnd; // Handle to the main window

HINSTANCE hInstance; // Application instance

BOOL bActive; // Are we in the foreground?

BOOL bQuitting; // Set when the program is terminating

// DirectDraw Variables

LPDIRECTDRAW lpDD;

LPDIRECTDRAWSURFACE lpDDSPrimary;

LPDIRECTDRAWSURFACE lpDDSBack;

LPDIRECTDRAWSURFACE lpDDSRes;

LPDIRECTDRAWPALETTE lpDDPalette;

// DirectInput Variables

// LPDIRECTINPUT7 lpDI;

// LPDIRECTINPUTDEVICE lpDIKeyboard;

// UCHAR KeyState[256];

// DirectSound Variables

// LPDIRECTSOUND lpDS;

// LPDIRECTSOUNDBUFFER lpDSB_Sample;

} G;

#endif // _H_GLOBALS

// ---------------------------------------------------------------------------

// Globals.h - End of file

// ---------------------------------------------------------------------------

change

#define DIRECTINPUT_VERSION 0x0600

#define DIRECTDRAW_VERSION 0x0600

#define DIRECTSOUND_VERSION 0x0600

to

#define DIRECTINPUT_VERSION 0x0700

#define DIRECTDRAW_VERSION 0x0700

#define DIRECTSOUND_VERSION 0x0700

in case you haven't already.

###
#12
Members - Reputation: **2076**

Posted 25 January 2005 - 08:10 PM

Quote:There's no point in having case labels for the messages if you don't actually handle them (ie, remove

Original post by ostamo1LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)

{

switch (iMsg)

{

case WM_CREATE:

break;

case WM_SIZE:

break;

case WM_PAINT:

break;

case WM_DESTROY:

PostQuitMessage(0);

}

`WM_CREATE`,

`WM_SIZE`and

`WM_PAINT`). Besides, you don't need those three for basic DirectX apps.

As for

`WM_DESTROY`, if you handle that message, you should return zero. See here for more information.

###
#13
Members - Reputation: **122**

Posted 30 January 2005 - 01:31 PM

errors of basecode1:

[soucre]

Compiler: Default compiler

Building Makefile: "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win"

Executing make...

make.exe -f "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win" all

g++.exe -c InitTerm.cpp -o InitTerm.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"

In file included from InitTerm.cpp:12:

Globals.h:109:79: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:12:10: #include nested too deeply

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:59: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h:59: error: (Each undeclared identifier is reported only once for each

function it appears in.)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:89: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' used prior to declaration

Utils.h: At global scope:

Utils.h:430: error: syntax error before `::' token

Utils.h:440: error: syntax error before `::' token

Utils.h:443: error: ISO C++ forbids declaration of `m_pwfx' with no type

Utils.h:443: warning: initialization to non-pointer type `int' from NULL

Utils.h:443: warning: argument to non-pointer type `int' from NULL

Utils.h:443: error: syntax error before `}' token

Utils.h:459:10: #include nested too deeply

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:59: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:89: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h: At global scope:

Utils.h:431: error: redefinition of `CWaveSoundRead::CWaveSoundRead()'

Utils.h:431: error: `CWaveSoundRead::CWaveSoundRead()' previously defined here

Utils.h:431: error: no `CWaveSoundRead::CWaveSoundRead()' member function

declared in class `CWaveSoundRead'

Utils.h:432: confused by earlier errors, bailing out

make.exe: *** [InitTerm.o] Error 1

Execution terminated

[/source]

[soucre]

Compiler: Default compiler

Building Makefile: "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win"

Executing make...

make.exe -f "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win" all

g++.exe -c InitTerm.cpp -o InitTerm.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"

In file included from InitTerm.cpp:12:

Globals.h:109:79: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:12:10: #include nested too deeply

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:59: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h:59: error: (Each undeclared identifier is reported only once for each

function it appears in.)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:89: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' used prior to declaration

Utils.h: At global scope:

Utils.h:430: error: syntax error before `::' token

Utils.h:440: error: syntax error before `::' token

Utils.h:443: error: ISO C++ forbids declaration of `m_pwfx' with no type

Utils.h:443: warning: initialization to non-pointer type `int' from NULL

Utils.h:443: warning: argument to non-pointer type `int' from NULL

Utils.h:443: error: syntax error before `}' token

Utils.h:459:10: #include nested too deeply

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:59: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:89: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h: At global scope:

Utils.h:431: error: redefinition of `CWaveSoundRead::CWaveSoundRead()'

Utils.h:431: error: `CWaveSoundRead::CWaveSoundRead()' previously defined here

Utils.h:431: error: no `CWaveSoundRead::CWaveSoundRead()' member function

declared in class `CWaveSoundRead'

Utils.h:432: confused by earlier errors, bailing out

make.exe: *** [InitTerm.o] Error 1

Execution terminated

[/source]

Meta AdamOne of a million noob C++ programmers.

###
#14
Members - Reputation: **440**

Posted 02 February 2005 - 10:53 AM

[quote]

errors of basecode1:

[/quote]

*Original post by Meta Adam*errors of basecode1:

Compiler: Default compiler

Building Makefile: "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win"

Executing make...

make.exe -f "C:\Documents and Settings\HP_Owner\Desktop\C++\T_GameDev\Makefile.win" all

g++.exe -c InitTerm.cpp -o InitTerm.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include"

In file included from InitTerm.cpp:12:

Globals.h:109:79: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:12:10: #include nested too deeply

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:59: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h:59: error: (Each undeclared identifier is reported only once for each

function it appears in.)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:89: error: `Utils_CopyBitmap' undeclared (first use this function)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' used prior to declaration

Utils.h: At global scope:

Utils.h:430: error: syntax error before `::' token

Utils.h:440: error: syntax error before `::' token

Utils.h:443: error: ISO C++ forbids declaration of `m_pwfx' with no type

Utils.h:443: warning: initialization to non-pointer type `int' from NULL

Utils.h:443: warning: argument to non-pointer type `int' from NULL

Utils.h:443: error: syntax error before `}' token

Utils.h:459:10: #include nested too deeply

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h:506:3: warning: no newline at end of file

In file included from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from Utils.h:12,

from InitTerm.cpp:13:

Utils.h: In function `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)':

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:34: error: redefinition of `IDirectDrawSurface*

Utils_LoadBitmap(IDirectDraw*, const CHAR*, int, int)'

Utils.h:34: error: `IDirectDrawSurface* Utils_LoadBitmap(IDirectDraw*, const

CHAR*, int, int)' previously defined here

Utils.h:59: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)':

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:79: error: redefinition of `long int

Utils_ReloadBitmap(IDirectDrawSurface*, const CHAR*)'

Utils.h:79: error: `long int Utils_ReloadBitmap(IDirectDrawSurface*, const

CHAR*)' previously defined here

Utils.h:89: error: call of overloaded `Utils_CopyBitmap(IDirectDrawSurface*&,

HBITMAP__*&, int, int, int, int)' is ambiguous

Utils.h:112: error: candidates are: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h:112: error: long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)

Utils.h: In function `long int Utils_CopyBitmap(IDirectDrawSurface*,

HBITMAP__*, int, int, int, int)':

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h:112: error: redefinition of `long int

Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*, int, int, int, int)'

Utils.h:112: error: `long int Utils_CopyBitmap(IDirectDrawSurface*, HBITMAP__*,

int, int, int, int)' previously defined here

Utils.h: In function `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)':

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h:167: error: redefinition of `IDirectDrawPalette*

Utils_LoadPalette(IDirectDraw*, const CHAR*)'

Utils.h:167: error: `IDirectDrawPalette* Utils_LoadPalette(IDirectDraw*, const

CHAR*)' previously defined here

Utils.h: In function `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)':

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h:248: error: redefinition of `long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)'

Utils.h:248: error: `long int ReadMMIO(HMMIO__*, MMCKINFO*, WAVEFORMATEX**)'

previously defined here

Utils.h: In function `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)':

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:332: error: redefinition of `long int WaveOpenFile(CHAR*, HMMIO__**,

WAVEFORMATEX**, MMCKINFO*)'

Utils.h:332: error: `long int WaveOpenFile(CHAR*, HMMIO__**, WAVEFORMATEX**,

MMCKINFO*)' previously defined here

Utils.h:339: error: call of overloaded `ReadMMIO(HMMIO__*&, MMCKINFO*&,

WAVEFORMATEX**&)' is ambiguous

Utils.h:248: error: candidates are: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h:248: error: long int ReadMMIO(HMMIO__*, MMCKINFO*,

WAVEFORMATEX**)

Utils.h: In function `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)':

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h:361: error: redefinition of `long int WaveStartDataRead(HMMIO__**,

MMCKINFO*, MMCKINFO*)'

Utils.h:361: error: `long int WaveStartDataRead(HMMIO__**, MMCKINFO*,

MMCKINFO*)' previously defined here

Utils.h: In function `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)':

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h:387: error: redefinition of `long int WaveReadFile(HMMIO__*, unsigned

int, BYTE*, MMCKINFO*, UINT*)'

Utils.h:387: error: `long int WaveReadFile(HMMIO__*, unsigned int, BYTE*,

MMCKINFO*, UINT*)' previously defined here

Utils.h: At global scope:

Utils.h:431: error: redefinition of `CWaveSoundRead::CWaveSoundRead()'

Utils.h:431: error: `CWaveSoundRead::CWaveSoundRead()' previously defined here

Utils.h:431: error: no `CWaveSoundRead::CWaveSoundRead()' member function

declared in class `CWaveSoundRead'

Utils.h:432: confused by earlier errors, bailing out

make.exe: *** [InitTerm.o] Error 1

Execution terminated