문제

I Make first MFC Apps inside CreateThread Function used but it required 6 parameters. Create Thread function description

Make MFC Shared DLL all code paste in DLL Application.

but i compile dll then get error

Error 17 error C2660: 'CWinThread::CreateThread' : function does not take 6 arguments

how to access create thread function with 6 parameter in mfc share dll app?

도움이 되었습니까?

해결책

You need to specify the CreateThread function in the global name space:

HANDLE thread = ::CreateThread( ... );
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top