Hi,
The Windows API normally uses something like:
_SYSTEM_PROCESS_INFO
Does it matter how I name my own structures (normally inside a module) or better:
What happens if I accidentally use the same name as a Windows API structure
(but with a completely different content)? Do they "conflict"?
How to name own structures?
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: How to name own structures?
You can use your own name for the usage:
Code: Select all
Define YourOwnName._SYSTEM_PROCESS_INFO
Debug YourOwnName\...
Then there is a compiler error. PB tells you it's not possible:forumuser wrote:What happens if I accidentally use the same name as a Windows API structure
Line x: Structure already declared: xxx (in a resident file).
Re: How to name own structures?
Thank you, RSBasic!