Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
1587
Posts in
527
Topics by
770
Members - Latest Member:
ivanc
August 09, 2022, 09:01:17 AM
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 419 times)
Mike Linacre
Sr. Member
Posts: 253
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: 253
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...