我想将 __int64 作为参数传递给我的线程。这是我当前的代码:
void thisismymainfunc( ..., __int64 license, ... )
{
CreateThread(NULL, NULL, checkLicBan, (LPVOID)license, NULL, NULL);
}
线程的代码:
DWORD WINAPI checkLicBan(LPVOID m2dlic)
{
cout << (__int64)m2dlic << endl;
原始的 __int64 是:
640810053458582
cout-ed int 是:
932995186
谁能告诉我如何将这么大的数字传递给我的线程?
谢谢!