Using dual computer call gaming program

xiaoxiao2021-03-06  38

Sender: JustDoit_CBF (Programming Raw), Original Channel: USTCBBS

Title: Using Dual Computer Turning Game Programs

Sending Station: China BBS Station (WED, 16 JAN 2002 13:26:39), station letter

Very practical skills: :-)

When programming, the debugger is very difficult, especially full screen mode, always

The approach to the VC IDE environment, I usually use BLTFast instead of FLIP to ensure GDI.

Surface is always in front, but the effect is not too good, I found one in VC a few days ago.

Baby, you can use two computer debugging procedures, one running program, another running VC

To debug, add TRACE output, it is really cool, the following is my approach:

1. Guarantee that the two computers are networked, it is best to be in front of you, otherwise you will be willing.

I have to run. It is also necessary to ensure that your program can run normally on both computers.

For example, it is installed on DX8.

2. Suppose you use A machine to run VC to program and debug, use B machine to run your program,

If the B machine does not install VC, you need to copy the VC's Debug Monitor on the B machine, specifically

The file is MSVCMON.EXE, MSVCRT.DLL, TLN0T.DLL, DM.DLL, MSVCP6O.DLL

And MSDis110.dll, if the B machine is running, the file Psapi.dll is also copied. This

Some files in the common / msdev98 / bin directory and system directory in the VC installation directory

3. Create a shared directory on the B machine, be sure to set it fully to ensure that the A can write files on B at any time.

4. Open your program engineering file on A, Alt F7 Open Project Setting, select

In the Debug page, in Excutable for Debug Session and Remote Executable

Path and Name Fill in the file path and name on the B machine, such as the IP address of the B machine

For 172.16.4.60, the shared directory is named Debug, the project is TEST, then //172.16.4.60

//Debug/test.exe, in the Output File Name in the Link page, also fill in the same

content. Then select the menu build-> Debugger Remote Connection, in Setting

Fill in the IP address of the B machine.

5. Run MSVCMon.exe on the B machine, press Connect waiting to be connected, then on A.

You can start the debugger, if your program is running smoothly, if

If you have any questions, you can refer to the DEBUGGING Remote Applications in MSDN.

-

IT IS Not About TECHNOLOGY

IT IS ABOUT People

━━━━━ 科 科技 人 为 人 本 ━━━━━

※ Source: China University of Science and Technology BBS Station [bbs.ustc.edu.cn]

转载请注明原文地址:https://www.9cbs.com/read-68894.html

New Post(0)