Cannot open wow process menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    SA56-Scorpion's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Cannot open wow process

    hi...
    i've got a big Problem. I cannot open the WoW process with "PROCESS_ALL_ACCESS". By changing the access-level, e.g. to "READ_CONTROL", then ReadProcessMemory doesn't work anymore.

    Code:
    int main()
    {
    	HWND hWnd = FindWindow(0, "World of Warcraft");
    	if(!hWnd)
    	{
    		MessageBox(0, "Error cannot find window.", "Error", MB_OK|MB_ICONERROR);
    		return 1;
    	}
    
    	DWORD ProccessID;
    	GetWindowThreadProcessId(hWnd, &ProccessID);
    	HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, ProccessID);
    	if(!hProcess)
    	{
    		MessageBox(0, "Could not open the process!", "Error!", MB_OK|MB_ICONERROR);
    		return 1;
    	}
    
    	uint32 buffer = 0;
    
    	if (!ReadProcessMemory(hProcess, (void *)(0x05AF3F6C), &buffer, sizeof(uint32), 0))
    	{
    		MessageBox(0, "Could not read memory!", "Error!", MB_OK|MB_ICONERROR);
    		return 1;
    	}
    
    	CloseHandle(hProcess);
    
    	system("pause");
    
    	return 0;
    }
    In one of these steps i always get an error...
    can you help me plz

    Cannot open wow process
  2. #2
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sigh, not this shit again.

    I'm not even going to read your code, but I can tell you now it's almost certainly because you're using PROCESS_ALL_ACCESS without setting the correct Windows header target version.

    Process Security and Access Rights (Windows)

    Either set the target version to XP (or w/e your minimum OS target is), or, the better solution is to simply manually xor together the flags that you actually need, rather than just asking for everything, including shit you're not going to use.

  3. #3
    SA56-Scorpion's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i don't understand what you mean... you say that the problem is the PROCESS_ALL_ACCESS flag. OK, the size of this flag increaed with vista an Windows server 08, so i cannot use this flag on windows XP without changing the version... but i have got windows vista...

    and another thing... which flags do i need for reading only?

  4. #4
    Xarg0's Avatar Member
    Reputation
    61
    Join Date
    Jan 2008
    Posts
    389
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    dewd, enable your brain and read the msdn page that you were pointed out to read.
    it does explain how to properly set the PROCESS flags and how they work on different versions of windows, just use your goddamn brain buddy.
    And if you aren't already doing it, I doubt you are since it's not in your code, enable SeDebugPrivilege before calling OpenProcess...
    Changing Privileges in a Token (Windows) ****ing read it
    I hacked 127.0.0.1

  5. #5
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've already supplied you with all the information needed to fix your problem. Read the MSDN page and figure it out, I'm not going to spoonfeed you.

Similar Threads

  1. [Question] Open the wow process, methodological issues
    By flyman90 in forum WoW Memory Editing
    Replies: 5
    Last Post: 03-24-2010, 07:45 AM
  2. WoW Process Guard
    By Caaltaa in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 02-17-2008, 03:35 AM
  3. Why Does Wow Crash whenever I Open WOW with Model MPQ..
    By Phunter72 in forum WoW ME Questions and Requests
    Replies: 1
    Last Post: 01-22-2008, 07:21 PM
  4. WPE Pro - It cannot find WoW in the list
    By JoeRodge in forum World of Warcraft General
    Replies: 1
    Last Post: 09-23-2007, 07:02 PM
  5. Can someone tell me how to open WoW in windows mode?
    By _alliance_elune_ in forum World of Warcraft General
    Replies: 6
    Last Post: 11-01-2006, 02:18 AM
All times are GMT -5. The time now is 11:33 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search