Absoft User Forum
Support => General => Topic started by: Mike Linacre on June 02, 2022, 08:15:09 PM
-
Hi Folks:
Need to initialize gigabyte blocks of memory multiple times, so am looking to implement memset (RtlFillMemory) in Absoft Fortran. Suggestions how to do that?
Thanks
-
Solved :
Add library: kernel32. lib
Interface RtlFillMemory
STDCALL SUBROUTINE RtlFillMemory (memorystart, memorylength, bytecharacter)
....
END SUBROUTINE RtlFillMemory
CALL RtlFillMemory (memorystart, memorylength, bytecharacter)