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 


[Help]Dll Problem

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

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Feb 13, 2009 6:20 pm    Post subject: [Help]Dll Problem Reply with quote

well since last week, i never had any problems. But now, if i try to inject a dll that i compiled fresh, it would never inject. I tried compiling several different dll's using different compilers, none of them inject right. I tried Cheatengine's injector, my injector, and cheetah injector, all fails. So basically old dll's i had compiled for a while works, but my brand new compiled dll's dont inject. Help?
Back to top
View user's profile Send private message AIM Address MSN Messenger
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Fri Feb 13, 2009 6:23 pm    Post subject: Reply with quote

a. What compiler are you using?
b. Is it something with your code?

More details please.
Back to top
View user's profile Send private message Visit poster's website
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Feb 13, 2009 6:25 pm    Post subject: Reply with quote

Nothings wrong with my code. I tried borlandC++, msvcpp express, dev-cpp, my code doesnt change, im simply updating my old src codes and they dont inject. I dont get any errors. But cheat engine's injector says failed injecting dll.
Back to top
View user's profile Send private message AIM Address MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Feb 13, 2009 6:26 pm    Post subject: Re: [Help]Dll Problem Reply with quote

slippppppppp wrote:
well since last week, i never had any problems. But now, if i try to inject a dll that i compiled fresh, it would never inject. I tried compiling several different dll's using different compilers, none of them inject right. I tried Cheatengine's injector, my injector, and cheetah injector, all fails. So basically old dll's i had compiled for a while works, but my brand new compiled dll's dont inject. Help?


Is it because 64bit doesn't go with 32bit? Just my wild guess. If Im wrong, then Flyte will spam about me being wrong...
Back to top
View user's profile Send private message
talkerzero
Grandmaster Cheater
Reputation: 1

Joined: 24 Jul 2008
Posts: 560
Location: California

PostPosted: Fri Feb 13, 2009 6:28 pm    Post subject: Reply with quote

Why don't you paste your code here? Then we'll see what we can do. Smile
Back to top
View user's profile Send private message Visit poster's website
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Feb 13, 2009 7:04 pm    Post subject: Reply with quote

I already said there's nothing wrong with my code. Let me explain again, i have old code that i compiled a few weeks ago that work completely fine. I tried recompiling it without editting anything, and it doesnt inject no matter what. So i tried going through my older projects and compiling/injecting, they all dont work anymore
Back to top
View user's profile Send private message AIM Address MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Fri Feb 13, 2009 7:10 pm    Post subject: Reply with quote

slippppppppp wrote:
I already said there's nothing wrong with my code. Let me explain again, i have old code that i compiled a few weeks ago that work completely fine. I tried recompiling it without editting anything, and it doesnt inject no matter what. So i tried going through my older projects and compiling/injecting, they all dont work anymore


Did you get a new computer/new windows? Cause 64 bit dlls cant be injected into 32 bit processes.
Back to top
View user's profile Send private message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Feb 13, 2009 7:38 pm    Post subject: Reply with quote

No, i didnt.
Back to top
View user's profile Send private message AIM Address MSN Messenger
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Fri Feb 13, 2009 8:22 pm    Post subject: Reply with quote

ive had this problem before

instead of injecting the Dll try loading it into olly and click run

if you end up looking at all 0's for source it is a error in libs try excluding all lib's except those necessary to compile the code also this could be due to updates that have been installed on your computer, failing both of these annoyances give me the code and ill compile it for u..xD

_________________
don't +rep me..i do not wish to have "status" or "recognition" from you or anyone.. thank you.
Back to top
View user's profile Send private message MSN Messenger
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Feb 13, 2009 9:03 pm    Post subject: Reply with quote

It probably is a update :/ how can i fix it?
Back to top
View user's profile Send private message AIM Address MSN Messenger
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Fri Feb 13, 2009 10:02 pm    Post subject: Reply with quote

you could look at thwe system restore log..(if you have XP) and determine what was installed during the week that might have cganged something.. you could use advanced search to search ffor files modified in the last week and then if u see modification of "libs" and "includes' i would suspect a compiler virus o0 if nothing works try compiling on a different computer..
_________________
don't +rep me..i do not wish to have "status" or "recognition" from you or anyone.. thank you.
Back to top
View user's profile Send private message MSN Messenger
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Fri Feb 13, 2009 11:39 pm    Post subject: Reply with quote

1 - Restart Computer.
2 - Clean and Rebuild Projects
3 - Re-Install compiler
4 - Re-Install c++ runtime
5 - System Restore

_________________
Back to top
View user's profile Send private message Send e-mail
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