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 


Can't inject .dll's anymore.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Luig
Cheater
Reputation: 0

Joined: 24 Sep 2010
Posts: 26

PostPosted: Sun Feb 19, 2012 7:05 pm    Post subject: Can't inject .dll's anymore. Reply with quote

So I wanted to try out W8 only to find out I can't play my favorite games on it. I formatted back to W7 and now I can't inject .dll's. First I thought it was only from the code of my personal injector but then I tried with CE and it says injection fails. I have installed VC++ Express 2010 so I don't think I'm missing any libs.
Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Sun Feb 19, 2012 9:49 pm    Post subject: Reply with quote

What are you trying to inject? Some .dlls require .NET Framework(3.5/4.0)
Back to top
View user's profile Send private message
Luig
Cheater
Reputation: 0

Joined: 24 Sep 2010
Posts: 26

PostPosted: Sun Feb 19, 2012 9:52 pm    Post subject: Reply with quote

I installed VC++ 2010 which comes with these frameworks. I also tried to inject some freepascal .dll's I made a while back and none work while on my brothers laptop I can inject them perfectly fine.
Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Sun Feb 19, 2012 10:06 pm    Post subject: Reply with quote

What kind of error are you getting when you inject?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sun Feb 19, 2012 10:22 pm    Post subject: Reply with quote

Disable UAC

Also, check that your anti virus (if you have one) doesn't block it

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Luig
Cheater
Reputation: 0

Joined: 24 Sep 2010
Posts: 26

PostPosted: Sun Feb 19, 2012 10:30 pm    Post subject: Reply with quote

Failed to injecting the .dll on CE. On the injector I'm using it errors @

threadHndIntPtr = WINAPI.CreateRemoteThread(hwndIntPtr, Nothing, 0, functAddressIntPtr, functParamIntPtr, 0, 0);

Get last error catches error 5:
errorString = errorString & "Error code: " & Marshal.GetLastWin32Error()

and hmm this is wierd. The error I am getting is only on calc.exe and notepad.exe. Not a huge deal but does anyone know why?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sun Feb 19, 2012 10:38 pm    Post subject: Reply with quote

64-bit or 32-bit windows ?

If 64-bit, then calc and notepad are 64-bit processes and 32-bit injection codes don't work on that

ce 6.1 should do dll injection on those fine though

And again: Firewall and/or anti virus can block createRemoteThread on system processes

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Luig
Cheater
Reputation: 0

Joined: 24 Sep 2010
Posts: 26

PostPosted: Sun Feb 19, 2012 10:41 pm    Post subject: Reply with quote

Thanks DarkByte that clears up alot as I am on a 64bit system but CE 6.1 could not inject into the process.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sun Feb 19, 2012 10:42 pm    Post subject: Reply with quote

ah yes, obviously, the injected dll should be 64-bit as well. (speedhack should work as it's a 64-bit dll)
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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