与coredll.lib链接问题 [英] Link problem with coredll.lib
问题描述
您好,
我正在尝试 开发一个应用程序在我的WinCE设备和其他类型的设备之间建立PPP连接。
I'm trying to develop an application to establish the PPP connection between my WinCE device and an other type of devices.
为此,我需要调用lineInitializeEx API。
For that, I need to call the lineInitializeEx API.
我收录了< tapi.h>头文件,我链接到coredll.lib库。
I included the <tapi.h> header file and I linked to the coredll.lib library.
但是当我尝试构建代码时,我总是遇到以下错误。
But always I get the following error when I try to build my code.
错误LNK2019:未解析的外部符号lineInitializeEx在函数中引用...
可能有人帮助我?
推荐答案
您好,
您应该包括SYSGEN_TAPI到您的运行时项目。
you should include SYSGEN_TAPI to your runtime project.
如果您正在将应用程序构建为子项目,那么只需创建sysgen即可。如果您使用的是SDK,则应该运行您的运行时项目,然后重新构建SDK。
If you're building your application as a subproject, just makes sysgen. If you are using the SDK, you should sysgen your runtime project, then re-build SDK.
这篇关于与coredll.lib链接问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!