|
-
Aug 1st, 2022, 03:07 AM
#1
Thread Starter
Addicted Member
[RESOLVED] How to use program to detect struct is contiguous memory or not ?
Hi~ ALL
How to use program to detect data in struct is contiguous memory or not ?
'=====
Private Type Type_a1
'---> is contiguous memory
a1 As Long
a2(11) As Long
a3 As String * 8
End Type
Private Type Type_a2
'---> is not contiguous memory : because a2() As Long
a1 As Long
a2() As Long
a3 As String * 8
End Type
Private Type Type_a3
'---> is not contiguous memory : because a3 As String
a1 As Long
a2(11) As Long
a3 As String
End Type
Last edited by quickbbbb; Aug 1st, 2022 at 07:43 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|