I have compiled scite without STATIC_BUILD to use lexilla.dll with win32. The compilation works fine but I doesn't have syntax highlighting.
The problem are the exported function names from lexilla.dll. With win64 GetProcAddress find a valid address. With win32 it doesn't.
With win64 one exported function name is GetLexerCount, with win32 it is _GetLexerCount@0.
I have changed the defines in lexilla.h to
#define LEXILLA_GETLEXERCOUNT "_GetLexerCount@0"
#define LEXILLA_GETLEXERNAME "_GetLexerName@12"
#define LEXILLA_GETLEXERFACTORY "_GetLexerFactory@4"
#define LEXILLA_CREATELEXER "_CreateLexer@4"
#define LEXILLA_LEXERNAMEFROMID "_LexerNameFromID@4"
#define LEXILLA_GETLIBRARYPROPERTYNAMES "_GetLibraryPropertyNames@0"
#define LEXILLA_SETLIBRARYPROPERTY "_SetLibraryProperty@8"
#define LEXILLA_GETNAMESPACE "_GetNameSpace@0"
Then it works with win32 too. I think this is an error.
Carsten