Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
1619
Posts in
535
Topics by
781
Members - Latest Member:
chekyl43
January 27, 2023, 03:36:58 PM
Home
|
Help
|
Search
|
Login
|
Register
|
Absoft User Forum
|
Support
|
General
|
How to implement memory initialize - memset?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to implement memory initialize - memset? (Read 833 times)
Mike Linacre
Sr. Member
Posts: 259
How to implement memory initialize - memset?
«
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
Logged
Mike Linacre
Sr. Member
Posts: 259
Re: How to implement memory initialize - memset?
«
Reply #1 on:
June 02, 2022, 11:21:16 PM »
Solved :
Add library: kernel32. lib
Interface RtlFillMemory
STDCALL SUBROUTINE RtlFillMemory (memorystart, memorylength, bytecharacter)
....
END SUBROUTINE RtlFillMemory
CALL RtlFillMemory (memorystart, memorylength, bytecharacter)
Logged
Print
Pages: [
1
]
« previous
next »
Absoft User Forum
|
Support
|
General
|
How to implement memory initialize - memset?
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Privacy Policy
|
Terms and Policies
Helios Multi
©
Bloc
Loading...