Re: LNK 2001 error !!!!!!!!

From: Frank Hickman (fhickman_nosp_at_m_noblesoft.com)
Date: 04/02/04


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.
>
>


Relevant Pages