摘要 |
PURPOSE: A method for real-time processing of the numerical control machine tool is provided to prevent a swapping phenomenon of a disk and process a program with a high speed by loading always a program region on a memory. CONSTITUTION: A position and a size of an execution file are obtained by analyzing the execution file. The analyzing process of the execution files includes a process for obtaining a structure of IMAGE_NT_HEADER from a header file structure, a structure of IMAGE_OPTIONAL_HEADER from the structure of the IMAGE_NT_HEADER, a position of the execution file, and a size of a total program. A program region is loaded on a memory by fixing the position and the size of the execution file.
|