|
-
May 24th, 2010, 05:06 AM
#1
error C2143: syntax error : missing ';' before 'type'
hi,
I am creating a GUI using VC++ as compiler, i have all C files. In one of the file where i created blank windows frame work(i created blank window). for write pixel i'm using a function(as application needs). so i included following function in windos frame work code and i'm getting the error :
error C2143: syntax error : missing ';' before 'type'
error C2059: syntax error : '}'
function
extern void Line(Coord,Coord,Coord,Coord,Color)
{
int x1,y1,xe1,ye1;
MoveToEx(hDC,xe,ye,NULL);
LineTo(hDC,x,y);
}
i am getting first error at start of function, and 2nd at end of the function line.
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
|