API: CopyMemory
-
Hi, users! Please, tell me, how to use API function CopyMemory! For example, how to read memory address F000:FFF5 contained 8 bytes? After this code VB IDE will be closed with error! CopyMemory MyVar, &FFFF5, &8 This snippet I was see at one of VB sites. Mihei89
-
Hi, users! Please, tell me, how to use API function CopyMemory! For example, how to read memory address F000:FFF5 contained 8 bytes? After this code VB IDE will be closed with error! CopyMemory MyVar, &FFFF5, &8 This snippet I was see at one of VB sites. Mihei89
-
Hi, users! Please, tell me, how to use API function CopyMemory! For example, how to read memory address F000:FFF5 contained 8 bytes? After this code VB IDE will be closed with error! CopyMemory MyVar, &FFFF5, &8 This snippet I was see at one of VB sites. Mihei89
My first question would be what are you trying to do with it? Since the proc is switched to 32-bit flat addressing, the segment and offset address you specified doesn't have any meaning. Also, you can't just read any memory you want from anywhere. Various areas are protected, such as the kernel. And, each process get's it's own address space, essentially making it think it's the only one running on the system.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Hi, users! Please, tell me, how to use API function CopyMemory! For example, how to read memory address F000:FFF5 contained 8 bytes? After this code VB IDE will be closed with error! CopyMemory MyVar, &FFFF5, &8 This snippet I was see at one of VB sites. Mihei89
Have a look here : http://www.codeproject.com/vb/net/netcopymemorysample.asp[^] HTG codeguru.com Article Reviewer - > http://www.codeguru.com/forum/member.php?u=56188