- Timestamp:
- 11/08/12 17:50:27 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/CRXProxy.cpp
r22 r23 14 14 # include <iostream> 15 15 using namespace std; 16 # define PRINT_ERROR c out16 # define PRINT_ERROR cerr 17 17 #else 18 18 # define PRINT_ERROR … … 20 20 21 21 #ifdef _WIN32 22 # include < Windows.h>22 # include <process.h> 23 23 # define THREAD_TYPE void * 24 # define THREAD_FUNCTION_RETURN DWORD24 # define THREAD_FUNCTION_RETURN unsigned int 25 25 # define THREAD_FUNCTION_CALLING_CONVENTION WINAPI 26 26 #else … … 64 64 /*----------------------------------------------------------------*/ 65 65 #ifdef _WIN32 66 aThreadID = CreateThread (0, 0, CRXProxyWrapper, this, 0, 0);66 aThreadID = reinterpret_cast<void *> (_beginthreadex (0, 0, CRXProxyWrapper, this, 0, 0)); 67 67 if (aThreadID == NULL) 68 68 { 69 69 return -1; 70 70 } 71 72 CloseHandle (aThreadID); 71 73 72 74 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.