regarding VC++ Fatal error c1083

hi im porting a vc++ application into Managed VC++.

so im making a win 32 dll file .In that im adding some .H files and including in my class

then im getting fatal error c1083 cannot open include file.

actually im including the files given by eicon corporation(x25proto.h).

How to solve this,im not able to proceed further.

given below is my code

// IPOVCDLL.cpp : Defines the entry point for the DLL application.

//

//

"/#if !defined(X25PROTO_H__774091B5_DDEF_11D7_BF51_008048B539D8__INCLUDED_)

#define X25PROTO_H__774091B5_DDEF_11D7_BF51_008048B539D8__INCLUDED_

#if _MSC_VER > 1000

#pragma once

#endif // _MSC_VER > 1000\"

#include "stdafx.h"

#include <X25PROTO.h>

#include <X25.h>

#include <X25ERR.h>

//#include "assert.h"

//#include "CtclGW.h"

//#include "CTCLTxnCodes.h"

//#include "lzo1z.h"

//IPOVCDLL Constructor

//X25 Communincation

extern "C"_declspec(dllexport)int CTCLInitialise();

int CTCLInitialise()

{

// strBrokerId = "";//AfxGetApp()->GetProfileString(strCTCLSection, "BrokerId", "" );

//int iUserId = 0;//AfxGetApp()->GetProfileInt(strCTCLSection, "UserId", 0 );

//Check if the sizes of our structure are as per NSE's requirement

/*if( CheckStructSize() == FALSE )

return -1;*/

//Initialize the X.25 library

if ( x25init (0,0) != X25_SUCCESS )

{

//ShowX25Error();

return -2;

}

// Allocate the X25 send buffer

if ( (X25BroadcastBuffer = x25alloc(MAX_BUFF)) == NULL )

{

//ShowX25Error();

return -2;

}

// Allocate the X25 send buffer

if ( (X25InteractiveBuffer = x25alloc(MAX_BUFF)) == NULL )

{

//ShowX25Error();

return -2;

}

// Allocate the X25 send buffer

if ( (X25ReportBuffer = x25alloc(MAX_BUFF)) == NULL )

{

//ShowX25Error();

return -2;

}

//BeginDebugControl();

//bX25Initialised = TRUE;

return 0;

}

Regards

Baji Prasad.B

Bangalore

India.




Answer this question

regarding VC++ Fatal error c1083

  • mitchwardrop

    To include any header files, make sure the project setting can see the directory where the header file is located. Take a look at http://msdn2.microsoft.com/en-US/library/73f9s62w.aspx for more details.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • akoties

    Moving thread to C++ forums. No clue why this was originally posted in the "DirectX 101" forum.



  • regarding VC++ Fatal error c1083