Fehler in shellapi.h
-
Hi,
wenn ich die shellapi.h includiert bekomme ich eine Warnung und jede Menge Fehlermeldungen:Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
shelltest.cpp:
Warning W8054 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 5
4: Style of function definition is now obsolete
Error E2275 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 54:
{ expected
Error E2141 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 56:
Declaration syntax error
Error E2238 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 57:
Multiple declaration for 'EXTERN_C'
Error E2344 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 56:
Earlier declaration of 'EXTERN_C'
Error E2141 D:\programme2\programmierung\c_plusplus\BCC55\include\shellapi.h 57:
Declaration syntax error
usw ...(Mit dem Standard Compiler von Dev-C++ sieht es ähnlich aus.)
In der Warnung steht ja das der Code "veraltet" ist - muss hier was am Compiler umgestellt werden?
-
Problem gelöst, die Präprozessoranweisungen aus der window.h haben gefehlt, sprich ich musste noch die windows.h includieren.