Ok thanks Jan,
I built with Visual Studio 2022, copied dll into external_dll folder, started aerofly fs4 (steam version), and attached debug session into fs4 process
DllMain seems to be called, but Aerofly_FS_2_External_DLL_Init, Aerofly_FS_2_External_DLL_Init, Aerofly_FS_2_External_DLL_Shutdown and Aerofly_FS_2_External_DLL_Update are never called.
I tryied changing prefix of these exported functions into Aerofly_FS_4_External_DLL... but no success
Any advise ?