Skip to content

Commit

Permalink
Debugging messageboxes
Browse files Browse the repository at this point in the history
  • Loading branch information
eschan145 committed Nov 3, 2024
1 parent cbc4017 commit c68c4fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ void close_application_by_exe(const char* exe_name)

void monitor_executables(const char* folder_path)
{
if (exists(FOLDER_PATH)) {
MessageBox(NULL, "Folder exists!", "Notification");
} else {
MessageBox(NULL, "Folder does not exist.", "Notification");
}
while (running)
{
for (const auto& entry : fs::directory_iterator(folder_path))
Expand Down

0 comments on commit c68c4fe

Please sign in to comment.