Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: dialog works in winXP but crashes in win98 Pin
Ravi Bhavnani20-Mar-04 7:40
professionalRavi Bhavnani20-Mar-04 7:40 
GeneralRe: dialog works in winXP but crashes in win98 Pin
iwx22-Mar-04 9:20
iwx22-Mar-04 9:20 
GeneralGUI Applications Pin
Anonymous19-Mar-04 9:42
Anonymous19-Mar-04 9:42 
GeneralRe: GUI Applications Pin
Prakash Nadar19-Mar-04 15:18
Prakash Nadar19-Mar-04 15:18 
GeneralRe: GUI Applications Pin
Kevin McFarlane20-Mar-04 4:02
Kevin McFarlane20-Mar-04 4:02 
Generalenum type redefiniton error Pin
BlackDice19-Mar-04 8:57
BlackDice19-Mar-04 8:57 
GeneralRe: enum type redefiniton error Pin
Prakash Nadar19-Mar-04 15:15
Prakash Nadar19-Mar-04 15:15 
Generalinclude file problems with dbfdef.h Pin
BlackDice19-Mar-04 8:21
BlackDice19-Mar-04 8:21 
I'm trying to compile a dll that is statically linked to MFC. I keep getting this error message:

error C2143: syntax error : missing ';' before '<class-head>'

the file that it's saying this about I've used before but it's blowing up at this spot now:

typedef struct
{
	DBF_UCHAR dbf_id;		// 0x02 FoxBASE
							// 0x03 FoxBASE+/dBASE III PLUS, no memo
							// 0x30 Visual FoxPro
							// 0x43 dBASE IV SQL table files, no memo
							// 0x63 dBASE IV SQL system files, no memo
							// 0x83 FoxBASE+/dBASE III PLUS, with memo
							// 0x8B dBASE IV with memo
							// 0xCB dBASE IV SQL table files, with memo
							// 0xE5 HiPer-SIx with memo (.SMT)
							// 0xF5 FoxPro 2.x (or earler) with memo
							// 0xFB FoxBASE
	DBF_CHAR last_update[3];// Last update (YYMMDD)
							// Fox: curent century + YY
							// dBase: 1900 + YY
							// SIx: 0x700(1792) + YY
	DBF_LONG last_rec;		// Number of record in file
	DBF_UINT data_offset;	// Position of first data record
	DBF_UINT rec_size;		// Lenght of one data record (including delete flag)
	DBF_CHAR filler[16];	// Reserved
	DBF_CHAR table_flag;	// Table Flags (Only Visual Foxpro)
							// 0x01 file has structural .cdx or .mdx
							// 0x02 file has a Memo field
							// 0x04 file is a database .dbc
							// Note that this byte can contain the sum of
							// any of the above values.
	DBF_UCHAR code_page;	// Code page mark
							// 0x01 437    U.S. MS-DOS
							// 0x69	620    Mazovia (Polish) MS-DOS
							// 0x6A 737    Greek MS-DOS (437G)
							// 0x02 850    International MS-DOS
							// 0x64 852    Eastern European MS-DOS
 							// 0x67 861    Icelandic MS-DOS
 							// 0x66 865    Nordic MS-DOS
 							// 0x65 866    Russian MS-DOS
 							// 0x68 895    Kamenicky (Czech) MS-DOS
 							// 0x6B 857    Turkish MS-DOS
 							// 0xC8 1250   Eastern European Windows
 							// 0xC9 1251   Russian Windows
 							// 0x03 1252   Windows ANSI
 							// 0xCB 1253   Greek Windows
 							// 0xCA 1254   Turkish Windows
 							// 0x04	10000  Standard Macintosh
 							// 0x98 10006  Greek Macintosh
 							// 0x96 10007  Russian Macintosh
 							// 0x97	10029  Eastern European Macintosh
	DBF_UINT reserved;		// Recerved, contains 0x00
} DBF_HEAD;


I've got all the include directories for the libraries and header files included in the project, can anyone help?

---If it's broken, I probably did it

bdiamond
Generalme again Pin
BlackDice19-Mar-04 8:44
BlackDice19-Mar-04 8:44 
GeneralRe: me again Pin
Prakash Nadar19-Mar-04 15:13
Prakash Nadar19-Mar-04 15:13 
General_msize and operator new[] Pin
Nemanja Trifunovic19-Mar-04 8:17
Nemanja Trifunovic19-Mar-04 8:17 
GeneralRe: _msize and operator new[] Pin
Jörgen Sigvardsson19-Mar-04 14:07
Jörgen Sigvardsson19-Mar-04 14:07 
GeneralRe: _msize and operator new[] Pin
Nemanja Trifunovic20-Mar-04 8:58
Nemanja Trifunovic20-Mar-04 8:58 
GeneralRe: _msize and operator new[] Pin
Jörgen Sigvardsson20-Mar-04 22:48
Jörgen Sigvardsson20-Mar-04 22:48 
Generalunsigned char, char, CString Pin
Anonymous19-Mar-04 7:49
Anonymous19-Mar-04 7:49 
GeneralRe: unsigned char, char, CString Pin
BlackDice19-Mar-04 8:16
BlackDice19-Mar-04 8:16 
GeneralRe: unsigned char, char, CString Pin
Mukkie19-Mar-04 21:19
Mukkie19-Mar-04 21:19 
GeneralPlaying .WAV Pin
mavgoose19-Mar-04 7:29
mavgoose19-Mar-04 7:29 
GeneralRe: Playing .WAV Pin
Ravi Bhavnani19-Mar-04 8:03
professionalRavi Bhavnani19-Mar-04 8:03 
GeneralRe: Playing .WAV Pin
MeterMan22-Mar-04 14:33
MeterMan22-Mar-04 14:33 
GeneralControlling keyboard in CFormView Pin
doctorpi19-Mar-04 7:11
doctorpi19-Mar-04 7:11 
GeneralTime.h help! Pin
modeonetwo19-Mar-04 6:47
modeonetwo19-Mar-04 6:47 
GeneralRe: Time.h help! Pin
Chernobog119-Mar-04 7:08
Chernobog119-Mar-04 7:08 
GeneralCPrintDialog as a child Pin
Jason Carter19-Mar-04 6:37
Jason Carter19-Mar-04 6:37 
GeneralSet coluor on button Pin
Best Friend19-Mar-04 5:36
Best Friend19-Mar-04 5:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.