Hi all,
I build my project on VS 2005 and get this error:
c:\dx90sdk\include\strmif.h(27392) : error C2146: syntax error : missing ';'
before identifier 'lpSurf'
can you help me how to fix this?
Thanks for any help.
www.fruitfruit.com - 13 Aug 2007 13:31 GMT
It seems that you miss some necessary include file in your source code.
Dave Heinemann - 17 Aug 2007 02:08 GMT
One possibility is a class definition without a semicolon at the end, causing
something after it (possibly in the next file) to have an error:
class myClass
{
myClass() {}
}; // <- Needs a semicolon
Without that semicolon, even with the close bracket, it is still looking for
more of the same class.