I have a problem with a simple included file.
The file being included is in two MFC programs - one of which is a dll, and it also compiles itself into a non-mfc dll.
Recently I was using the larger dll which wraps around the source of the smaller dll when I wanted access to some of the features of the original code that isn't exposed by the larger dll.
Since this was a test I simply added the source to my project and called the functions. I got this error: syntax error : missing ')' before ';'
The file is correctly included, and I have both the .cpp and the .h in the source folder, and within the project but it wouldn't compile.
I eventually created a very small test project, main.cpp, spooler.cpp and spooler.h (the spooler is a wrapper around the comms) and tried to compile that. Same issue.
So I ripped out all the dll related stuff just in case there is a weird issue going on with that and it still won't compile.
I can't think of the life of me what is wrong. Does anyone else have any ideas?
p.s. Jeff you really need to add the ability to attach files because the source would fill up too many screens with data.