Below the minimal example of the issue
Code: Select all
#define UNICODE
#define _UNICODE
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
BOOL APIENTRY DllMain (HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) {
return TRUE;
}
void __stdcall ListGetDetectString(char* DetectString, int maxlen) {
snprintf(DetectString, maxlen, "MULTIMEDIA & ext=\"TEST\"");
}
HWND APIENTRY ListLoadW (HWND hListerWnd, TCHAR* fileToLoad, int showFlags) {
HWND hMainWnd = CreateWindowEx(0, TEXT("BUTTON"), TEXT("test-wlx"), WS_CHILD | SS_SUNKEN | WS_VISIBLE,
0, 0, 100, 100, hListerWnd, (HMENU)1000, GetModuleHandle(0), NULL);
return hMainWnd;
}
void __stdcall ListCloseWindow(HWND hWnd) {
DestroyWindow(hWnd);
return;
}
P.S. I use TC 10.00 (2021-06-10)