Personally, I have never even heard of FASM - I don't even know what processor it targets!
I can find out with Google, but ... that's irrelevant, because it's indicative of the problem: this isn't a FASM support site, and it's very unlikely that many people here will have any idea about it, much less how to use it.
So why select it? Why not learn to write assembler in some more popular environment? For example, you can use Visual Studio:
Setup an Assembly Project on Visual Studio 2019 – Programming Haven[
^], or
MASM/TASM - Visual Studio Marketplace[
^] but I'm pretty sure Google can find you other ways.
But why write modern Assembly code for Windows? To be honest, that is just making your life a whole load more awkward that it could be - and don;t get me wrong, I've written a lot of assembly code over the years, I like it - but I wouldn't write a windows app in it any more as it means doing far, far too much reinventing of the wheel!