> Hi
>
[quoted text clipped - 16 lines]
> the C file to avoid this error. I am experienced in C but new to C++ and
> managed C++
In your C++ file (but not your C file), instead of
#include "job_mdb.h"
use
extern "C" {
#include "job_mdb.h"
}
Alternatively, inside your header file you can use
#ifdef __cplusplus
extern "C" {
#endif
struct job_mdb
{
//...
};
#ifdef __cplusplus
}
#endif
HTH
-cd
Steve Marsden - 02 Dec 2004 10:22 GMT
Hi Carl
Thanks for the reply.
Sadly this doesnt work. I still get the same linker error.
Steve
>> Hi
>>
[quoted text clipped - 46 lines]
>
> -cd