| View previous topic :: View next topic |
| Author |
Message |
FrequentlyX Newbie cheater
Reputation: 0
Joined: 29 Dec 2013 Posts: 14
|
Posted: Fri Mar 21, 2014 1:23 am Post subject: C#,32 bit processes cannot access modules of a 64 bit proces |
|
|
Hey guys, im wondering if anyone could help me with this problem
| Code: | try
{
for (int i = 0; i < MyProcess.Length; i++)
{
if (gameChoiceCB.SelectedItem.ToString().Contains(MyProcess[i].ProcessName))
{
MyProcess[0] = Process.GetProcessById(int.Parse(gameChoiceCB.Text.Replace(MyProcess[i].ProcessName + "-", "")));
mainModule = MyProcess[0].MainModule;
Mem.ReadProcess = MyProcess[0];
Mem.OpenProcess();
GameFound = true;
}
}
} |
that is my current code, at the part
| Code: | MyProcess[0] = Process.GetProcessById(int.Parse(gameChoiceCB.Text.Replace(MyProcess[i].ProcessName + "-", "")));
mainModule = MyProcess[0].MainModule; |
it stops working and i get the error " a 32 bit processes cannot access modules of a 64 bit process "
does anyone have any ideas of how i can fix this please ??
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Mar 21, 2014 1:40 am Post subject: |
|
|
Compile your application for usage with x64. You can use the AnyCPU configuration to accomplish that.
_________________
- Retired. |
|
| Back to top |
|
 |
FrequentlyX Newbie cheater
Reputation: 0
Joined: 29 Dec 2013 Posts: 14
|
Posted: Fri Mar 21, 2014 8:09 am Post subject: |
|
|
| atom0s wrote: | | Compile your application for usage with x64. You can use the AnyCPU configuration to accomplish that. |
How would i do that ?
(sorry im new to C#)
Nvm thank you, found it
Acctually im back, wondering if i could get some help, ever since yesterday, when i tried to build it for x64, this operation has been going on,
the file that i attatched is a picture of the operation, and that is the way it has been going on for since yesterday
that is quite a few hours
any ideas why this is happening ?
| Description: |
|
| Filesize: |
29.47 KB |
| Viewed: |
10129 Time(s) |

|
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25823 Location: The netherlands
|
Posted: Sat Mar 22, 2014 11:06 pm Post subject: |
|
|
Tried restarting your computer ?
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Mar 23, 2014 1:06 pm Post subject: |
|
|
Depends on what you are doing as well. Various things could cause operations to timeout or take longer, such as threading things and trying to debug at certain points.
_________________
- Retired. |
|
| Back to top |
|
 |
|