in reply to Re: Re+: Win32 Shared Memory
in thread Win32 Shared Memory

Sorry, that's a problem I can't help you with as I don't have the game.

About the best suggestion I can come up with is that you download one of the compiled utilities from the page you linked earlier and see if that can access the shared memory.

If it can, and your code still cannot, then I don't know what else to suggest.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail

Replies are listed 'Best First'.
Re: Re: Re: Re+: Win32 Shared Memory
by nornagon (Acolyte) on May 16, 2004 at 05:26 UTC
    Hmm, ok, I should have tried that earlier. Those utilities can't connect to the game. I had a certain suspicion...

    It's a slightly different game, so it must be using its own files... Something I doubt you can help with.

    Thanks for all your help!

      If its a different game then it almost certainly uses a different name for it's shared memory. Contact the authors and see if they will divulge it.

      Otherwise, there is probably a utility kicking around somewhere that will show you the names of any active shared memory, events etc.

      If I come across one in my travels, I'll post a link here.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
        I've asked on the developers' forums, hoping that will show something up.

        *googles*

        If you find one, that'd be great =]

        {UPDATE}: Ok, it wasn't looking for the wrong peice of memory: I know it's there and I know I can't access it for some reason.

        However, all is not lost. There is a dll that does all the interfacing for me, specific to the game. However, it has void __stdcall functions, and Win32::API doesn't seem to be able to import them with the Win32::API->Import() function... Any clues?

        {UPDATE2}: Ok, don't worry! Instead of using the ->Import() function, I just used ->new(), and it worked! Thanks for all your help! ^_^