On 24.10.2017 8:36, Jefferson Carpenter wrote:
+#if defined(__MINGW32__) || defined(__MINGW64__) +#ifdef _WIN64
- flagPtrAddr = (unsigned long long)(reader) - 24;
- flagMem[556] = 1;
+#elif _WIN32
- flagPtrAddr = (unsigned int)(reader) - 12;
- flagMem[288] = 1;
+#endif
- *(unsigned char **)flagPtrAddr = flagMem;
+#endif
Why would you need something like that to match potential Wine's implementation? How do applications access this thing?