Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.

Giới thiệu

Bài viết này mô tả sự cố sập ứng dụng Silverlight cho Windows Embedded từ rò rỉ bộ nhớ trong một điều khiển tùy chỉnh loại VTYPE_BSTR trong Windows Embedded Compact 7 gây ra. Bản Cập Nhật có sẵn để khắc phục sự cố này. Trước khi cài đặt bản cập nhật này, tất cả các bản Cập Nhật đã phát hành cho sản phẩm này phải được cài đặt.

Triệu chứng

Bạn có một ứng dụng Silverlight cho Windows Embedded Windows Embedded Compact 7. Nếu ứng dụng tạo và đăng ký điều khiển tùy chỉnh là một thuộc tính tuỳ chỉnh phụ thuộc loại VTYPE_BSTR, rò rỉ bộ nhớ có thể xảy ra. Ngoài ra, rò rỉ bộ nhớ có thể gây ra các ứng dụng bị sập.

Ví dụ:

  • Phương pháp IXRCustomUserControl::GetPropertyValue() được gọi là, một XRValue được trả lại và thiết lập biến XRValue.shouldFreeValuePointer sai. Điều này khiến một. Nếu bạn đặt XRValue.shouldFreeValuePointer = True trong ứng dụng của bạn, điều này sẽ gây ra rò rỉ bộ nhớ.

  • Phương pháp GetDependencyProperty được gọi là, một XRValue được trả lại và đặt XRValue.shouldFreeValuePointer biến đúng. Điều này cũng gây ra rò rỉ bộ nhớ.


Rò rỉ bộ nhớ những cuối cùng làm cho ứng dụng bị sập.

Giải pháp

Thông tin cập nhật phần mềm

Bản cập nhật phần mềm được hỗ trợ là bây giờ có sẵn từ Microsoft Windows Embedded Compact 7 hàng tháng Cập Nhật (ngày 2015).

Lưu ý Windows nhúng Compact 7 tháng bản cập nhật này có sẵn để tải xuống từ website sau của Microsoft Download Center:

Windows nhúng bản Cập Nhật nhỏ gọn 7

Điều kiện tiên quyết

Bản cập nhật này được hỗ trợ chỉ khi tất cả các bản Cập Nhật đã phát hành cho sản phẩm này cũng đã được cài đặt.

Yêu cầu khởi động lại

Sau khi bạn áp dụng bản cập nhật này, bạn phải thực hiện xây dựng sạch của toàn bộ nền tảng. Để thực hiện việc này, hãy thực hiện một trong những phương pháp sau:

  • Tạo menu bấm Sạch giải phápvà sau đó bấm Tạo giải pháp.

  • Tạo menu, bấm Giải pháp xây dựng lại.

Bạn không phải khởi động lại máy tính sau khi áp dụng bản cập nhật phần mềm này.

Thông tin thay thế bản cập nhật

Bản cập nhật này không thay thế bất kỳ bản Cập Nhật khác.

Phiên bản tiếng Anh của gói cập nhật phần mềm này có các thuộc tính tệp (hoặc thuộc tính tệp mới hơn) được liệt kê trong bảng sau. Ngày và giờ của các tệp này được liệt kê theo Giờ Quốc tế Phối hợp (UTC). Khi bạn xem thông tin về tệp, ngày và giờ được chuyển đổi thành giờ địa phương. Để tìm sự khác nhau giữa UTC và giờ địa phương, sử dụng tab Múi Giờ trong mục Ngày và Giờ trong Pa-nen điều khiển.

Tệp được bao gồm trong gói cập nhật này

Tên tệp

Kích thước tệp

Ngày

Giờ

Đường dẫn

Xamlruntime.map

1,840,534

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.rel

2,848,176

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.dll

1,712,128

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Checked

Xamlruntime.map

1,435,946

03-Jul-2015

10:56

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.rel

2,322,261

03-Jul-2015

10:56

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.dll

1,236,992

03-Jul-2015

10:56

Public\Common\Oak\Target\Mipsii\Retail

Xamlruntime.map

2,462,379

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.rel

3,905,400

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.dll

2,523,136

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii\Debug

Xamlruntime.map

1,833,288

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.rel

1,763,460

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.dll

1,359,872

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Checked

Xamlruntime.map

1,264,169

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.rel

1,577,831

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.dll

970,752

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv6\Retail

Xamlruntime.map

2,485,090

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.rel

2,317,244

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.dll

2,232,320

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv6\Debug

Xamlruntime.map

1,787,558

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Checked

Xamlruntime.rel

1,731,067

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Checked

Xamlruntime.dll

1,060,864

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Checked

Xamlruntime.map

1,428,788

03-Jul-2015

10:54

Public\Common\Oak\Target\X86\Retail

Xamlruntime.rel

1,626,087

03-Jul-2015

10:54

Public\Common\Oak\Target\X86\Retail

Xamlruntime.dll

778,240

03-Jul-2015

10:54

Public\Common\Oak\Target\X86\Retail

Xamlruntime.map

2,282,239

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Debug

Xamlruntime.rel

2,140,373

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Debug

Xamlruntime.dll

1,601,536

03-Jul-2015

10:55

Public\Common\Oak\Target\X86\Debug

Xamlruntime.map

1,803,333

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.rel

2,186,193

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.dll

1,265,664

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Checked

Xamlruntime.map

1,425,652

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.rel

1,955,179

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.dll

925,696

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Retail

Xamlruntime.map

2,461,372

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.rel

2,927,897

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.dll

2,015,232

03-Jul-2015

10:55

Public\Common\Oak\Target\Sh4\Debug

Xamlruntime.map

1,838,850

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.rel

2,819,669

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.dll

1,703,936

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Checked

Xamlruntime.map

1,434,544

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.rel

2,301,497

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.dll

1,236,992

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Retail

Xamlruntime.map

2,460,543

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.rel

3,879,010

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.dll

2,514,944

03-Jul-2015

10:55

Public\Common\Oak\Target\Mipsii_fp\Debug

Xamlruntime.map

1,833,276

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.rel

1,763,460

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.dll

1,351,680

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Checked

Xamlruntime.map

1,264,094

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.rel

1,577,802

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.dll

966,656

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv7\Retail

Xamlruntime.map

2,485,098

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.rel

2,317,215

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.dll

2,228,224

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv7\Debug

Xamlruntime.map

1,833,826

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.rel

1,769,086

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.dll

1,372,160

03-Jul-2015

10:56

Public\Common\Oak\Target\Armv5\Checked

Xamlruntime.map

1,264,656

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.rel

1,582,471

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.dll

983,040

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Retail

Xamlruntime.map

2,484,754

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Debug

Xamlruntime.rel

2,324,871

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Debug

Xamlruntime.dll

2,240,512

03-Jul-2015

10:55

Public\Common\Oak\Target\Armv5\Debug


Tham khảo

Tìm hiểu về thuật ngữ Microsoft sử dụng để miêu tả các bản cập nhật phần mềm.

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Khám phá các lợi ích của gói đăng ký, xem qua các khóa đào tạo, tìm hiểu cách bảo mật thiết bị của bạn và hơn thế nữa.

Cộng đồng giúp bạn đặt và trả lời các câu hỏi, cung cấp phản hồi và lắng nghe ý kiến từ các chuyên gia có kiến thức phong phú.

Thông tin này có hữu ích không?

Bạn hài lòng đến đâu với chất lượng dịch thuật?
Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×