Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Will compile in BCPP31 and not in BCPP55 Free
Message
Information générale
Forum:
Borland C++ Builder
Catégorie:
Langage C++ Builder
Titre:
Will compile in BCPP31 and not in BCPP55 Free
Divers
Thread ID:
00890661
Message ID:
00890661
Vues:
49
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
___________________________________________
Répondre
Fil
Voir

Click here to load this message in the networking platform