diff --git a/cpp/list/main.cpp b/cpp/list/main.cpp index f804f96..dd450d7 100644 --- a/cpp/list/main.cpp +++ b/cpp/list/main.cpp @@ -16,6 +16,6 @@ BOOL CALLBACK EnumProc(HWND hWnd, LPARAM lParam) { TCHAR title[500]; ZeroMemory(title, sizeof(title)); GetWindowText(hWnd, title, sizeof(title) / sizeof(title[0])); - printf("%d\n%s\n", hWnd, title); + cout << hWnd << endl << title << endl; return TRUE; } diff --git a/java/native/NativeCall.dll b/java/native/NativeCall.dll new file mode 100644 index 0000000..6e2cad1 Binary files /dev/null and b/java/native/NativeCall.dll differ diff --git a/java/native/list.exe b/java/native/list.exe index f4e8c5a..ef4d5f0 100644 Binary files a/java/native/list.exe and b/java/native/list.exe differ