2009-07-03から1日間の記事一覧

IMの状態は取れたのですが

Mac

kextからCarbonを使う方法がわからない……。 system経由かなんかで呼んでやろうか……。 #include <CoreFoundation/CoreFoundation.h> #include <Carbon/Carbon.h> #include <stdio.h> int main (int argc, const char * argv[]) { TISInputSourceRef src = TISCopyCurrentKeyboardInputSource(); CFStringRef name = TISGet</stdio.h></carbon/carbon.h></corefoundation/corefoundation.h>…