Start Notes client without typing password using Lotus notes c++ Api

USING EXTPWD
------------
Before using EXTPWD, you should copy the EXTPWD program to the Notes
executable directory, which is the directory containing the Notes program
files and libraries. The name of the EXTPWD program DLL or shared library
depends on the platform, as follows:

        nextpwd.dll        32-bit Windows
 libextpsw.so       Solaris SPARC and Intel Editions

You also need to instruct Notes to load the EXTPWD program by adding one
of the following entries to notes.ini, the Notes environment file (do this
before starting Notes):

 PC platforms:      EXTMGR_ADDINS=extpwd
 Solaris:           EXTMGR_ADDINS=libextpsw.so

When Notes requires a password, it will read the password from a text file
called password.txt in the Notes data directory.  Be sure to create this
file in the Notes data directory before using EXTPWD.

Note: The main entry point in the EXTPWD program is called by Notes when
      Notes starts, and should NOT be called from your own application code.

You can test that the EXTPWD is working correctly by starting Notes after
performing the steps described above.  You should find that you are not
prompted for your password in circumstances where you would have been
prompted without using EXTPWD, for example when first accessing a remote
database.

Once you establish that your Notes client no longer prompts you for a
password, you should be able to run any Notes C or C++ API application
without being prompted for a password.

As mentioned above, keeping an unencrypted password in a text file is not
recommended for a real application, because it makes the password available
to anyone with access to the file.

 

这是IBM官方提供的解决方案,我将提供给大家nextpwd.dll解决这个问题。

 

The DLL:http://files.cnblogs.com/al-zerone/notesnopass.zip

转载于:https://www.cnblogs.com/al-zerone/archive/2008/08/12/1265667.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值