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.
 
It seems that you miss some necessary include file in your source code.
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top