![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 333
Rep Power: 3
![]() |
Header file internal errors
I have posted this in the lounge because i think that this is a problem down to the file, if this is in the wrong thread then please do move it.
I am trying to do some work with the NTFS Change Journal just for experimental purposes, however when i try to include the the header file winioctl.h to use things like FSCTL_QUERY_USN_JOURNAL and others, msdn says you have to include the winioctl.h, but when i include this in Dev-C++ Version 4 it picks out alot of errors inside the winioctl.h file. Can anybody suggest anything that can be done about this, should i try to re-download the file, its it another way to include the file, any suggestions will be helpful. below are the errors that Dev_C++ V4 gave me In file included from c:\docume~1\internet\mydocu~1\untitl~1.cpp:2: C:\DEV-C_~1\Include\winioctl.h:116: syntax error before `,' C:\DEV-C_~1\Include\winioctl.h:119: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:120: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:124: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:127: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:146: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:148: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:149: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:150: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:153: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:154: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:155: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:156: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:157: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:158: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:159: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:162: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:163: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:164: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:165: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:166: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:167: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:168: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:171: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:172: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:173: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:177: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:178: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:179: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:180: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:184: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:185: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:186: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:187: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:188: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:189: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:190: syntax error before `[' C:\DEV-C_~1\Include\winioctl.h:193: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:194: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:197: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:198: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:199: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:200: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:201: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:202: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:203: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:204: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:205: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:206: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:210: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:211: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:212: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:213: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:214: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:215: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:216: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:217: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:220: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:221: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:225: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:226: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:230: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:233: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:234: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:235: syntax error before `[' C:\DEV-C_~1\Include\winioctl.h:238: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:241: syntax error before `;' C:\DEV-C_~1\Include\winioctl.h:242: syntax error before `;'
__________________
Quote:
|
|
|
|
|
|
|
#2 |
|
Hobbyist
Join Date: Sep 2005
Posts: 266
Rep Power: 4
![]() |
See the remarks section of the following link:
http://msdn2.microsoft.com/en-us/library/aa364583.aspx |
|
|
|
|
|
#3 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 333
Rep Power: 3
![]() |
Thanks for that cache.
All i had to do was put the windows.h include before the winioctl.h, well that seemed to get rid of the errors.
__________________
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| converting string to float | beginnerCCC | C | 22 | Oct 3rd, 2006 12:59 AM |
| OnlineTextEditor.Com! | Sane | Show Off Your Open Source Projects | 43 | Jun 16th, 2006 9:55 AM |
| making a header file | alphonso | C++ | 14 | Apr 5th, 2006 7:32 AM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 10:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 5:12 PM |