Quote:Original post by adeyblue
It's the first link (pastebin) in my post above.
Gotcha. Sorry, missed that earlier. That's pretty slick. It hadn't occurred to me to try to use such a technique to call the proper version. Nice work.
That will easily take care of the Win32 cases, because of the consistent style. I suppose the technique could also be applied to standard C functions with some care.