CreateThread() does not work : <p>I am trying to create a thread using the winapi's CreateThread() function, but it doesnt work. No errors at all</p>

<pre><code>void Inc::init() {
    DWORD id;
    HANDLE hnd = CreateThread(NULL,0,asd,this,0,&amp;id);
}
DWORD Inc::asd(LPVOID lparam) {
    Inc* g = (Inc*)lparam;
    printf("asd");
}
</code></pre>

<p>asd() doesn't get executed at all</p>
