guys please help me how to overcome this problem...

When i doing to create a .dll project on VC++6.0.......thehe my code structure was that..,,,,, ERROR MESSAGE during compile time is:::fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.

program1::::::The ADLL.cpp
// Adll.cpp : Defines the entry point for the DLL application.
#include "stdafx.h"
#include "Header.h"

int addINT(int a,int b){ 
   return add(a,b);
BOOL APIENTRY DllMain( HANDLE hModule,  DWORD  ul_reason_for_call,   LPVOID pReserved )
{    return TRUE;
2)Program ADD.h:::::::::::::::
#ifndef __HEADER_H__
#define  __HEADER_H__
#ifdef __cplusplus
extern "C" {
int add(int ,int);
#ifdef __cplusplus}

3)Program 3))) ADD.c
#include "Header.h"

int add(int a,int b){

  return a+b;
}<------------------The ERROR position
The error occured in the LAst file ADD.c

pls say me what i doing the wrong ....how i will overcome it????

Last edited by shabbir; 24Dec2006 at 00:00.. Reason: Code formating.