how to fix error: missing ';' before identifier 'lpSurf'

  • Thread starter Thread starter P2P
  • Start date Start date
P

P2P

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.
 
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.
 
Back
Top