I'm just beggining my programming carreer and I was having a little trouble writing thjis very basic program.
//#include <K8055D.dll>
//#include <K8055D.dll>
//#include <K8055D.dll>
#define Function __declspec(dllimport)
using namespace std;
int main(int argc, char *argv)
{
Function long _stdcall OpenDevice (long CardAddress);
return 0;
}
It's for a robot control board but it won;t run. I compiled it and there are no errors in the actual program but I get errors from the makefile.win and this is the line which dev indicates the error is in
$(CPP) -c "robot better.cpp" -o "robot better.o" $(CXXFLAGS)
any ideas about why this ain't working
//#include <K8055D.dll>
//#include <K8055D.dll>
//#include <K8055D.dll>
#define Function __declspec(dllimport)
using namespace std;
int main(int argc, char *argv)
{
Function long _stdcall OpenDevice (long CardAddress);
return 0;
}
It's for a robot control board but it won;t run. I compiled it and there are no errors in the actual program but I get errors from the makefile.win and this is the line which dev indicates the error is in
$(CPP) -c "robot better.cpp" -o "robot better.o" $(CXXFLAGS)
any ideas about why this ain't working