项目管理系统的设计与实现外文翻译

上传人:第*** 文档编号:39005374 上传时间:2018-05-10 格式:DOC 页数:6 大小:53KB
返回 下载 相关 举报
项目管理系统的设计与实现外文翻译_第1页
第1页 / 共6页
项目管理系统的设计与实现外文翻译_第2页
第2页 / 共6页
项目管理系统的设计与实现外文翻译_第3页
第3页 / 共6页
项目管理系统的设计与实现外文翻译_第4页
第4页 / 共6页
项目管理系统的设计与实现外文翻译_第5页
第5页 / 共6页
点击查看更多>>
资源描述

《项目管理系统的设计与实现外文翻译》由会员分享,可在线阅读,更多相关《项目管理系统的设计与实现外文翻译(6页珍藏版)》请在金锄头文库上搜索。

1、1毕业设计(论文)外文文献翻译毕业设计(论文)外文文献翻译(本科学生用)题 目:_项目管理系统的设计与实现_学 生 姓 名:_ _学号:学 部 (系): _专 业 年 级: _指 导 教 师:_ _ 职称或学位: 2010 年 2 月 15 日6外文文献翻译:Library BasicsA Windows program is an executable file that generally creates one or more windows and uses a message loop to receive user input. Dynamic-link libraries are

2、 generally not directly executable, and they generally do not receive messages. They are separate files containing functions that can be called by programs and other DLLs to perform certain jobs. A dynamic-link library is brought into action only when another module calls one of the functions in the

3、 library. The term “dynamic linking“ refers to the process that Windows uses to link a function call in one module to the actual function in the library module. “Static linking“ occurs during program development when you link various object (.OBJ) modules, run-time library (.LIB) files, and usually

4、a compiled resource (.RES) file to create a Windows .EXE file. Dynamic linking instead occurs at run time. KERNEL32.DLL, USER32.DLL, and GDI32.DLL; the various driver files such as KEYBOARD.DRV, SYSTEM.DRV, and MOUSE.DRV; and the video and printer drivers are all dynamic-link libraries. These are li

5、braries that all Windows programs can use. Some dynamic-link libraries (such as font files) are termed “resource-only.“ They contain only data (usually in the form of resources) and no code. Thus, one purpose of dynamic-link libraries is to provide functions and resources that can be used by many di

6、fferent programs. In a conventional operating system, only the operating system itself contains routines that other programs can call on to do a job. In Windows, the process of one module calling a function in another module is generalized. In effect, by writing a dynamic-link library, you are writi

7、ng an extension to Windows. Or you can think of DLLs, including those that make up Windows, as extensions to your program. Although a dynamic-link library module can have any extension (such as .EXE or .FON), the standard extension is .DLL. Only dynamic-link libraries with the extension .DLL will be

8、 loaded automatically by Windows. If the file has another extension, the program must explicitly load the module by using the LoadLibrary or LoadLibraryEx function. 1Youll generally find that dynamic libraries make most sense in the context of a large application. For instance, suppose you write a l

9、arge accounting package for Windows that consists of several different programs. Youll probably find that these programs use many common routines. You could put these common routines in a normal object library (with the extension .LIB) and add them to each of the program modules during static linkin

10、g with LINK. But this approach is wasteful, because each of the programs in this package contains identical code for the common routines. Moreover, if you change one of the routines in this library, youll have to relink all the programs that use the changed routine. If, however, you put these common

11、 routines in a dynamic-link library called, for instance, ACCOUNT.DLL, youve solved both problems. Only the library module need contain the routines required by all the programs, thus requiring less disk space for the files and less memory space when running two or more of the applications simultane

12、ously, and you can make changes to the library module without relinking any of the individual programs. Dynamic-link libraries can themselves be viable products. For instance, suppose you write a collection of three-dimensional drawing routines and put them in a DLL called GDI3.DLL. If you then inte

13、rest other software developers in using your library, you can license it to be included with their graphics programs. A user who has several of these programs would need only one GDI3.DLL file. Library: One Word, Many MeaningsPart of the confusion surrounding dynamic-link libraries results from the

14、appearance of the word “library“ in several different contexts. Besides dynamic-link libraries, well also be talking about “object libraries“ and “import libraries.“ An object library is a file with the extension .LIB containing code that is added to your programs .EXE file in the process called sta

15、tic linking when you run the linker. For example, in Microsoft Visual C+, the normal C run-time object library that you link with your program is called LIBC.LIB. An import library is a special form of an object library file. Like object libraries, import libraries have the extension .LIB and are us

16、ed by the linker to resolve function calls in your source code. However, import libraries contain no code. Instead, they provide the linker with information necessary to set up 1relocation tables within the .EXE file for dynamic linking. The KERNEL32.LIB, USER32.LIB, and GDI32.LIB files included with the Microsoft compiler are import libraries for Windows functions. If you call the Rectangle function in a program, GDI32.

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 中学教育 > 其它中学文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号