明飞的技术园地

笨鸟先飞
  博客园  :: 新随笔  :: 联系 :: 管理

vc++6.0中配置lotus c++api

Posted on 2006-06-16 16:06  明飞  阅读(435)  评论(0编辑  收藏  举报

本次要做的是利用在lotus办公软件中利用lotusC++api做个短信发送的程序,该版本为2.4。开发工具Vc++6.0。
具体配置如下:
1.建立工程然后选择api中c:\notescpp\lib\mswin32\notescpp.lib  '其中notescpp是api包
2.选择build->Active Configuration->win32Resease ,也就是选择release不选择debug
3.选择Project ->Settings ->c/c++Tab
在General Category
在preprocessor catagory中增加:c:\notescpp\include 到additional include directories中
4.最后要做的是去Lnglosym.h头函数中第一行加上
#pragma comment (lib,"notes.lib")
#defineW32
不然会出现
#if !defined NT && !defined OS2_2x && !defined UNIX && !defined MAC
#error ERROR: No platform specified.
#endif
\
的错误!