TAILIEUCHUNG - Sams Teach Yourself Database Programming with Visual C++ 6 in 21 Days phần 4

Đa tầng ứng dụng thường bao gồm hơn hai tầng. Cấp khách hàng bao gồm máy (s) đang chạy một số loại của một chương trình khách hàng mỏng, chẳng hạn như một trình duyệt Web hoặc một ứng dụng đơn giản. Thường có một tầng lớp trung lưu, bao gồm máy (s) đang chạy một máy chủ Web, | Teach Yourself Database Programming with Visual C 6 in 21 days -- Day 9-Understanding COM happens to have the same name. Simpo PDF Merge and Split Unregistered Version - http A true software component needs to be safely installable on any machine and accessible to all the appropriate applications on that machine. Hard-coded DLL names in the application EXE files are detrimental to this. Build-Time Dependencies Between the DLL and the EXEs That Use it The most common way for applications to use a DLL is to link with its import library implicit load-time linking . The other method-explicit runtime linking with the LoadLibrary and GetProcAddress functions-is not used nearly as often. Using LoadLibrary and GetProcAddress isn t as convenient for the application developer as simply linking to the DLL s import library and having the OS automatically load the DLL. However a problem occurs when it comes time to update the DLL. A true software component can be updated independently of the rest of the system. In other words you can install and use a new version of a component without breaking the existing system. With traditional Win32 DLLs when you modify the code and rebuild the DLL the information in the import library can change. You will recall that the import library contains the function names exported from the DLL. The import library also contains import records for those functions that are fixed up when the DLL is loaded and the addresses are known. This means that when a DLL is updated the applications that use the DLL by linking with the DLL s import library need to be rebuilt also to ensure that the system is stable. Therefore a build-time dependency exists between the application EXE and the DLLs that it uses. NOTE It might be possible to update a DLL without updating the EXEs that use it if you don t change any existing functions in the DLL. However there is no mechanism for the EXE to gracefully recover if the DLL does become out of sync. Also

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.