Solved

API

Posted on 2001-07-25
2
423 Views
Last Modified: 2013-12-18
i want to do following functionality.
        i have to do integration of lotus notes with the third party tool . so if i want to view the perticilar file which is adhere to third party tool format. then i have to call that api and pass the parameter to that .
  can you tell me how to integrate that api with lotus notes. basically how to cal that api. form lotus notes.

 is it necessary to me to register that api some where? please let me know.

thanks,
shrirang
   
0
Comment
Question by:shrihalbe
2 Comments
 

Accepted Solution

by:
webdude earned 30 total points
ID: 6319589
Assuming the third party API uses a DLL, you will need to prototype the functions in the declarations section of your LotusScript.  For example:

The following is a function declaration to access the GetPrivateProfileString function from the Win32API

Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long

If you are familiar with VB, you will see that the function prototypes are the same as if you were declaring them in VB with a few exceptions.  Try it out.
0
 

Author Comment

by:shrihalbe
ID: 6322082
Hello,

is it necessary to register the DLL for  on the machine from where i am calling the API?
   

Thanks,
shrirang
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question