> > More worryingly, I notice that the "unix" branch of that conditional > > section has the same error in its implementation, so we > need to fix that > > too, I think. > > Are you going to do that? I'd appreciate it, since it's your code > and I have some other STR's I should fix...
Well, yeh, my code and Matt's, but I'll try to push the fix in. The WinXX one is OK, the *nix one I can push a change for, but I don't have access to a big-endian 64-bit system to actually verify it on...! > > My "better idea" is to hope that the code finds the UuidCreate() > > function at runtime and does not even fall-back into this > code at all! > > Agreed ;-) > > Note: we could *maybe* remove the fall-back, because we're only > targeting W2K+ for FLTK 1.3 anyway, because of Unicode etc... > From MS docs about UuidCreate(): "Client: Requires Windows Vista, > Windows XP, Windows 2000 Professional, Windows NT Workstation, > Windows Me, Windows 98, or Windows 95." > > Thus, it ought to work even with W95. IIRC, the reason we load the Rpcrt4.dll dynamically at runtime rather than linking to it at compile time was that there were a lot of (or some, anyway) systems that don't seem to have it... I guess it is maybe not part of the stock desktop install, but gets added by *something* later. I have seen that on an lot of MS systems, so may be the case here. What percentage of systems do/do-not have the required DLL I can't begin to guess. And, since the DLL is numbered... Rpcrt4.dll ... I don't know if it is wise for us to load that DLL by name if the version/name may change... Who knows how MS deal with these sort of things? SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

