Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will compile in BCPP31 and not in BCPP55 Free
Message
General information
Forum:
Borland C++ Builder
Category:
C++ Builder Language
Title:
Will compile in BCPP31 and not in BCPP55 Free
Miscellaneous
Thread ID:
00890661
Message ID:
00890661
Views:
50
Hi all

What seems to be the problem with the following. It was working well with Borland C++ 3.1 and
now I have tried it in Borland C++ 5.5 Free and it does not want to work.
...
struct fieldheader
{
	char          fieldname[11] ;
	char          fieldtype ;
	char          fieldreserved1[4] ;
	unsigned char fieldlen ;
	unsigned char fielddec ;
	char          fieldreserved2[14] ;
} ;
...
void headerforfile(char *dbfname)
{
...
	struct fieldheader *dbffields = NULL ;
...
// the error is the following line
	readdbfheader(dbfstream, dbfheader, dbffields, dbfdetails)
...
}
Error E2034 c:\vso2\.....filename lineno: Cannot convert 'void*' to 'fieldheader *' in function
headerforfile(char*)

Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Reply
Map
View

Click here to load this message in the networking platform