Mathias Spoerr
2012-11-11 12:28:58 UTC
Hello,
a few days ago I upgraded from Win7 32Bit + Visual Studio 2008 to Win7 64Bit
+ Visual Studio 2012 (VC11). Now I have problems with compiling my
application. I get the following errors:
1>...\asio-1.5.3\include\asio/detail/impl/win_thread.ipp(51): error C2664:
'QueueUserAPC': cannot convert parameter 1 from 'void (__cdecl *)(ULONG)' to
'PAPCFUNC'
1>...\asio-1.5.3\include\asio/detail/impl/win_iocp_io_service.ipp(119):
error C2664: 'GetQueuedCompletionStatus': cannot convert parameter 3 from
'DWORD *' to 'PULONG_PTR'
1>...\asio-1.5.3\include\asio/detail/impl/win_iocp_io_service.ipp(349):
error C2664: 'GetQueuedCompletionStatus': cannot convert parameter 3 from
'DWORD *' to 'PULONG_PTR'
What's wrong here?
Thanks,
Mathias
a few days ago I upgraded from Win7 32Bit + Visual Studio 2008 to Win7 64Bit
+ Visual Studio 2012 (VC11). Now I have problems with compiling my
application. I get the following errors:
1>...\asio-1.5.3\include\asio/detail/impl/win_thread.ipp(51): error C2664:
'QueueUserAPC': cannot convert parameter 1 from 'void (__cdecl *)(ULONG)' to
'PAPCFUNC'
1>...\asio-1.5.3\include\asio/detail/impl/win_iocp_io_service.ipp(119):
error C2664: 'GetQueuedCompletionStatus': cannot convert parameter 3 from
'DWORD *' to 'PULONG_PTR'
1>...\asio-1.5.3\include\asio/detail/impl/win_iocp_io_service.ipp(349):
error C2664: 'GetQueuedCompletionStatus': cannot convert parameter 3 from
'DWORD *' to 'PULONG_PTR'
What's wrong here?
Thanks,
Mathias