|
-
February 3rd, 2008, 06:56 PM
#1
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
-
February 3rd, 2008, 07:04 PM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|