Results 1 to 38 of 38

Thread: Can anyone write assembly code to copy a string?

Threaded View

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jan 2020
    Posts
    5,538

    Red face Can anyone write assembly code to copy a string?

    How to copy a string to a memory address in the fastest way, including the first 4 bytes.
    Or
    Copy a string to a memory address in the fastest way, including the first 4 bytes.
    '=============
    how to write string to memory address by asm code?
    how to read string from memory by pointer for CreateFileMapping?

    how to read data without api(RtlMoveMemory),use pointer is best.
    vb6 activex exe ,or activex.dll,ocx,for read data or call method,activex.exe very slowly,set value 1000000000 times,need 13000 Seconds.;
    dll,ocx,need 100 second,
    copymemory use:10 ms,
    a(x)=n,,use 1 ms

    use api "CreateFileMapping" ,share memory area by name like "memory_abc",read it from other process。
    To share data between processes, you need to open this "shared file name" and then use copymemory (RtlMoveMemory) to write or read data.
    Is there such a method, the second process creates a variable, such as: dim str2 as string, or dim strArr () as string, and then directly access the memory data using the variable name, without RtlMoveMemory faster
    chinese:进程之间共享数据需要打开这个"共享文件的名称",再用copymemory(RtlMoveMemory)写入或者读取数据。
    有没有这样一种方法,第二个进程创建一个变量,比如:dim str2 as string,或者 dim strArr() as string,然后直接用变量名进行访问内存数据,不用RtlMoveMemory速度更快
    Last edited by xiaoyao; Feb 16th, 2020 at 03:53 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width