Memory Upgrade Problem/Slot not Working

I have an HP Pavilion G7-1260us.  The laptop came with 4 gigs of memory in one module in one slot.  It is upgradeable to 8 gigs, 4 gigs in 2 slots.  I purchased a 4 gig memory module, installed it and it didn't work.  I figured the system wasn't reading this particular brand on memory so I took it back and got a different brand.  The same thing happened.  System didn't recognize the memory so I took out the installed memory, put the new one in and it worked.  I took that out, put the installed memory in the other slot and it didn't work, so now, I'm fairly sure the slot isn't working.  My question is this, if I purchase an 8 gig memory module and install it in the working slot, will that work and will the system show that I have 8 gigs?  Or will this system only recognize 8 gigs if it's 2 4 gigs in each slot?
Thanks...
This question was solved.
View Solution.

   Hp Support Assistant should tell you what you have. Open up the HP Support Assistant and go to General Specifications, read down to slots. If it shows two slots then they are obviously functioning. If not, go to Device Manager to ensure that there is no conflict.
    It is also very-very of the utmost importance that the two memory cards are compatible with themselves and with your system's memory speed.. . . Which is? . . . .It is always best to have matching cards with sychronized speeds from a single vendor.
   As for: My question is this, if I purchase an 8 gig memory module and install it in the working slot, will that work and will the system show that I have 8 gigs?  Or will this system only recognize 8 gigs if it's 2 4 gigs in each slot?
If your running Windows 7, Yes, your system will recognize and use the entire eight gigs. 
If it were a rattler. . . .

Similar Messages

  • Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Other than what you have already done, you should clear the cache from your browser and, if you use it, your Facebook app.  Also, deleting old texts can free up some room.

  • Satellite U300-151 - SD card slot not working

    I have the following model Toshiba Satellite (U300-151 PSU30E-074017AR ) the
    SD card slot not working I install windows XP SP 3 ,& the driver is installed 100% , I need to solve this problem ...
    plz chk this link:

    Hello
    I think on your notebook are missing some drivers.
    The SM Bus Controller driver is in the chipset driver package. So try to install it and maybe it works.
    The drivers you can find on the Toshiba website.
    Have you installed it with a Microsoft disk? The Toshiba recovery disk creator contains all necessary drivers and tools that you need and so this would be maybe an option for you to reinstall the OS.
    Greets

  • Skype 6.3 upgrade for Mac not working

    [Topic title updated by moderator to be more descriptive. Original topic title was: "Skype upgrade for Mac not working"]
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....

    jessicaed wrote:
    BE WARNED - just because you are being asked to upgrade your Skype, it does not mean it will work on your machine. I am a fairly regular user of Skype and this morning was unable to log-in, being told that I needed to upgrade. I did so to 6.3.0.602 but I was unable to log-in once the software had downloaded. After some research on the forums and finally a text chat with Support, I was told that Skype 6.3.0.602 requires a Mac OSX of 10.9 or above - I have 10.5.8
    "So what can I do", I asked the tech support. The answer is nothing (unless I get new OS X software) - there is no Skype software programme that supports my operating system and no timeframe for when it might be available.
    Huh? That's right. It's just not available. So for now, users with less than OS X 10.9 will be unable to use Skype when they are instructed to upgrade. It really doesn't make sense. But just so you know....
    Please look at the top of the community page, and you will find a box "Search:". Write your problem here "Upgrade not working" and see what crops up. Most likely you will be taken somewher like here: http://community.skype.com/t5/Mac/quot-We-ve-signed-you-out-because-your-using-an-outdated-version/m...  
    Here you will read that the latest versions of Skype will not work on some of the versions of MacOS, and that PPC requires one version, Leopard another, Snow leopard another, Mountain Lion another. They are indoctrinated with a stamp in their forehead to enforce their congregation of true believers to install the latest with all "security fixes" or death is looming. They are not used to software that is 2 years old. 
    So, with Mac, we have different operating systems and different sets of libraries - and things may go belly up if you upgrade - a OS feature is done differently, a libary has been placed inside the OS, and is no longer needed - and if you try to use it, you will be trapped.
    Install the latest version that works for your Mac, and make sure to freeze this. Update the "info.plist" file and tell Skype that you use their latest should they pry. As long as it works, do not change anything!
    And make the change to stop Skype from checking every time you start.

  • I sign in tol my Firefox is out of date. did try to do the upgrade but did not work need help

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/978554 /questions/978554]''
    I need help to get my sign in working. Need to upgrade?
    how to do that?
    <sub>edit: removed personal information for your protection. (philipp)</sub>

    I sign in told my Firefox is out of date. did try to do the upgrade but did not work. Need help
    Let me know how to get my sign in working

  • USB ports and memory card slots not working

    My Pavilion a6120n desktop has worked brilliantly ever since I purchased it. As of last week the 2 usb ports in the front and the 2 unused usb ports in the back have stopped working. My printer is plugged into one rear port and my wireless mouse is plugged into a second rear port and these work fine.  I generally use a memory stick for data swapping or the card reader slots (which have also stopped working). I no longer see the memory card icons in the "Computer" window. When installing something new the "New Hardware Found" statement pops up but the driver install always fails. I think it is a software issue but there are no usb drivers to download on the HP/support site that I can find. . . so . . . Below is what I have tried so far.Run antivirus software. Full scan & memory scan - no issuesRun malewarebytes full scan - no issues I have tried restarting several times with no success. Restore to several previous restore points = failedRestarting computer in repair mode = failedRun the repair disk that I had made = failedChecked the power management for each usb port to see if the power was routed properly = okRemoved the case cover and carefully inspected the wiring and connectors.finally I tried uninstalling the usb drivers = failed  Upon restarting the computer the last time the startup file must have failed and after several hours of attempting a repair I had to reinstall the Window 7 completely. Still no usb or memory card function. Any help would be appreciated Thanks,MrBob38

    Hello , Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More. I have read your post on how the USB ports and memory card slots are not working, and I would be happy to assist you in this matter! Since you mentioned that you have already re-installed Windows 7 on your computer, and the USB ports still do not work, please contact our technical support for further assistance in this matter by clicking the link below to get the support number for your region.
    www.hp.com/contacthp/
    I hope this helps!
    Regards

  • Gt70 2PC Dominator 895 USB 3.0 Slots not working

    Only 1 of my 3.0 USB slots is working with my Toshiba 3.0 External HDD.
    The other 2 slots would not work at all with my Toshiba drive. They will only work if I plug my Kingston USB 3.0 Flash drive or any other usb device.
    What can I do to fix this?
    Specs:
    Intel i7 4810
    Nvidia  GTX 870m
    Windows 8.1

    Quote from: Pegasus;104522
    This is a power issue, your external HDD want use USB 3 speed because connected to a USB 3 connector, but the power provide by the notebook are not enought for the HDD and then you get the disconnect problem. WIth a USB memory no issue because need less power and on USB 2 it work because speed are lower.
    So you need a USB cable between your HDD and the NB that can connect to 2 USB connector and then get more power from the NB or use a USB hub with his own power supply, should work.
    So 2 of my USB ports have power issue? Because one of them works fine.
    Quote from: hch;104595
    You mean those two ports is randomly working some time?
    Does the disconnecting problem happen right after you connect the HDD with the notebook? or while you're moving data? (how big is the data?)
    Try to use this external HDD to other notebook and change another USB cable for a cross-validation.
    Also try to find if there is any driver update for this HDD.
    Disconnects when trying to autoplay and while doing anything (even sitting there). Unfortunately I don not have another laptop with usb 3.0 ports. I do however have a desktop and I can say that it works fine there. I check and there are no firmware/driver update for this model.

  • After upgrade USB Keyboard not working to unlock cryptdev-ed HDD

    Hi,
    Is there any sane reason, why my USB keyboard does not work after upgrading right now to enter the keyphrase to unlock my hdd? (x86_64, kernel 2.6.28-1.1, luks encrypted hdd that contains an lvm2 volume) The keyboard works fine in grub, short time before I have to enter the password, it goes black (numblock LED turns off). Luckily I have an USB-to-PS/2 converter, so I just plugged it in there, the system recognizes this and I'm able to enter the password. Afterwards, pluggin the keyboard back into its USB port, it works again.
    Has anyone encountered the same strange behaviour? Or has anyone a solution for this problem?
    best regards

    Even worse, my LUKS key is stored on a USB-Stick. After upgrading, my USB-Stick was not recognized and so the LUKS key could not be read. Luckily (very luckily) I had defined a plain text keyphrase for LUKS slot 2 and so I was able to enter this via the PS2 keyboard. Anyone who has not provided this "backdoor" for themselves faces a difficult task.
    A bug report exists concerning this problem: http://bugs.archlinux.org/task/12867

  • B50-30 Memory upgrade/faulty slot?

    Hi Lenovo I have an issue in trying to upgrade the B50-30 from the installed 4Gb to 16b except it seems as the 2nd slot is not reading the 2nd module placed in it. The site, and customer support for that site, I purchased the ram from state that the laptop will take 16Gb - according to Lenovo... but Lenovo show 8Gb max usable capacity in the Lenovo Solution Center app? Not sure if it refers to 8Gb max in the one slot - - - so a total of 16Gb? I therefore have a few questions to ask: 1/ What is the correct total RAM the B50-30 will take? 8 or 16? Having placed both 8Gb modules in the slots and booting up I get a 'blue' screen with Lenovo logo and the 'busy' circle going round and it continues until the battery is removed; 2/ Does this indicate that it does not take 16Gb or a fault with slot 2? Placing 1 8Gb module in slot one works - - - BUT the machine is still VERY slow! I have tried placing the original 4Gb module in to slot 2 leaving slot 1 empty but get a black screen at boot up. 3/ Does this indicate that the slot 2 is faulty or that slot 1 must be occupied? 4/ How can I check if the 2nd slot is okay and working? I have placed 2 x 4Gb modules from a Toshiba X500 P33 machine (supposed max ram 8Gb but now running 16Gb) and neither ram works either together (as 8Gb) or as 4Gb in slot 1. I have assumed that these are not compatible yet they are the 'same' 204-pin SODIMM DDR3 PC3-12800 1600MHz modules as those sent for the 2x 8Gb upgrade! I purchased the machine for my wife in January this year and it has ALWAYS been VERY slow. I had hoped to speed it up with the upgrade but I am disappointed it is still slow with 1x 8Gb and seemingly can't use slot two! It is so slow that my wife does not like to use it - wont use it - and I'm feeling it was a waste of money to buy it. If it is faulty then that would possibly explain why it is so slow but I need to get this sorted... please help! Oh! If I enter the serial number for the machine (on the Lenovo site support page) I get an error message and told to enter the 'correct' number??? Lenovo Solution Center program for the machine shows: Product: 80ES, Serial SDK0F82993WIN, BIOS: 9CCN27WW(V2.05)  

    Hi FrankJ,
    Thanks for Posting!
    The Lenovo B50-30 Supports 8GB Max (2x 4gb)
    http://www.lenovo.com/shop/emea/content/pdf/Essential/BSeries/B50DSEN.pdf
    To Check if the RAM slot 2 is working, Try all the RAM module that worked on slot 1 into slot 2.
      Note: You can use slot 2 even if the slot 1 is blank and the otherway around (No hierarchy).
    The Ram module from your other computer may not work, because the Lenovo B50-30 supports DDR3L type of RAM which is a low powered module.
    Hope this helps
    Cheers!
     

  • Java - Write And Read From memory Like CheatEngine ( Writing not working?)

    Hello Oracle Forum
    I came here some time ago to ask about javaFX , i solved all my issues and im right now waiting for javaFx tot ake over swing and hmm, im working on learning LIBGDX to create games in java.
    However, im in need to create an app to change values of memory to fix a bug in an old program that i have, and the only way until now is using cheatEngine, So i decided to take a tutorial and learn how to do that in java.
    Well, im able to read from the memory but the write isnt working somehow... Im posting the code here, if anyone can give me a hint, i would thank and a lot, because theres a community that really needs this app to automate the fix without using cheat engine.
    package MainStart;
    import com.br.HM.User32;
    import com.br.kernel.Kernel32;
    import com.sun.jna.Memory;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.ptr.IntByReference;
    public class Cheater {
        static Kernel32 kernel32 = (Kernel32) Native.loadLibrary("kernel32", Kernel32.class);
        static User32 user32 = (User32) Native.loadLibrary("user32", User32.class);
        static int readRight = 0x0010;
        static int writeRight = 0x0020;
        //static int PROCESS_VM_OPERATION = 0x0008;
        public static void main(String[] args) {
            //Read Memory
            //MineSweeper = Campo Minado
            int pid = getProcessId("Campo Minado"); // get our process ID
            System.out.println("Pid = " + pid);
            Pointer readprocess = openProcess(readRight, pid); // open the process ID with read priviledges.
            Pointer writeprocess = openProcess(writeRight, pid);
            int size = 4; // we want to read 4 bytes
            int address = 0x004053C8;
            //Read Memory
            Memory read = readMemory(readprocess, address, size); // read 4 bytes of memory starting at the address 0x00AB0C62.
            System.out.println(read.getInt(0)); // print out the value!      
            //Write Memory
            int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]);
            System.out.println("WriteMemory :" + writeMemory);
            Memory readM = readMemory(readprocess, address, size);
            System.out.println(readM.getInt(0));
        public static int writeMemory(Pointer process, int address, short[] data) {
            IntByReference written = new IntByReference(0);
            Memory toWrite = new Memory(data.length);
            for (long i = 0; i < data.length; i++) {
                toWrite.setShort(0, data[new Integer(Long.toString(i))]);
            boolean b = kernel32.WriteProcessMemory(process, address, toWrite, data.length, written);
            System.out.println("kernel32.WriteProcessMemory : " + b); // Retorna false
            return written.getValue();
        public static Pointer openProcess(int permissions, int pid) {
            Pointer process = kernel32.OpenProcess(permissions, true, pid);
            return process;
        public static int getProcessId(String window) {
            IntByReference pid = new IntByReference(0);
            user32.GetWindowThreadProcessId(user32.FindWindowA(null, window), pid);
            return pid.getValue();
        public static Memory readMemory(Pointer process, int address, int bytesToRead) {
            IntByReference read = new IntByReference(0);
            Memory output = new Memory(bytesToRead);
            kernel32.ReadProcessMemory(process, address, output, bytesToRead, read);
            return output;
    package com.br.HM;
    import com.sun.jna.Native;
    import com.sun.jna.Pointer;
    import com.sun.jna.Structure;
    import com.sun.jna.platform.win32.WinDef.RECT;
    import com.sun.jna.ptr.ByteByReference;
    import com.sun.jna.ptr.IntByReference;
    import com.sun.jna.win32.StdCallLibrary.StdCallCallback;
    import com.sun.jna.win32.W32APIOptions;
    * Provides access to the w32 user32 library. Incomplete implementation to
    * support demos.
    * @author Todd Fast, [email protected]
    * @author [email protected]
    public interface User32 extends W32APIOptions {
        User32 INSTANCE = (User32) Native.loadLibrary("user32", User32.class, DEFAULT_OPTIONS);
        Pointer GetDC(Pointer hWnd);
        int ReleaseDC(Pointer hWnd, Pointer hDC);
        int FLASHW_STOP = 0;
        int FLASHW_CAPTION = 1;
        int FLASHW_TRAY = 2;
        int FLASHW_ALL = (FLASHW_CAPTION | FLASHW_TRAY);
        int FLASHW_TIMER = 4;
        int FLASHW_TIMERNOFG = 12;
        public static class FLASHWINFO extends Structure {
            public int cbSize;
            public Pointer hWnd;
            public int dwFlags;
            public int uCount;
            public int dwTimeout;
        int IMAGE_BITMAP = 0;
        int IMAGE_ICON = 1;
        int IMAGE_CURSOR = 2;
        int IMAGE_ENHMETAFILE = 3;
        int LR_DEFAULTCOLOR = 0x0000;
        int LR_MONOCHROME = 0x0001;
        int LR_COLOR = 0x0002;
        int LR_COPYRETURNORG = 0x0004;
        int LR_COPYDELETEORG = 0x0008;
        int LR_LOADFROMFILE = 0x0010;
        int LR_LOADTRANSPARENT = 0x0020;
        int LR_DEFAULTSIZE = 0x0040;
        int LR_VGACOLOR = 0x0080;
        int LR_LOADMAP3DCOLORS = 0x1000;
        int LR_CREATEDIBSECTION = 0x2000;
        int LR_COPYFROMRESOURCE = 0x4000;
        int LR_SHARED = 0x8000;
        Pointer FindWindowA(String winClass, String title);
        int GetClassName(Pointer hWnd, byte[] lpClassName, int nMaxCount);
        public static class GUITHREADINFO extends Structure {
            public int cbSize = size();
            public int flags;
            Pointer hwndActive;
            Pointer hwndFocus;
            Pointer hwndCapture;
            Pointer hwndMenuOwner;
            Pointer hwndMoveSize;
            Pointer hwndCaret;
            RECT rcCaret;
        boolean GetGUIThreadInfo(int idThread, GUITHREADINFO lpgui);
        public static class WINDOWINFO extends Structure {
            public int cbSize = size();
            public RECT rcWindow;
            public RECT rcClient;
            public int dwStyle;
            public int dwExStyle;
            public int dwWindowStatus;
            public int cxWindowBorders;
            public int cyWindowBorders;
            public short atomWindowType;
            public short wCreatorVersion;
        boolean GetWindowInfo(Pointer hWnd, WINDOWINFO pwi);
        boolean GetWindowRect(Pointer hWnd, RECT rect);
        int GetWindowText(Pointer hWnd, byte[] lpString, int nMaxCount);
        int GetWindowTextLength(Pointer hWnd);
        int GetWindowModuleFileName(Pointer hWnd, byte[] lpszFileName, int cchFileNameMax);
        int GetWindowThreadProcessId(Pointer hWnd, IntByReference lpdwProcessId);
        interface WNDENUMPROC extends StdCallCallback {
             * Return whether to continue enumeration.
            boolean callback(Pointer hWnd, Pointer data);
        boolean EnumWindows(WNDENUMPROC lpEnumFunc, Pointer data);
        boolean EnumThreadWindows(int dwThreadId, WNDENUMPROC lpEnumFunc, Pointer data);
        boolean FlashWindowEx(FLASHWINFO info);
        Pointer LoadIcon(Pointer hInstance, String iconName);
        Pointer LoadImage(Pointer hinst, // handle to instance
                String name, // image to load
                int type, // image type
                int xDesired, // desired width
                int yDesired, // desired height
                int load // load options
        boolean DestroyIcon(Pointer hicon);
        int GWL_EXSTYLE = -20;
        int GWL_STYLE = -16;
        int GWL_WNDPROC = -4;
        int GWL_HINSTANCE = -6;
        int GWL_ID = -12;
        int GWL_USERDATA = -21;
        int DWL_DLGPROC = 4;
        int DWL_MSGRESULT = 0;
        int DWL_USER = 8;
        int WS_EX_COMPOSITED = 0x20000000;
        int WS_EX_LAYERED = 0x80000;
        int WS_EX_TRANSPARENT = 32;
        int GetWindowLong(Pointer hWnd, int nIndex);
        int SetWindowLong(Pointer hWnd, int nIndex, int dwNewLong);
        int LWA_COLORKEY = 1;
        int LWA_ALPHA = 2;
        int ULW_COLORKEY = 1;
        int ULW_ALPHA = 2;
        int ULW_OPAQUE = 4;
        boolean SetLayeredWindowAttributes(Pointer hwnd, int crKey,
                byte bAlpha, int dwFlags);
        boolean GetLayeredWindowAttributes(Pointer hwnd,
                IntByReference pcrKey,
                ByteByReference pbAlpha,
                IntByReference pdwFlags);
         * Defines the x- and y-coordinates of a point.
        public static class POINT extends Structure {
            public int x, y;
         * Specifies the width and height of a rectangle.
        public static class SIZE extends Structure {
            public int cx, cy;
        int AC_SRC_OVER = 0x00;
        int AC_SRC_ALPHA = 0x01;
        int AC_SRC_NO_PREMULT_ALPHA = 0x01;
        int AC_SRC_NO_ALPHA = 0x02;
        public static class BLENDFUNCTION extends Structure {
            public byte BlendOp = AC_SRC_OVER; // only valid value
            public byte BlendFlags = 0; // only valid value
            public byte SourceConstantAlpha;
            public byte AlphaFormat;
        boolean UpdateLayeredWindow(Pointer hwnd, Pointer hdcDst,
                POINT pptDst, SIZE psize,
                Pointer hdcSrc, POINT pptSrc, int crKey,
                BLENDFUNCTION pblend, int dwFlags);
        int SetWindowRgn(Pointer hWnd, Pointer hRgn, boolean bRedraw);
        int VK_SHIFT = 16;
        int VK_LSHIFT = 0xA0;
        int VK_RSHIFT = 0xA1;
        int VK_CONTROL = 17;
        int VK_LCONTROL = 0xA2;
        int VK_RCONTROL = 0xA3;
        int VK_MENU = 18;
        int VK_LMENU = 0xA4;
        int VK_RMENU = 0xA5;
        boolean GetKeyboardState(byte[] state);
        short GetAsyncKeyState(int vKey);
    package com.br.kernel;
    import com.sun.jna.*;
    import com.sun.jna.win32.StdCallLibrary;
    import com.sun.jna.ptr.IntByReference;
    // by deject3d
    public interface Kernel32 extends StdCallLibrary
        // description from msdn
        //BOOL WINAPI WriteProcessMemory(
        //__in   HANDLE hProcess,
        //__in   LPVOID lpBaseAddress,
        //__in   LPCVOID lpBuffer,
        //__in   SIZE_T nSize,
        //__out  SIZE_T *lpNumberOfBytesWritten
        boolean WriteProcessMemory(Pointer p, int address, Pointer buffer, int size, IntByReference written);
        //BOOL WINAPI ReadProcessMemory(
        //          __in   HANDLE hProcess,
        //          __in   LPCVOID lpBaseAddress,
        //          __out  LPVOID lpBuffer,
        //          __in   SIZE_T nSize,
        //          __out  SIZE_T *lpNumberOfBytesRead
        boolean ReadProcessMemory(Pointer hProcess, int inBaseAddress, Pointer outputBuffer, int nSize, IntByReference outNumberOfBytesRead);
        //HANDLE WINAPI OpenProcess(
        //  __in  DWORD dwDesiredAccess,
        //  __in  BOOL bInheritHandle,
        //  __in  DWORD dwProcessId
        Pointer OpenProcess(int desired, boolean inherit, int pid);
        /* derp */
        int GetLastError();
    http://pastebin.com/Vq8wfy39

    Hello there,
    this tutorial was exactly what I needed, so thank you.
    Your problem seems to be in this line:
    int writeMemory = writeMemory(writeprocess, address, new short[0x22222222]); 
    The problem is, you're creating a new short array with the length of 0x22222222. Which not only results in an java.lang.OutOfMemoryError: Java heap space
    but also, if it would work, would create an empty array with the length of 0x22222222.
    I think you want to write 0x22222222 as value in your address.
    Correctly stored the code you'd need to write would be:
    short[] sarray = new short[]{(short) 0x22222222};
    But because the value is too long for the short, the value stored in your array would be the number 8738.
    I think, what you want to do is to store the number 572662306, which would be the hex value, stored in an int variable.
    So first of all you need to strip down your hex-value to shorts:
    Short in Java uses 16 Bit = 2 Byte. 0x22222222 -> 0x2222 for your high byte and 0x2222 for your low byte
    So your array would be
    short[] sarray = new short[]{0x2222,0x2222};//notice, that sarray[0] is the lowbyte and sarray[1] the high byte, if you want to store 20 it would be new short[]{20,0} or if you use hex new short[]{0x14,0x00}
    The next part is your writeToMemory Method. If I'm right, the method in the tutorial is a little bit wrong. The right version should be this:
    public static int writeMemory(Pointer process, int address, short[] data) {
      IntByReference written = new IntByReference(0);
      int size = data.length*Short.SIZE/8;
      Memory toWrite = new Memory(size);
      for (int i = 0; i < data.length; i++) {
      toWrite.setShort(i*Short.SIZE/8,
      data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite,
      size, written);
      return written.getValue();
    You need to calculate your offset right. And the size of your memory. Maybe you could write this method not with shorts, but with integers. But this should work.
    If you pass your new array to this function, it should write 0x22222222 to your adress. If you read out your toWrite value with toWrite.getInt(0) you get the right value.
    And there is one more thing. In order to write data to a process, you need to grant two access rights:
    A handle to the process memory to be modified. The handle must have PROCESS_VM_WRITE and PROCESS_VM_OPERATION access to the process.
    You have to grant the right to write data: PROCESS_VM_WRITE: 0x0020 and PROCESS_VM_OPERATION: 0x0008
    So your writeProcess needs to get initialized this way:
    Pointer writeprocess = openProcess(0x0020|0x0008,pid);
    I hope this works for you. Let me know.
    Greetings
    Edit:
    Because every data you write will be 1 byte to whatever count of byte I think the best way is to use the following method to write data to the memory:
    public static void writeMemory(Pointer process, long address, byte[] data)
      int size = data.length;
      Memory toWrite = new Memory(size);
      for(int i = 0; i < size; i++)
      toWrite.setByte(i, data[i]);
      boolean b = kernel32.WriteProcessMemory(process, address, toWrite, size, null);
    You can see some changes. First I changed all address values from int to long, because some addresses are out of range. And with all, i mean all. Not only in writeMemory, but also in readMemory and in your kernel32 Class.
    Second I don't use the IntByReference anymore..
    To use this method you need to store your data the following way if you would write 4 Byte data:
    byte[] values = new byte[]{0x14,0x00,0x00,0x00};
    This value would be the number 20. Index 0 will be the lowest byte and index 3 will be the highest byte.
    And one more thing I wrote is an method which you can use to calculate your address if you have a baseAddress.
    If you restart your program/game your old addresses won't point at the same values of your game. With some research (I use CheatEngine) you can get the baseaddress. This one will alway be the same.
    To get from your baseaddress to the dynamic adress you use offsets.
    public static long findDynAddy(Pointer process, int[] offsets, long baseAddress)
      long pointer = baseAddress;
      int size = 4;
      Memory pTemp = new Memory(size);
      long pointerAddress = 0;
      for(int i = 0; i < offsets.length; i++)
      if(i == 0)
      kernel32.ReadProcessMemory(process, pointer, pTemp, size, null);
      pointerAddress = ((pTemp.getInt(0)+offsets[i]));
      if(i != offsets.length-1)
      kernel32.ReadProcessMemory(process, pointerAddress, pTemp, size, null);
      return pointerAddress;
    This methods gets a process, an array of offsets (hex-values) and your baseadress and returns the dynamic address.
    For Solitaire the following code would give you the address to the score:
    long baseAddr = 0x10002AFA8L;
      int[] offsets = new int[]{0x50,0x14};
      long addr = findDynAddy(process, offsets, baseAddr);
    If somebody wants to get the whole code (user32, kernel32 and the cheater) just pm me and I will give you a link.

  • After upgrading IO5 speaker not working

    Please advice how to resolve speaker problem after upgrading to IO5, speaker not working and volume bar is missing too.

    What Troubleshooting Steps have you tried...
    The Basics are Restart... Reset... Restore
    Reset your phone:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release the buttons...
    iPhone Reset
    http://support.apple.com/kb/ht1430

  • My Memory Card Reader is not Working...

    I was Purchased LENOVO 3000 N200 notebook last month. All devices and working properly. But my MEMORY CARD READER (5 in 1) is not working. I was downloaded drivers and installed in my laptop, but when i'm inserting memory card in to slot it is not showing any message in my laptop. But Green LED is blinking.
    Please give me instructions how to use MEMORY CARD READER...
    ashok

    Although the best way to read your memory card, memory card readers can be a pain. I've had a few I've just thrown out. Make sure the USB connection to the port is fully seated. Make sure the memory card is fully seated in the reader. Do you have an SD card because the reader in the iMac is by far the most reliable I've used.

  • Ram slots not working after CMOS reset

    Im using MSI K9N Neo V2 mb, and it was doing fine until i reseted CMOS. Now 3 out of 4 ram slots are not recognized by BIOS nor Windows. Im sure that ram memory is ok, cause ive checked all of it by replacing it between ram slots, and they're only working in slot nr 4.
    I know that the MB is old, but everything was working fine, and suddenly went wrong after CMOS reset
    Things i did to fix:
    Updated BIOS
    Msconfig memory uncheck box
    Cleared CMOS with jumper
    Replaced CMOS BAT
    Checked if smth's wrong with cpu
    Cleared RAM slots with rubbing alcohol
    System wont even boot without memory in DIMM 4 (ram slot 4), and BIOS only recognizes memory in DIMM 4
    This is really frustrating, because there is no reason for smth to not work all of a sudden
    Any help? Tnx
    Sent from my SAMSUNG-SGH-I747 using Tapatalk 2

    There is a known issue with Powerbooks with the lower memory slot failing, and it sounds like yours may be starting to fail. At one point there was an Apple recall for a small sliver of Powerbook systems to fix that.
    The alternatives are to run with 1GB in the upper slot, try one of the internet vendors that say they can fix that (check references), or install a used logic board. I don't believe Apple is repairing Powerbooks anymore, so if you want to buy a used logic board, you'll need to install it yourself, or perhaps an Apple Authorized Service Provider would be willing to do the work.

  • Snow Leopard upgrade - Keyboard Letters not working

    Since I upgraded to Snow Leopard the CAPS lock key and the letter "p" will not work anymore. Not sure if this is a hardware fault and just coincidence.
    Can live without CAPS lock but random letters will cause me an issue. Anybody have similar issues/problems/suggestions?
    Thanks

    Try resetting your SMC and PRAM.
    Resetting the System Management Controller >>
    If that does not work, try an external keyboard to test.
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Macsimum News Associate Editor  Creator of 'Mac611 - Mobile Mac Support'

  • RAM slot not working

    Hey everyone,
    I recently bought some RAM for my Mac Book Pro. It came with 1gb, and I bought two 1gb sticks. I put in both sticks of new RAM and my computer would come on but the screen would remain blank. After doing some tests, I found that the lower RAM tray was not working with the old or new RAM stick, and that the upper tray worked with the new and old one. Has this happened to anyone, or anyone have any suggestions on fixes? I tried canned air and it hasn't helped. Currently, I am using the new RAM stick in the upper tray, but would obviously like to take advantage of the lower tray as well.
    Thanks!

    Sounds like bad news, I'm afraid, Davide. It is likely that the slot itself is damaged. I have seen situations where RAM "reappeared" in the past after an SMC or PRAM reset, but I doubt this is your problem here. Still worth trying, I guess.
    Run the Apple Hardware test (on one of the DVDs that originally came with your computer) too, but I suspect it will either need a motherboard repair or replacement.
    Rod
    (PS - fine surname you have there! )

Maybe you are looking for

  • Simple Transformation with very long XML element names

    I am trying to write a program to deserialize XML documents using the Simple Transformation technique.  There are many optional elements in the XML document, so I need to have conditional statements statements to avoid trying to process elements that

  • Sub Site Creation fails (works, but access is denied + autodelete)

    Hello, we have an upgraded from 2010 Sharepoint Sharepoint 2013 site, and i believe, since i pressed the "make it 2013" Button, normal users cannot create sub sites anymore. As an Admin, i can do this. As you can see in the Logfiles, the Site is crea

  • How to sync iMessage on iphone and iPad?

    I want to sync my iMessage between my iPhone and iPad. How do I do this? Also, is there a way I can sync all of the conversations made on the iPad to the iPhone, but not sync conversations made on the iPhone to the iPad? I sometime share my iPad with

  • Error Spry.Data.XMLDataSet is null or not an object

    Hi I try to use a dataset and a repeat list on a site But it wont show the list in top. There are two javascript errors. One of them says Spry.Data.XMLDataSet is null or not an object Whats wrong

  • Error Loading xmlparserv2.jar

    Platform: NT4 SP5 Database: 8.1.6 When loading xmlparserv2.jar via loadjava, I'm getting an ORA-01401: inserted value too large for column. Command: loadjava -user eclipse/eclipse@bugs -r -v xmlparserv2.jar Errors: loading : oracle/xml/parser/v2/mesg