Search DominoPower's 11,443 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Develop free Windows software for Domino with Borland (continued)

Borland would like you to buy their commercial C++ Windows visual development environment, C++ Builder. I own this compiler, and I can report that it's an excellent way to build robust Windows applications with a minimum of hard work. To promote their product, Borland decided to give away the compiler for free and only charge you for the GUI development environment on the grounds that "console" or "command line" applications are not that useful. Normally they're right, of course. But in the case of utility software for Lotus Domino, it's possible to write some very useful programs that have a command line interface.

Now you probably noted that I said the Borland compiler worked with the C++ toolkit and didn't mention the C toolkit, which, although it's harder to use, has more functionality. But the even better news is that Lotus has provided a simple way for you to use either C++ or C API function calls within your program, and I'm going to show you an example of that too.

I'll be showing you two simple utilities in this article. One checks a server every few seconds and tells you if the it's up and how long it took to respond. The other implements the Domino remote server console. The code for either of these is very short, so I'm not going to give you some bloated program that you can't make sense of. Don't worry if you've only tackled LotusScript thus far, with this article and a beginners' guide to C++ you can learn how to make your own utilities. For example, you can write your own programs to register new users, archive databases, or any other application you need. There's nothing to stop you from turning your work into Domino server tasks that can be started with a load command on the console. It's all in the Lotus toolkit, and it contains many sample programs written by Lotus to learn from too.

There are some references at the end of the article to help you download the Borland C++ 5.5 compiler and the Lotus C++ 2.1 API Toolkit. For the sake of brevity, I'm going to assume you have reached the stage where you have installed both pieces of software on your Windows machine and you also have a fully functional Lotus Notes R5 client installed (you don't need Designer or Administrator for my examples).

On my machine I have Windows 2000 Professional and Lotus Notes 5.09a. But Windows 98 or NT 4.0 will do just as well and the precise version of the Notes 5 client is not important, though I'm assuming you use a fairly recent one. To use the remote console utility, you'll also need administrator rights on a remote Domino server. If you only have one machine, installing the Domino server on the local machine for testing purposes works just as well.

Compiling the programs
So let's delve into the programs. The code and other information can be found on my company's site http://www.4nf.co.uk/borland so please download the files from there. 4NF respects your right to privacy so they won't be asking you to register or trying to pull any other cunning marketing ploy, though of course if you're interested in commercial products and services, I'm sure someone will be happy to help you.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Strategies > Open Source (4 articles)
   Lotusphere 2009 showcases SAP, BlackBerry, Sametime 8.5, and more
   Keep track of your backups with BackupTracker
   Open source alternatives to Notes and Domino: are they real?
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login