Pop-Up Thingie
Sidebar
>>> Magnum BBS <<<
Home
Forum
Files
Dark
Log in
Username
Password
Sidebar
Forum
Usenet
COMP.LANG.CLIPPER.VISUAL-
Unions
From
John Kniewasser
@21:1/5 to
All
on Tue Dec 13 14:55:12 2022
Good day to you all!
I am looking for some help with this union, specifically with the alignment required.
At the end of each struct are statements
} Compressed;
} Windows;
} File;
I believe this relates to the alignment of the struct.
union
{
struct struct_compressed_memory
{
HGLOBAL hData; /* internal use */
L_VOID L_HUGE*pData; /* internal use */
} Compressed;
struct struct_window_memory
{
HGLOBAL hData; /* Internal use */
L_UCHAR L_FAR *pData; /* Internal use */
} Windows;
struct struct_file_memory
{
L_INT fd; /* Internal use */
L_CHAR L_FAR *Filename;/* Internal use */
} File;
} Addr;
Thank you if anyone can decipher this!
Cheers, JK
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)
Who's Online
Recent Visitors
Rixter
Tue Sep 15 12:01:35 2026
from
Madison, Nc
via
Telnet
Bob Worm
Tue Sep 15 11:25:46 2026
from
Wales, Uk
via
Telnet
Andrew Andrew
Tue Sep 15 02:46:28 2026
from
Chicago, Il
via
Telnet
Netmages
Tue Sep 15 01:13:15 2026
from
Santiago, Chile
via
SSH
Rixter
Tue Sep 15 00:01:34 2026
from
Madison, Nc
via
Telnet
Rixter
Mon Sep 14 12:01:34 2026
from
Madison, Nc
via
Telnet
Bob Worm
Mon Sep 14 08:34:31 2026
from
Wales, Uk
via
Telnet
Retrojimmyx
Mon Sep 14 00:27:04 2026
from
Derbyshire
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
765
Nodes:
16 (
1
/
15
)
Uptime:
01:40:48
Calls:
12,761
Calls today:
5
Files:
15,362
Messages:
6,557,005