Click here to Skip to main content
15,920,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalcreate splitter using cpslitterwnd class Pin
murali_utr26-Sep-03 20:19
murali_utr26-Sep-03 20:19 
GeneralEmail viewer suggestions Pin
LukeV26-Sep-03 20:06
LukeV26-Sep-03 20:06 
GeneralRe: Email viewer suggestions Pin
Ian Darling26-Sep-03 21:23
Ian Darling26-Sep-03 21:23 
GeneralCSplitterWnd Pin
murali_utr26-Sep-03 20:05
murali_utr26-Sep-03 20:05 
GeneralRe: CSplitterWnd Pin
JWood27-Sep-03 11:51
JWood27-Sep-03 11:51 
GeneralCharacter macro. Pin
esepich26-Sep-03 19:55
esepich26-Sep-03 19:55 
GeneralRe: Character macro. Pin
Michael Dunn26-Sep-03 19:58
sitebuilderMichael Dunn26-Sep-03 19:58 
General"unexpected end of file found" compile error Pin
WREY26-Sep-03 19:40
WREY26-Sep-03 19:40 
I am sure somebody will immediately see the reason for the error.

The rest of the program compiles and runs fine. However, when I added this new ".h" file to the program, unexpectedly it produced these two errors:

: error C2144: syntax error : missing ';' before type 'unsigned char'
: fatal error C1004: unexpected end of file found

=======================================

AFAIC, the new file is a file simply filled with macro definitions that begins:
#ifndef  ABC     //  I'm just using a name here
#define  ABC
 (etc.)
typedef  unsigned long  DWORD
typedef  unsigned char  BYTE     //  compiler is pointing at this line for the two errors
#endif  // ABC

Thanks for any help. Smile | :)


William

Fortes in fide et opere!
GeneralRe: "unexpected end of file found" compile error Pin
Member 54428726-Sep-03 19:55
Member 54428726-Sep-03 19:55 
GeneralRe: "unexpected end of file found" compile error Pin
Michael Dunn26-Sep-03 19:59
sitebuilderMichael Dunn26-Sep-03 19:59 
GeneralYes!! Pin
WREY26-Sep-03 20:10
WREY26-Sep-03 20:10 
GeneralCustom command line Pin
Member 54428726-Sep-03 19:09
Member 54428726-Sep-03 19:09 
QuestionWhere should the dll file go? Pin
Link260026-Sep-03 18:49
Link260026-Sep-03 18:49 
AnswerRe: Where should the dll file go? Pin
Anthony_Yio26-Sep-03 21:40
Anthony_Yio26-Sep-03 21:40 
GeneralRe: Where should the dll file go? Pin
Link260027-Sep-03 15:39
Link260027-Sep-03 15:39 
GeneralRe: Where should the dll file go? Pin
Anthony_Yio28-Sep-03 16:12
Anthony_Yio28-Sep-03 16:12 
AnswerRe: Where should the dll file go? Pin
Alexander M.,28-Sep-03 3:31
Alexander M.,28-Sep-03 3:31 
GeneralRe: Where should the dll file go? Pin
Link260028-Sep-03 8:46
Link260028-Sep-03 8:46 
GeneralQuestion about using #define to define a constant numerical variable Pin
George226-Sep-03 16:30
George226-Sep-03 16:30 
GeneralRe: Question about using #define to define a constant numerical variable Pin
Michael Dunn26-Sep-03 17:03
sitebuilderMichael Dunn26-Sep-03 17:03 
GeneralRe: Question about using #define to define a constant numerical variable Pin
George226-Sep-03 17:34
George226-Sep-03 17:34 
GeneralRe: Question about using #define to define a constant numerical variable Pin
Ian Darling26-Sep-03 21:19
Ian Darling26-Sep-03 21:19 
GeneralChecking if an edit control is empty. Pin
esepich26-Sep-03 15:19
esepich26-Sep-03 15:19 
GeneralRe: Checking if an edit control is empty. Pin
PJ Arends26-Sep-03 16:14
professionalPJ Arends26-Sep-03 16:14 
GeneralStuffing four byte octets into a dword. Pin
esepich26-Sep-03 14:31
esepich26-Sep-03 14:31 

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.