Afficher un message
Vieux 20/10/2007, 17h28   #2
Kenneth Brody
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: shellspi.h not compiling

jon2211 wrote:
>
> I tried to compile some code with #include <shellapi.h> . I am

[...]
> 1>Compiling...
> 1>openFile.c
> 1>C:\Program Files\Microsoft Visual Studio 8\VC\include
> \shellapi.h(57) : error C2061: syntax error : identifier
> 'DECLSPEC_IMPORT'

[... snip lots of similar errors ...]

You'll need to ask in a group that knows about Windows-specific
things like this. However, my guess would be that you need to
include another Windows-specific header prior to <shellapi.h>.
Check your documentation, and if you can't figure out which one(s)
you need, ask in one of the Windows-specific newsgroups. (Perhaps
somewhere in the comp.os.ms-windows.* tree?)

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap@gmail.com>

  Réponse avec citation
 
Page generated in 0,09221 seconds with 9 queries