64 bit Migration of Carbon APIs

237 views Asked by At

https://forums.developer.apple.com/thread/115932 like this post I also need to use carbon in my mac app but, what I know carbon api only support 32 bit OS & from Mac OS 10.15 onwards it won't support 32 bit apps. So I won't be able to use Carbon API.

No Carbon Human-Interface-Toolbox in OSX 64-bit binaries? - I gone through this post but could not understand much actually what I need to do.

Below is my current code. What will be replacement or migration of this Carbon API, what is the correct alternative?

static const EventTypeSpec menuEnableEvents[] =
    {
        { kEventClassMenu, kEventMenuEnableItems }
    };

    static const EventTypeSpec menuEvents[] =
    {
        { kEventClassCommand, kEventCommandProcess }
    };
0

There are 0 answers