Subj : Re: compiling with bcc32.exe, error in ddeml.h ??? To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Wed Feb 09 2005 08:36 am That is interesting. If I omit including windows.h then my results are identical to yours. However you say that you have included it. What I do not understand from your message is how the file bcc32.cfg relates to including windows.h ---------- F:\Projects\lookat\q422>type ques422a.cpp #include F:\Projects\lookat\q422>d:bcc32 -c -Id:..\include ques422a Borland C++ 5.2 for Win32 Copyright (c) 1993, 1997 Borland International ques422a.cpp: Warning d:..\include\win32\ddeml.h 22: Style of function definition is now obsolete Error d:..\include\win32\ddeml.h 22: { expected Warning d:..\include\win32\ddeml.h 23: Style of function definition is now obsolete Error d:..\include\win32\ddeml.h 23: { expected Warning d:..\include\win32\ddeml.h 24: Style of function definition is now obsolete Error d:..\include\win32\ddeml.h 24: { expected Warning d:..\include\win32\ddeml.h 25: Style of function definition is now obsolete Error d:..\include\win32\ddeml.h 25: { expected Error d:..\include\win32\ddeml.h 31: Type name expected Error d:..\include\win32\ddeml.h 31: Declaration missing ; ^C F:\Projects\lookat\q422>type ques422b.cpp #include #include F:\Projects\lookat\q422>d:bcc32 -c -Id:..\include ques422b Borland C++ 5.2 for Win32 Copyright (c) 1993, 1997 Borland International QUES422B.CPP: F:\Projects\lookat\q422> ---------- .. Ed > P. Magne wrote in message > news:4209c32c$1@newsgroups.borland.com... > Hy, > The line numbers error are shown but I didn't write them in my message. > > Warning : c:\bc_5_02\include\win32\ddeml.h 22 : style of function > definition is now obsolete > Error : c:\bc_5_02\include\win32\ddeml.h 22 : { expected > Error : c:\bc_5_02\include\win32\ddeml.h 31 : Type name expected > Error : c:\bc_5_02\include\win32\ddeml.h 31 : declaration missing ; > > The file windows.h is included in the folder INCLUDE of bcc32.cfg. > > If I compile my program with Borland C++ IDE it'sok, but I want to compile > it from the command line to do it automatically. > Have you another idea about my problem ? .