BillWright
Programmer
Hi,
I have a .c and .h file for an interface to an application and I want to use these functions inside of a C++ program. I'm having trouble compiling them into my MS Visual C++ 6.0 project. At first I just added the files to my project and I got this error when I tried to compile the project and got an error about not finding a precompiled header.
I then tried to just compile the .c and .h file into a .lib file that I could use. This gave me an error about the use of _setvalue. Is this a standard C macro? My c file has the following includes and I don't find them (except string.h> in the VC directory. Anyone know if these are standard C files or if I'm missing some more application specific files?
#include <ssdef.h>
#include <descrip.h>
#include <iodef.h>
#include <lnmdef.h>
#include <string.h>
Bill
I have a .c and .h file for an interface to an application and I want to use these functions inside of a C++ program. I'm having trouble compiling them into my MS Visual C++ 6.0 project. At first I just added the files to my project and I got this error when I tried to compile the project and got an error about not finding a precompiled header.
I then tried to just compile the .c and .h file into a .lib file that I could use. This gave me an error about the use of _setvalue. Is this a standard C macro? My c file has the following includes and I don't find them (except string.h> in the VC directory. Anyone know if these are standard C files or if I'm missing some more application specific files?
#include <ssdef.h>
#include <descrip.h>
#include <iodef.h>
#include <lnmdef.h>
#include <string.h>
Bill