View previous topic :: View next topic |
Author |
Message |
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Wed May 30, 2018 2:44 am Post subject: Getting error while running CE 6.8 |
|
|
After successfully building the latest version of CE using Lazarus 1.6.4 on Win 10, I'm getting the error "The application failed to start correctly (0xc000022)". This happens for all builds (i386, x86_64, both release and debug versions). I built CE 6.6 on an x86 vista and managed to get a running binary.
Does anybody else have this problem
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed May 30, 2018 2:49 am Post subject: |
|
|
go to project options->custom options and remove
Code: |
-CfAVX2
-CpCOREAVX2
-OpCOREAVX2
|
(or build in debug mode)
_________________
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 |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Wed May 30, 2018 3:30 am Post subject: |
|
|
Dark Byte wrote: | go to project options->custom options and remove
Code: |
-CfAVX2
-CpCOREAVX2
-OpCOREAVX2
|
(or build in debug mode) |
I made the changes but the error persists (both in release and debug modes). This is my cheatengine.lpi file (base64 decode):
aHR0cHM6Ly9wYXN0ZWJpbi5jb20vOVdqM0w5YWE=
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed May 30, 2018 4:52 am Post subject: |
|
|
what happens when you try to run it using the debugger ? (do the debug 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 |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Wed May 30, 2018 7:29 am Post subject: |
|
|
Dark Byte wrote: | what happens when you try to run it using the debugger ? (do the debug one) |
I cloned the repository and removed the arguments but when I run from lazarus I get a pop-up message:
Code: |
Debugger Error
The debugger entered the error state.
Save your work now!
Hit Stop, and hope the best, we're pulling the plug.
The debugger could not run the application.
This may be caused by missing debug info.
|
I thought it was from how libraries are built (x86 builds loading x64 libs, vice-versa, etc.) but it happens regardless of build types or if the build is clean.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Wed May 30, 2018 8:47 am Post subject: |
|
|
0xc0000022 means access denied
try uninstalling your anti virus and other protection tools and reboot (do not shut down and back on, win10 fakes that)
_________________
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 |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Sat Jun 02, 2018 12:34 pm Post subject: |
|
|
Dark Byte wrote: | 0xc0000022 means access denied
try uninstalling your anti virus and other protection tools and reboot (do not shut down and back on, win10 fakes that) |
I granted full access to cheat engine and created an exception in windows defender; also ran process monitor with the following results (no access violation errors occur):
I only get this on win 10 (x64). Building on vista x86 and running on win 10 doesn't give this error.
didn't find any broken files. Running lazarus 1.6.4. as admin didn't help either. I'm getting this with earlier versions of ce (6.6) as well on win 10 but not on vista. [/img]
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sat Jun 02, 2018 1:28 pm Post subject: |
|
|
compile ce as 64 bit and try that
and check the registry
make sure there is no ce mention at: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
or
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
some games (e.g. bo3) come with trojan malware that will damage your windows install to prevent running ce
_________________
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 |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Sat Jun 02, 2018 2:28 pm Post subject: |
|
|
Dark Byte wrote: | compile ce as 64 bit and try that
and check the registry
make sure there is no ce mention at: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
or
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\
some games (e.g. bo3) come with trojan malware that will damage your windows install to prevent running ce |
I built CE as 64 bit but still got the error (also tried renaming it with no success). The registry looks alright (I can run CE as long as it's not built on win 10):
[img]
https://i.imgur.com/BoMu34k.png
[/img]
[img]
https://i.imgur.com/8bqvR5S.png
[/img]
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sat Jun 02, 2018 3:20 pm Post subject: |
|
|
so compiling it on vista (for 64 bit?) works in 10?
are both using the same lazarus/fpc built?
and again do you have an protection running that protects you from running locally generated exe files ?
_________________
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 |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Sat Jun 02, 2018 3:40 pm Post subject: |
|
|
Dark Byte wrote: | so compiling it on vista (for 64 bit?) works in 10?
are both using the same lazarus/fpc built?
and again do you have an protection running that protects you from running locally generated exe files ? |
Yes, compiling on vista x86 and running on win 10 64 bit works (both use the same lazarus 1.6.4). No, I only have windows defender and added the root directory of the cloned git repository of CE 6.8 to the exception list.
I doubt win defender is the problem since the vista built CE runs in a separate directory that's not white listed by it.
Last edited by Sarge411 on Sun Jun 03, 2018 2:47 am; edited 1 time in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sun Jun 03, 2018 12:34 am Post subject: |
|
|
alternate option 2 is that something running on your system edits the .exe you generate and it contains a bug
_________________
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 |
|
|
t328163 !BEWARE! Deletes post on answer Reputation: 2
Joined: 19 Dec 2017 Posts: 73
|
Posted: Sun Jun 03, 2018 1:29 am Post subject: |
|
|
god bless you db for your patience helping newbies with such simple errors.
|
|
Back to top |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Sun Jun 03, 2018 3:07 am Post subject: |
|
|
Dark Byte wrote: | alternate option 2 is that something running on your system edits the .exe you generate and it contains a bug |
I'm not sure but it doesn't edit an already built .exe. It happens only on fresh builds (this happens regardless if the ce directory is or is not in win defender's white list). I'm not aware of anything else that can potentially change an .exe (this is a clean install of win 10).
|
|
Back to top |
|
|
Sarge411 Newbie cheater Reputation: 0
Joined: 21 Apr 2018 Posts: 21
|
Posted: Mon Jun 04, 2018 1:18 pm Post subject: |
|
|
Dark Byte wrote: | alternate option 2 is that something running on your system edits the .exe you generate and it contains a bug |
I tried to compile on a virtual box (win 7 64 bit) but ran into the same problem. This happens on a clean install of win 7 (lazarus 1.6.4 and ce 6.8 were the only things installed besides the win default apps (win defender disabled)).
The only working build on win 10 64 bit in my case, was the one using lazarus 1.6.0 32 bit and ce 6.6 ]. What setup are you using?
Last edited by Sarge411 on Mon Jun 04, 2018 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
|