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 


Visual Basic And ASM

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Wed Mar 12, 2008 3:15 am    Post subject: Visual Basic And ASM Reply with quote

In C++ it's
Code:
void _declspec(naked) ScriptHere(void)
{
   _asm
   {
 
   }
}

(Thanks to: FerrisBuellerYourMyHero)

Is there such a thing for Visual Basic?

I searched, and the only thing I could find was WriteProcessMemory, But that's for changing bytes. That's not what I'm looking for.

Could anyone tell me what to do to 'inject' ASM scripts into another process?

Thanks in advance.
Back to top
View user's profile Send private message
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Wed Mar 12, 2008 4:05 am    Post subject: Reply with quote

Nope, can't be done in VB.

You can create an opcode converter, converts opcodes to bytes.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Wed Mar 12, 2008 2:18 pm    Post subject: Reply with quote

There are IDE extensions you can get for VB to compile inline ASM, C, and a few other languages. But, it takes some work to setup and get working fully and you need to have an ASM and C compiler on your system and configured properly to work fully.

Google for ThunderVB or VB6 inline asm and you should find their site.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Cheat Engine User
Something epic
Ban
Reputation: 60

Joined: 22 Jun 2007
Posts: 2071

PostPosted: Wed Mar 12, 2008 2:24 pm    Post subject: Reply with quote

Wiccaan wrote:
There are IDE extensions you can get for VB to compile inline ASM, C, and a few other languages. But, it takes some work to setup and get working fully and you need to have an ASM and C compiler on your system and configured properly to work fully.

Google for ThunderVB or VB6 inline asm and you should find their site.


You're a master, thanks!
Back to top
View user's profile Send private message
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