Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DDK problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
d link b
Grandmaster Cheater
Reputation: 0

Joined: 17 Feb 2007
Posts: 936

PostPosted: Sat Dec 08, 2007 11:41 am    Post subject: DDK problem Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sat Dec 08, 2007 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
d link b
Grandmaster Cheater
Reputation: 0

Joined: 17 Feb 2007
Posts: 936

PostPosted: Sat Dec 08, 2007 12:51 pm    Post subject: Reply with quote

how do i comment it out?
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8586
Location: 127.0.0.1

PostPosted: Sat Dec 08, 2007 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
d link b
Grandmaster Cheater
Reputation: 0

Joined: 17 Feb 2007
Posts: 936

PostPosted: Sat Dec 08, 2007 4:40 pm    Post subject: Reply with quote

holy...thanks for info
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites