CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: VS 2005 error

  1. #1
    Join Date
    Sep 1999
    Location
    Salisburyl UK
    Posts
    324

    VS 2005 error

    Hi All..
    While Im begging for answers,

    Im having a hard job porting working code from VC6 to VS 2005!

    this line is fine in VC6,

    Code:
    	QImageProperties(CImage* pImage);
    	// Constructor; pImage is the associated Image.
    but VS 2005 gives me this error....

    error C2143: syntax error : missing ')' before '*

    Anyone explain the problem to me please!
    Many Thanks !
    Phil

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125

    Re: VS 2005 error

    CImage is not a valid identifier is the most likely cause.

    When posting questions of this natrue t really is necessary to provide minimal yet complete code. Minimal means no (or limited) irrelevant code. Complete means that it can be copied into a file and reproduce the same error when someone here trys to compile it.
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured