libharu Windows窗体C ++ [英] libharu Windows Form C++
问题描述
大家好,
我目前遇到的困难是我的简单申请.
尽管在项目配置属性(链接器和填充物)上进行了修改,但碰巧使用libharu的语法(如下所示)时,仍然遇到多链接错误.
****************************************************** ************************************
SimpleInterest2.obj:错误LNK2031:无法为外部"C"结构_HPDF_Doc_Rec * __clrcall HPDF_New(void(__clrcall *)(unsigned long,unsigned long,void *),void *)"生成p/调用(?HPDF_New @@ $$ J0YMPAU_HPDF_Doc_Rec @@ P6MXKKPAX @ Z0 @ Z);元数据中缺少调用约定
****************************************************** ************************************
请指导构建成功,唯一的失败就是链接.
您是否有任何教程可以在Windows窗体C ++上实现libharu文件而没有链接错误?
问候,
罗尔
Visual Studio 2005
Hi Everyone,
I am currently having difficulties is my simple application.
Multiple link Error is encountered when I happen to use the libharu''s syntax as shown below despite of the modifications at the project configuration properties(linker and stuffs).
**********************************************************************************
SimpleInterest2.obj : error LNK2031: unable to generate p/invoke for "extern "C" struct _HPDF_Doc_Rec * __clrcall HPDF_New(void (__clrcall*)(unsigned long,unsigned long,void *),void *)" (?HPDF_New@@$$J0YMPAU_HPDF_Doc_Rec@@P6MXKKPAX@Z0@Z); calling convention missing in metadata
**********************************************************************************
Please be guided that the build is successful, the only failure is the linking.
Do you have any tutorial for implementing the libharu files at Windows forms C++ with out the link error?
Regards,
Roel
Visual studio 2005
推荐答案
J0YMPAU_HPDF_Doc_Rec @@ P6MXKKPAX @ Z0 @ Z);元数据中缺少调用约定
****************************************************** ************************************
请指导构建成功,唯一的失败就是链接.
您是否有任何教程可以在Windows窗体C ++上实现libharu文件而没有链接错误?
问候,
罗尔
Visual Studio 2005
J0YMPAU_HPDF_Doc_Rec@@P6MXKKPAX@Z0@Z); calling convention missing in metadata
**********************************************************************************
Please be guided that the build is successful, the only failure is the linking.
Do you have any tutorial for implementing the libharu files at Windows forms C++ with out the link error?
Regards,
Roel
Visual studio 2005
我是从undname
那里得到的,它与您的定义相同.
I got this fromundname
which looks the same as your definition.
C:\Users\Richard\Documents\Visual Studio\Projects.C++\cppTest>undname ?HPDF_New@@
J0YMPAU_HPDF_Doc_Rec @@ P6MXKKPAX @ Z0 @ Z Microsoft(R)C ++名称解析器 版权所有(C)Microsoft Corporation.版权所有. 取消修饰:-?HPDF_New @@
J0YMPAU_HPDF_Doc_Rec@@P6MXKKPAX@Z0@Z Microsoft (R) C++ Name Undecorator Copyright (C) Microsoft Corporation. All rights reserved. Undecoration of :- "?HPDF_New@@
这篇关于libharu Windows窗体C ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!