Does NSIS support creating thread?
I'm writing a plugin dll for NSIS within which a thread needs be created. But it turned out failure.
I'm not sure if NSIS supports thread-creating within its dll plugins. I found the thread was created successfully when I debugged into the dll. But when the program keeps going, it crashes. Code snippet is pasted below. Can anybody give a clue?
extern "C" __declspec(dllexport) void ShowProgress(HWND hwndParent, int string_size, char *variables, stack_t **stacktop)
CreateThread(NULL, 0, ShowProgressEx, 0, 0, 0);
DWORD WINAPI ShowProgressEx(void*)