Problems with Intro | developer.brewmp.com Problems with Intro | developer.brewmp.com

Developer

Problems with Intro

Forums:

Hi, I'm about to finish my application so I started developing the intro (animation) which will appear when the user clicks on the app icon and after the animation is finished the application will start.
What I did was another file of called "intro.c" this file was included on the workspace and on the main file "app.c" by using #include "app.c"
Both files are on same folder.

The code for the "intro.c" is:

//This file shows the copyright logo when the application is started.
#define INTRO_SIZE 128
#define INTRO_TIME 1408

static void IntroStart(myapp_t * pApp)
{
IImage * pIntroStart;

IDISPLAY_ClearScreen(pApp->a.m_pIDisplay);

pApp->pIntroStart= ISHELL_LoadImage(pMe->m_pIShell, "Intro.bmp");

IIMAGE_SetParm(pApp->pIntroStart, IPARM_CXFRAME, 128, 0);
IIMAGE_SetParm(pApp->pIntroStart, IPARM_NFRAMES, 10, 0);
IIMAGE_SetParm(pApp->pIntroStart, IPARM_RATE, 60, 0);

IIMAGE_Start(pApp->pIntroStart, ((pApp->di.cxScreen/2) - (INTRO_SIZE/2)), ((pApp->di.cyScreen/2) - (INTRO_SIZE/2)));

//IIMAGE_Stop(pApp->pIntroStart);
//IIMAGE_Release(pApp->pIntroStart);

And when I try to compile the file not this but the "app.c" which is calling this function it returns me some errors... but I couldn't find them... can you help me ?

--------------------Configuration: App- Win32 Debug--------------------
Compiling...
app.c
d:\intro.c(5) : error C2143: syntax error : missing ')' before '*'
d:\intro.c(5) : error C2143: syntax error : missing '{' before '*'
d:\intro.c(5) : error C2059: syntax error : ')'
d:\intro.c(6) : error C2054: expected '(' to follow pApp
Error executing cl.exe.

App.obj - 4 error(s), 0 warning(s)