2013/9/11 Hakki Dogusan <ha...@dogusan.net>:
> I'm getting "fossil.exe is not a valid Win32 application" error in WinXP.

I downloaded fossil.exe (yesterday, before it was replaced
by the mingw OpenSSL-enabled build), and used the
"depends" utility to have a look at what symbols it uses
from kernel32.dll. A subset of this list:
    CompareStringEx (Vista)
    DecodePointer (XP SP2)
    EncodePointer (XP SP2)
    FlsAlloc (Vista)
    FlsFree (Vista)
    FlsGetValue (Vista)
    FlsSetValue (Vista)
    GetTickCount64 (Vista)
    LCMapStringEx (Vista)
    InitOnceExecuteOnce (Vista)

Neither Fossil, neither SQLite do any direct calls to any
of those functions, so the calls are all generated by the
Microsoft compiler/linker. The Mingw compiled fossil.exe
(which is the current download) doesn't contain any of
those imports from kernel32.dll. I tried this fossil.exe
on Windows XP, and it works fine.

I think this fully explains why fossil.exe compiled by
recent MSVC doesn't work on XP any more...

Regards,
       Jan Nijtmans
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to