| View previous topic :: View next topic |
| Author |
Message |
vegito616 Expert Cheater
Reputation: 0
Joined: 08 Jan 2006 Posts: 109
|
Posted: Sun Jan 13, 2008 9:03 pm Post subject: Need a little Help with C++ |
|
|
| I was wondering how you could allocate memory like you would in a CE Auto-assembler script in C++. Or is there another method of converting CE auto-assembler scripts into C++?
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Sun Jan 13, 2008 9:26 pm Post subject: |
|
|
| VirtualAllocEx();
|
|
| Back to top |
|
 |
vegito616 Expert Cheater
Reputation: 0
Joined: 08 Jan 2006 Posts: 109
|
Posted: Tue Jan 15, 2008 12:23 pm Post subject: |
|
|
| How do you choose addresses to allocate to?
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Tue Jan 15, 2008 12:44 pm Post subject: |
|
|
| vegito616 wrote: | | How do you choose addresses to allocate to? | Did you even check the reference? | Quote: | lpAddress
The pointer that specifies a desired starting address for the region of pages that you want to allocate. |
|
|
| Back to top |
|
 |
vegito616 Expert Cheater
Reputation: 0
Joined: 08 Jan 2006 Posts: 109
|
Posted: Tue Jan 15, 2008 1:53 pm Post subject: |
|
|
| Damn, i did not read the page thoroughly enough, thanks! But now, I have one more question. How would you define labels in C++ like you would in a CE AA script?
|
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Wed Jan 16, 2008 9:31 am Post subject: |
|
|
| vegito616 wrote: | | Damn, i did not read the page thoroughly enough, thanks! But now, I have one more question. How would you define labels in C++ like you would in a CE AA script? | You really really should avoid that. But if you wanna do it, just do it like in an AA script:
|
|
| Back to top |
|
 |
|