Pass char[N] param to thread
i have a variable declared as

    char myvariable[N] = "blablabla"

and i need to pass it to a thread

    DWORD MyThread(LPVOID lpdwParam)

i tried to cast inside the thread function the lpdwParam in char* but it doesn't work. How can i fix it?
Pass char[N] param to thread
===

i have a variable declared as

    char myvariable[N] = "blablabla"

and i need to pass it to a thread

    DWORD MyThread(LPVOID lpdwParam)

i tried to cast inside the thread function the lpdwParam in char* but it doesn't work. How can i fix it?