View previous topic :: View next topic |
Author |
Message |
d link b Grandmaster Cheater
Reputation: 0
Joined: 17 Feb 2007 Posts: 936
|
Posted: Sat Dec 08, 2007 11:41 am Post subject: DDK problem |
|
|
when i compile it
c:\ce\dbkkernel\ntifs.h(2628) : error C2011: '_FILE_FS_FULL_SIZE_INFORMATION' :
'struct' type redefinition
c:\ce\dbkkernel\ntifs.h(2636) : error C2011: '_FILE_FS_LABEL_INFORMATION' : 'str
uct' type redefinition
c:\ce\dbkkernel\ntifs.h(2650) : error C2011: '_FILE_FS_SIZE_INFORMATION' : 'stru
ct' type redefinition
c:\ce\dbkkernel\ntifs.h(2657) : error C2011: '_FILE_FS_VOLUME_INFORMATION' : 'st
ruct' type redefinition
keeps on repeating...
is there like a step by step fix for this?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sat Dec 08, 2007 11:50 am Post subject: |
|
|
yes, comment out the structs in ntifs.h at line 2628, 2636 2650 and 2657
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
 |
d link b Grandmaster Cheater
Reputation: 0
Joined: 17 Feb 2007 Posts: 936
|
Posted: Sat Dec 08, 2007 12:51 pm Post subject: |
|
|
how do i comment it out?
|
|
Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8586 Location: 127.0.0.1
|
Posted: Sat Dec 08, 2007 2:27 pm Post subject: |
|
|
Change:
Code: | typedef struct _FILE_FS_FULL_SIZE_INFORMATION {
LARGE_INTEGER TotalAllocationUnits;
LARGE_INTEGER CallerAvailableAllocationUnits;
LARGE_INTEGER ActualAvailableAllocationUnits;
ULONG SectorsPerAllocationUnit;
ULONG BytesPerSector;
} FILE_FS_FULL_SIZE_INFORMATION, *PFILE_FS_FULL_SIZE_INFORMATION; |
To:
Code: | /*
typedef struct _FILE_FS_FULL_SIZE_INFORMATION {
LARGE_INTEGER TotalAllocationUnits;
LARGE_INTEGER CallerAvailableAllocationUnits;
LARGE_INTEGER ActualAvailableAllocationUnits;
ULONG SectorsPerAllocationUnit;
ULONG BytesPerSector;
} FILE_FS_FULL_SIZE_INFORMATION, *PFILE_FS_FULL_SIZE_INFORMATION;
*/ |
Or simply add // infront of each line:
Code: |
//typedef struct _FILE_FS_FULL_SIZE_INFORMATION {
// LARGE_INTEGER TotalAllocationUnits;
// LARGE_INTEGER CallerAvailableAllocationUnits;
// LARGE_INTEGER ActualAvailableAllocationUnits;
// ULONG SectorsPerAllocationUnit;
// ULONG BytesPerSector;
//} FILE_FS_FULL_SIZE_INFORMATION, //*PFILE_FS_FULL_SIZE_INFORMATION;
|
(You will need to do this for each of the structs that you have errors with.)
_________________
- Retired. |
|
Back to top |
|
 |
d link b Grandmaster Cheater
Reputation: 0
Joined: 17 Feb 2007 Posts: 936
|
Posted: Sat Dec 08, 2007 4:40 pm Post subject: |
|
|
holy...thanks for info
|
|
Back to top |
|
 |
|