TAILIEUCHUNG - Application InterProcess Communication Tutorial

Please notice, that the whole projects are already created, you don’t have to do this by yourself. However, this tutorial will help you to get a better start using the components. First, create a new project and save it as respectively Server,dpr. Then add a new project to the project Group and save it as and . Create a new unit and add csGlobals to the uses section of both, client and server. | Application InterProcess Communication Tutorial Copyright 2002-2003 by Peter Sippel Datentechnik In this Tutorial you will learn how easy it is to link your applications working together as one. See here how to use the TAIPC-Classes. If you have detailed questions about the classes members please see the online help. Create your projects and the project group Please notice that the whole projects are already created you don t have to do this by yourself. However this tutorial will help you to get a better start using the components. First create a new project and save it as respectively Server dpr. Then add a new project to the project Group and save it as and . Create a new unit and add csGlobals to the uses section of both client and server. unit Globals interface uses classes type TStatusMsg record status string 32 percent integer end PStatusMsg TStatusMsg TTestBuffer record i integer d double s string 32 end PTestBuffer TTestBuffer type TTestObject class TComponent private fd double fi integer fs string public NotAccessible integer published property i integer read fi write fi property d double read fd write fd property s string read fs write fs end implementation initialization Registerclass TTestObject finalization UnRegisterClass TTestObject end. Only the published members will be sended to the receiver. We register the class in the initialization and unregister in the finalization section. The Server project Now we are going to create the Server program. Add the following components to the form A panel change Align to alLeft Caption and BevelOuter to bvNone A splitter change the width to 5 A listview change ViewStyle to vsReport ReadOnly to true and create 5 columns Handle Name Kind Status Progress 3 checkboxes set the captions to Active Ask on Login and AllowDupNames 4 buttons set the captions to Unlink client Send ClientList Send Testbuffer and SendText set enabled to false Of course an .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.