| View previous topic :: View next topic |
| Author |
Message |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Wed Mar 12, 2008 3:15 am Post subject: Visual Basic And ASM |
|
|
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 |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Wed Mar 12, 2008 4:05 am Post subject: |
|
|
Nope, can't be done in VB.
You can create an opcode converter, converts opcodes to bytes. |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Mar 12, 2008 2:18 pm Post subject: |
|
|
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 |
|
 |
Cheat Engine User Something epic
Reputation: 60
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Wed Mar 12, 2008 2:24 pm Post subject: |
|
|
| 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 |
|
 |
|