Re: LNK 2001 error !!!!!!!!
From: Frank Hickman (fhickman_nosp_at_m_noblesoft.com)
Date: 04/02/04
- Next message: patra: "problem in using SetLayeredWindowAttributes(hWnd,RGB(0,0,0),255,LWA_ALPHA); in WIN98 and WIN NT"
- Previous message: Jørn Dahl-Stamnes: "The name of dialog boxes"
- In reply to: Amar Kumar: "LNK 2001 error !!!!!!!!"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 2 Apr 2004 00:51:53 -0500
Wrap the function definitions in an extern "C" block...
header.h
---------
extern "C"
{
void SomeFunction( void );
int SomeOtherFunction( void );
}
HTH
-- ============ Frank Hickman NobleSoft, Inc. ============ Replace the _nosp@m_ with @ to reply. "Amar Kumar" <akumar@extentia.com> wrote in message news:uDmlDLHGEHA.696@TK2MSFTNGP12.phx.gbl... > Hi, > > I have a MFC project in which I need to include source file with ".c" > extentsion. I am able to compile the project successfully but it gives me > error for functions defined in the files with ".c" extension. What can i do > ????[I cannot modify files with '.c' extension] > Thanks in advance. > -- > Regards, > Amar Kumar. > >
- Next message: patra: "problem in using SetLayeredWindowAttributes(hWnd,RGB(0,0,0),255,LWA_ALPHA); in WIN98 and WIN NT"
- Previous message: Jørn Dahl-Stamnes: "The name of dialog boxes"
- In reply to: Amar Kumar: "LNK 2001 error !!!!!!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|