> Just one question about the actual implementation of the patch - why are > you setting the OS version *before* you call GetVersionEx()?
The Microsoft Example did a memset on the structure before calling void GetVersionEx(). Setting it to a version that needs the Global\ is only a safeguard against a failing call. I guess the call cannot fail, and thus setting it before is not really needed. > It'll just get overwritten... Yes, if the void call does not fail to work. Andreas ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html