Where are the C API's?

hI

This may be a stupid question. I have found at the site of IBM an overview of C API’s that can be used in the Lotusscript code. Can these API’s be used for all Lotus Notes versions? Are the API’s a part of the Windows core code or the Lotus Notes core code?

Regards

Subject: Where are the C API’s??

The C API is a documented collection of entrance points (function calls, if you will) to the core Notes code. As the name implies, they are designed for use with the C programming language, but with a little care and knowledge you can also access the functions through LotusScript. For the most part, the C API is backwards compatible, at least when used from LotusScript – that is, older API calls can be used in newer versions. (In C code, like when creating DLLs that interact with Notes, you’d probably want to stick closer to the target Notes version just to make sure that included header files have the right type and constant definitions.)

Keep in mind that going directly into the core code is not nearly as safe as normal LotusScript coding – you need to be a little more mindful of what you’re doing and have some idea of what’s going on under the covers. I would highly recommend Normunds Kalnberzins’ excellent book, LotusScript to Lotus C API Programming Guide, to help guide you along the way. You will also need to download the User Guide and Reference databases.

Subject: RE: Where are the C API’s??

Hi Stan

Thank you for the info.

That was very helpful. Where can I find the user guide and reference database to download?

Kind Regards

Subject: RE: Where are the C API’s??

You’ll find them here for now.

Subject: RE: Where are the C API’s??

Hi Stan

Thank you for the link. I still have 1 question. I could not find the answer for this question in the reference. If I run a Lotusscriptcode from a Notes client (so not from a notes server) and the client version is 7. Can I still use the C API 7 routines that are new in 7? Even when the Lotus Notes server is version 6? Are the C API´s part of the Notes client(designer client) or also of part the server?

Regards

Subject: RE: Where are the C API’s??

you always use the dll local to the code, so if you run it on Notes 7 client you can use version 7 API.

Subject: RE: Where are the C API’s??

Hi

Even when the Notes server version is 6? The Lotusscript code is started from the client. But the application with the code is on the server.

Regards