Compile the old version of the c++ program and report the error msvcrt.dll and 0x000000 memory cannot be "read" The problem has been solved

        Generally, win10 compiles xp corresponding to the old version of software debugging and uses the virtual machine form to test, but in the virtual machine, there is no independent graphics card, and the running program prompts that the dynamic library cannot be called, or the memory cannot be read. After a quick look, I think that winxp32-bit memory recognition is only It can be 3.7G. In fact, it is caused by the unusable video memory.

        The solution process, because the xp system and win10 need to occupy two sets of keyboard and mouse. Therefore, using win10 for remote xp system, and opening the software, the result is exactly the same as the type of error reported when opening the virtual machine, so it is concluded that the importance of video memory. Especially for large-scale games, it is impossible to play games through remote connections, for a reason. As for the error reported by the virtual machine, I also thought of using a discrete graphics card, but Naihe doesn't know much about virtual machine configuration, nor is it a professional GPU server, so I can't share the graphics card with a dedicated host in a normal virtual machine. In the test, the environment configuration of the physical machine is also very important.

        In the same way, we also pay attention to the importance of the gpu server. Algorithm GPT eats video memory, not memory.

        GPT mainly relies on the computing power of GPU or CPU?
        GPT mainly relies on the computing power of GPU because it requires a lot of calculations to complete tasks, and GPU can provide high-performance computing power, so that GPT can complete tasks faster.

       The solution is to use a physical machine. The physical machine needs to have a corresponding independent graphics card, and the monitor is inserted into the independent graphics card. Run the program and everything works fine.

Guess you like

Origin blog.csdn.net/vcit102/article/details/132322868