View previous topic :: View next topic |
Author |
Message |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Jun 13, 2011 6:02 am Post subject: [solved]why compile the dbk.dll error? |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Mon Jun 13, 2011 6:22 am Post subject: |
|
|
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 |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Jun 13, 2011 6:50 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Mon Jun 13, 2011 6:55 am Post subject: |
|
|
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 |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Jun 13, 2011 7:03 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Mon Jun 13, 2011 7:09 am Post subject: |
|
|
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 |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Jun 13, 2011 7:15 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25792 Location: The netherlands
|
Posted: Mon Jun 13, 2011 7:25 am Post subject: |
|
|
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 |
|
 |
hlzy Advanced Cheater
Reputation: 0
Joined: 13 Jun 2011 Posts: 56
|
Posted: Mon Jun 13, 2011 7:30 am Post subject: |
|
|
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 |
|
 |
|