svraldez wrote:using the compiler and linker options that caused your app to crash
The one which saw Encrypternet close down straight away was
"-gen gcc -Wc -O2,-fpie -Wl -pie,-dynamicbase,-highentropyva"
and that beviour has not changed.
Your  mentioned
-gen gcc -Wc -fPIE,-pie -Wl -dynamicbase
but I don ot know why because that simply did not work, ie no ASLR,
and that behaviour has not changed either.
The 9.2 that I have is dated 20190929 so I should imagine that they do not have ASLR enabled in their PE headers.
There are differences because PB ...
I find myself a little downhearted now and wish that I had not seen the post at PowerBASIC about ASLR. When writing security code we need to be up to our armpits with all the security that an OS can offer. Since Encrypternet uses AES, RSA and ECDSA both DEP and ASLR should be embraced but, as we are right now, FreeBASIC cannot provide that, only DEP. This is a massive loss of brownie points for FreeBASIC and I am now considering abandoning it for cryptographic work, my main hobby after coding in general. PowerBASIC plus José's headers, which has CWindow.inc for high dpi aware code, can give me DEP and ASLR as well. The cryptographic departure is a logical move.