C2061 for Win32应用程序

时间:2017-02-07 08:16:53

标签: winapi visual-studio-2012

我是Win32编程的新手。我编写了一个示例程序如下:

CAL

我正在使用Visual Studio 2012 Professional。我得到以下编译错误:

  

c:\ program files(x86)\ windows kits \ 8.0 \ include \ um \ propidl.h(327):错误C2061:语法错误:标识符'CAL'

struct tagCAL { ULONG cElems; /* [size_is] */ LONG *pElems; } CAL; 是propidl.h中以下结构的标识符

      :param jwt: A dict of properties for JWT authentication supported by Atlassian Connect. The following
        properties are required:
        * secret -- shared secret as delivered during 'installed' lifecycle event
        (see https://developer.atlassian.com/static/connect/docs/latest/modules/lifecycle.html for details)
        * payload -- dict of fields to be inserted in the JWT payload, e.g. 'iss'
        Example jwt structure: ``{'secret': SHARED_SECRET, 'payload': {'iss': PLUGIN_KEY}}``

我尝试重新安装Windows SDK,Visual Studio。但问题仍然存在。但是,此代码在具有相同VS2012的不同PC上运行。

我如何克服这个问题?

0 个答案:

没有答案