>Force a buffer in <2GB memory and always copy into/out of that buffer?
That may work, other than it's inconvenient to force a buffer into <2GB space at the time when you need it, and thus we'd have to perma-allocate a "large enough" buffer for this. (Note GetAdapters*() is typically used with a first call to get the size, then a second to get the real data, or with a 16K-ish buffer then redone if that isn't enough.) Each user of GetAdapters*() (I don't think we have any uses of GetHostByName/Address) would need to pre-allocate a buffer during startup probably (or use a static buffer). You still would have to dynamically allocate one if the static buffer wasn't big enough, and that could then fail of course. Better than turning off >2GB memory, though. -- Randell Jesup, Mozilla Corp remove "news" for personal email _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform