"Sean Chen" <[email protected]> wrote:
1>e:\videotest\videocode\socket\winpcap1\include\win32-extensions.h(107) :
error C2059: syntax error : ')'
...
*Now I can't find the reason, so please tell me how to deal with this
problem, I'm new of winpcap, thank you!*
When you get such errors, it's always a good idea to look at the pre-processed
output. I.e. the output of the cpp stage, the code that the compiler is really
compiling. Add option '-E' to the CFLAGS to use. You use some project-file,
*.vcxproj? Open it in Visual-Studio or generate a makefile (in VS) and add '-E'
manually. Then run:
nmake -f your-generated-makefile.mak CFG="Debug Win32" debug\main.obj >
temp.txt
and look in temp.txt for clues.
--gv
_______________________________________________
Winpcap-users mailing list
[email protected]
https://www.winpcap.org/mailman/listinfo/winpcap-users