I require kVK_Space which is in HIToolbox/Events.h:
#import <Carbon/Carbon.h>
works, and this file contains:
#include <HIToolbox/HIToolbox.h>
But if I try this second #include directly, it fails.
Can anyone explain why?
I require kVK_Space which is in HIToolbox/Events.h:
#import <Carbon/Carbon.h>
works, and this file contains:
#include <HIToolbox/HIToolbox.h>
But if I try this second #include directly, it fails.
Can anyone explain why?
Copyright © 2021 Jogjafile Inc.


Carbon is an "umbrella framework". It encapsulates other frameworks, such as HIToolbox. By design, to hide the implementation details, you can't directly include the headers of the subframeworks.
From the above link:
From that last link: