Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos 碳排放呼叫失败?_Macos_Compiler Construction_Macos Carbon - Fatal编程技术网

Macos 碳排放呼叫失败?

Macos 碳排放呼叫失败?,macos,compiler-construction,macos-carbon,Macos,Compiler Construction,Macos Carbon,大家好 我的碳排放电话失败了 我有: #include <Carbon/Carbon.h> /Developer/Headers/FlatCarbon 在我的标题搜索路径中 但电话是这样的: aDialog = GetNewDialog(16002, NULL,(WindowPtr) (-1L)); 他们说: GetNewDialog not declared in this scope. 我的目标是10.5 64位intel。啊,Carbon UI调用不是64位的。很好 在

大家好

我的碳排放电话失败了

我有:

#include <Carbon/Carbon.h>
/Developer/Headers/FlatCarbon
在我的标题搜索路径中

但电话是这样的:

aDialog = GetNewDialog(16002, NULL,(WindowPtr) (-1L));
他们说:

GetNewDialog not declared in this scope.

我的目标是10.5 64位intel。

啊,Carbon UI调用不是64位的。很好

在这个时代,完全没有理由调用GetNewDialog。
WindowPtr
已被弃用(并且在Carbon的一生中一直如此)。碳替换为
WindowRef
。本质上是相同的类型,但是
WindowRef
更清楚地表明它现在是一个不透明的引用,就像所有其他
FooRef
类型一样。