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 


[solved]why compile the dbk.dll error?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
hlzy
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2011
Posts: 56

PostPosted: Mon Jun 13, 2011 6:02 am    Post subject: [solved]why compile the dbk.dll error? Reply with quote

I make a new .dll project in lazarus.
Added the DBK32functions.pas to the project,also added jedi .pas
when i compiled the project ,
it show that "Win32API\JwaWinSta.pas(44,25) Error: Duplicate identifier "SERVERNAME_CURRENT"

Win32API\JwaWinSta.pas(44,25) Hint: Identifier already defined in JwaWinSta.pas at line 44

it has other errors like this more than 50 error,
why?how to solve it?
thank you


Last edited by hlzy on Mon Jun 13, 2011 9:05 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jun 13, 2011 6:22 am    Post subject: Reply with quote

jedi and jwawindows are the same. Pick one
_________________
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
hlzy
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2011
Posts: 56

PostPosted: Mon Jun 13, 2011 6:50 am    Post subject: Reply with quote

yes,i download the jedi from delphi-jedi.org
it is include jwawindows.pas and other .pas files.
but why have the problem?
do you means jwawindows is a single file?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jun 13, 2011 6:55 am    Post subject: Reply with quote

jedi is already part of lazarus
jwawindows is in the uses by dbk32functions.pas, and that one includes the other jedi .inc files , and that will cause conflicts with the jedi library you have added

_________________
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
hlzy
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2011
Posts: 56

PostPosted: Mon Jun 13, 2011 7:03 am    Post subject: Reply with quote

thank you very very much.
that problem is solved ,but a new problem lazarus show

vmxfunctions.pas(54,1) Fatal: Selected assembler reader not supported

it is case the function vmcall( )

i think the reason is the lazarus version.
my lazarus version is 0.9.31
and what is your version?
is that right?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jun 13, 2011 7:09 am    Post subject: Reply with quote

go to project->project options->parsing
and make sure assembler style is set to intel

_________________
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
hlzy
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2011
Posts: 56

PostPosted: Mon Jun 13, 2011 7:15 am    Post subject: Reply with quote

I set it to intel
I am sorry to say that the problem is still happen.
may be i can delete the code
because the code is after "{$ifndef NOVMX} "
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Jun 13, 2011 7:25 am    Post subject: Reply with quote

have you also set syntax mode to Delphi ?

and yes, you can comment it out, but that means you won't be able to use stealth interrupt hooking if dbvm is loaded

_________________
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
hlzy
Advanced Cheater
Reputation: 0

Joined: 13 Jun 2011
Posts: 56

PostPosted: Mon Jun 13, 2011 7:30 am    Post subject: Reply with quote

before the function it has syntax {$MODE Delphi}

i do not know why error.may be is lazarus version problem

----------------------------------------------------------------------

thank you very very very much.
i found where to set syntax mode. problem is solved.
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