Hello, I'm trying to create a DLL file but I can't compile it to 64 bit's only 32...
Code:
Code:
BOOL FSUIPC_Process(DWORD *pdwResult) {
DWORD dwError;
while ((++i < 10) && !SendMessageTimeout(m_hWnd, m_msg, m_atom, 0, SMTO_BLOCK, 2000, &dwError)) {
Sleep(100);
}
This is not the full function but this is where the error is ocurring..
On the SendMessageTimeout 7th argument there is a DWORD variable and that is working for the 32 bit's but when I swich to 64 bit's this happens:
Code:
213 95 H:\Programming\DLL\Dll's\32\IPCuser.c [Error] cannot convert 'DWORD* {aka long unsigned int*}' to 'PDWORD_PTR {aka long long unsigned int*}' for argument '7' to 'LRESULT SendMessageTimeoutA(HWND, UINT, WPARAM, LPARAM, UINT, UINT, PDWORD_PTR)'
How can I solve this?