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
Amstrad Ppc
Sun Nov 1 19:14:41 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sun Nov 1 18:28:07 2026
from
Wiltshire
via
Telnet
Ben Longden
Sun Nov 1 18:19:46 2026
from
Edinburgh, Uk
via
Telnet
Amstrad Ppc
Sun Nov 1 16:48:50 2026
from
Wiltshire
via
Telnet
Amstrad Ppc
Sun Nov 1 16:20:58 2026
from
Wiltshire
via
SSH
Rixter
Sun Nov 1 12:01:35 2026
from
Madison, Nc
via
Telnet
Fred Blogs
Sun Nov 1 01:53:36 2026
from
Uk
via
SSH
Rixter
Sat Oct 31 23:01:35 2026
from
Madison, Nc
via
Telnet
System Info
Sysop:
Keyop
Location:
Huddersfield, West Yorkshire, UK
Users:
797
Nodes:
16 (
3
/
13
)
Uptime:
174:35:21
Calls:
13,200
Calls today:
7
Files:
15,489
Messages:
6,579,343