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

你可能感兴趣的:(Start Notes client without typing password using Lotus notes c++ Api)