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 


Problem with compiling

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dudunio
How do I cheat?
Reputation: 0

Joined: 09 Nov 2009
Posts: 6

PostPosted: Tue Nov 10, 2009 9:01 am    Post subject: Problem with compiling Reply with quote

OACR monitor running already

H:\WinDDK\7600.16385.0>cd h:\ce55\dbkkernel

H:\ce55\DBKKernel>ce
1 Datei(en) kopiert.
BUILD: Compile and Link for x86
BUILD: Start time: Mon Nov 09 22:56:29 2009
BUILD: Examining h:\ce55\dbkkernel directory for files to compile.
BUILD: Compiling and Linking h:\ce55\dbkkernel directory
Configuring OACR for 'root:x86fre' - <OACR on>
_NT_TARGET_VERSION SET TO WINXP
Compiling - dbkdrvr.c
1>errors in directory h:\ce55\dbkkernel
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - dbkfunc.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - rootkit.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - processlist.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - memscan.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - threads.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - vmxhelper.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - newkernel.c
1>h:\ce55\dbkkernel\ntifs.h(3126) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(3134) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(4001) : error C2059: syntax error : ','
1>h:\ce55\dbkkernel\ntifs.h(7190) : error C2059: syntax error : ')'
1>h:\ce55\dbkkernel\ntifs.h(8104) : error C4028: formal parameter 1 different fr
om declaration
Compiling - generating code...
Linking Executable - objfre_wxp_x86\i386\rap32.sys
1>link : error LNK1181: cannot open input file 'h:\ce55\dbkkernel\objfre_wxp_x86
\i386\dbkdrvr.obj'
BUILD: Finish time: Mon Nov 09 22:56:33 2009
BUILD: Done

10 files compiled - 8 Warnings - 40 Errors
1 executable built - 1 Error
.\objfre_wxp_x86\i386\*.sys
Das System kann die angegebene Datei nicht finden.
0 Datei(en) kopiert.

H:\ce55\DBKKernel>

any hints ,please? i would be really thankful if you could help me

sorry if its the wrong section
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Nov 10, 2009 11:51 am    Post subject: Reply with quote

is this the svn sourcecode or the sourcecode of the release 5.5 ?

If from the plain 5.5 then just edit ntifs.h and remove the wrong code

_________________
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
Dudunio
How do I cheat?
Reputation: 0

Joined: 09 Nov 2009
Posts: 6

PostPosted: Tue Nov 10, 2009 1:54 pm    Post subject: Reply with quote

thanks for the fast reply.
ya its the sourcecode of the realse 5.5
i am editing the ntifs.h but still i am on a low level with programming :/
i outcommented some codes ..got less errors but still they exist Razz

like this(just this 2 lines left)

Code:
1>h:\ce55\dbkkernel\ntifs.h(7207) : error C2365: 'CCHAR' : redefinition; previou
s definition was 'typedef'
1>h:\ce55\dbkkernel\ntifs.h(8107) : error C2059: syntax error : 'type'
Compiling - dbkfunc.c


and thats the source of the 2 lines
Code:
 #if (VER_PRODUCTBUILD >= 1381)

NTKERNELAPI
CCHAR
/*KeSetIdealProcessorThread */(
    IN PKTHREAD Thread,
    IN CCHAR    Processor
);

NTKERNELAPI
BOOLEAN
KeSetKernelStackSwapEnable (
    IN BOOLEAN Enable
);

#endif // (VER_PRODUCTBUILD >= 1381)




Code:
NTSYSAPI
ULONG
NTAPI
/* RtlxUnicodeStringToAnsiSize (
    IN PUNICODE_STRING UnicodeString
);   */



EDIT:
got it compiled but 1 question..those 24 warnings wont fkc up my UCE?

Code:

H:\ce55\DBKKER~1>ce
changing to dos-16 file structure
        1 Datei(en) kopiert.
BUILD: Compile and Link for x86
BUILD: Start time: Tue Nov 10 20:53:45 2009
BUILD: Examining h:\ce55\dbkker~1 directory for files to compile.
BUILD: Compiling and Linking h:\ce55\dbkker~1 directory
Configuring OACR for 'root:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WINXP
Compiling - dbkdrvr.c
Compiling - dbkfunc.c
Compiling - rootkit.c
Compiling - processlist.c
Compiling - memscan.c
Compiling - threads.c
Compiling - vmxhelper.c
Compiling - newkernel.c
Compiling - generating code...
Linking Executable - objchk_wxp_x86\i386\rap32.sys
BUILD: Finish time: Tue Nov 10 20:53:48 2009
BUILD: Done

    10 files compiled - 23 Warnings
    1 executable built
.\objchk_wxp_x86\i386\rap32.sys
        1 Datei(en) kopiert.

H:\ce55\DBKKER~1>
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Nov 10, 2009 3:02 pm    Post subject: Reply with quote

I doubt it, but check the .log file wfor what the warnings are

also, try understanding what the warnings mean. It may help

_________________
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
Dudunio
How do I cheat?
Reputation: 0

Joined: 09 Nov 2009
Posts: 6

PostPosted: Tue Nov 10, 2009 4:24 pm    Post subject: Reply with quote

k i reached the compling part of dpr

but suddenly some errors pop up :S

Code:

[Error] ProcessWindowUnit.pas(566): Undeclared identifier: 'LoadFromHandle'
[Error] ProcessWindowUnit.pas(566): Undeclared identifier: 'ProcessListInfo'
[Error] ProcessWindowUnit.pas(566): Pointer type required
[Error] ProcessWindowUnit.pas(566): 'END' expected but ')' found
[Error] ProcessWindowUnit.pas(596): '.' expected but ';' found
[Fatal Error] MainUnit.pas(648): Could not compile used unit 'ProcessWindowUnit.pas'


any way to fix it?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Nov 10, 2009 5:33 pm    Post subject: Reply with quote

make sure you don't use tools like ASR they'll ruin your uce

anyhow, it looks like LoadFromHandle and ProcessListInfo can't be found. Did you rename them to something else?

_________________
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
Dudunio
How do I cheat?
Reputation: 0

Joined: 09 Nov 2009
Posts: 6

PostPosted: Tue Nov 10, 2009 5:52 pm    Post subject: Reply with quote

damn i used ASR :S
and nope i didnt rename them to sth else
so it means i need to do eevrythign from new?
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 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