error LNK2001: unresolved external symbol IID_IPOutlookApp

和GUID相关使用的问题

1. 问题

I am facing the following two critical problems while making Build of my project (the project was previously build for PocketPC 2003 which is now ported for WinMobile 5.0)

error LNK2001: unresolved external symbol IID_IPOutlookApp
error LNK2001: unresolved external symbol CLSID_Application

2. Writing this on top of MyApp.cpp might help Smile

Code:
#define INITGUID
#include <windows.h>
#include <pimstore.h>
#pragma comment(lib, "pimstore.lib")

3. It didn't work actually, you exchange a link error to a compile error Sad .
Restore your previous MyApp.cpp and put the four lines of my previous post in a new FixWM5.cpp file. Add this file to your project and remove the use of precompiled header on this file. Your project should then compile without the initial link error, and without new compile error.

http://www.pocketpcdn.com/forum/viewtopic.php?p=27151&sid=ff4bfb53103f156a88942a939d7dcbdc 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值