# Exception Unhandled: Unhandled exception at 0x00007FFE53ED4FD9 in luan.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000C9A24FE370

**URL:** <https://forum.opencv.org/t/exception-unhandled-unhandled-exception-at-0x00007ffe53ed4fd9-in-luan-exe-microsoft-c-exception-cv-exception-at-memory-location-0x000000c9a24fe370/9482>\
**Category:** C++\
**Created:** [July 12, 2022, 1:44pm UTC](https://forum.opencv.org/t/exception-unhandled-unhandled-exception-at-0x00007ffe53ed4fd9-in-luan-exe-microsoft-c-exception-cv-exception-at-memory-location-0x000000c9a24fe370/9482 "2022-07-12T13:44:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuanNguyen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.opencv.org/luannguyen/32/5649_2.png) [@LuanNguyen](https://forum.opencv.org/u/LuanNguyen)\
**Post date:** [July 12, 2022, 1:44pm UTC](https://forum.opencv.org/t/exception-unhandled-unhandled-exception-at-0x00007ffe53ed4fd9-in-luan-exe-microsoft-c-exception-cv-exception-at-memory-location-0x000000c9a24fe370/9482/1 "2022-07-12T13:44:04Z")

</div>

Tôi muốn load một hình ảnh bằng ngôn ngữ c++. Tôi đã cài đặt OpenCV và sử dụng Visual Studio 2022 đúng như hướng dẫn (include các lib trong properties của Project, .etc…)  
Đây là đoạn code mà tôi viết:

```auto

#include<opencv2/opencv.hpp>
#include<iostream>

using namespace std;
using namespace cv;

int main() {
	Mat img_grayscale = imread("hello.png", 0);

	imshow("grayscale image", img_grayscale);

	waitKey(0);

	return 0;

}

```

Khi ấn vào mục Local Windows Debuggers thì nó hiển thị ra của sổ  
Exception Unhandled: Unhandled exception at 0x00007FFE53ED4FD9 in luan.exe: Microsoft C++ exception: cv::Exception at memory location 0x000000C9A24FE370.

Mong được giúp đỡ!  
Tôi đã làm sai điều gì …

---

<div class="post-metadata">

**Author:** ![berak](https://avatars.discourse-cdn.com/v4/letter/b/85f322/32.png) [@berak](https://forum.opencv.org/u/berak)\
**Post date:** [July 12, 2022, 2:03pm UTC](https://forum.opencv.org/t/exception-unhandled-unhandled-exception-at-0x00007ffe53ed4fd9-in-luan-exe-microsoft-c-exception-cv-exception-at-memory-location-0x000000c9a24fe370/9482/2 "2022-07-12T14:03:10Z")

</div>

can you please try again in english ? thank you.
