Solved

CrossPlatform Compatible

Posted on 2000-03-26
4
167 Views
Last Modified: 2013-12-18
i would like to know whether applications developed in lotue notes are platform independent. Will an application developed for windows run on AIX, LINUX or any other OS or will i have to write seperate code for them.

Thanx in adv.

Dk.
0
Comment
Question by:ramakrishna030399
4 Comments
 
LVL 6

Expert Comment

by:ghassan99
ID: 2659863
I think so, although frankly I havent worked except on Notes that runs on Windows.  
There are minor differences, if you check in the help file, u will see a topic about the differences of Lotus Script under Mac and Linux, and basically these have to do with the file system (and a few other areas), and how you interact with files, such as 'ChDir'.  Also like the function (Environ) which returns a value from the operating system, I think Linux will have different variables to find the version or the OS directory or other data about the OS than Windows.

-Gus
0
 
LVL 2

Expert Comment

by:Paebdb
ID: 2659893
I general applications developed for Notes are platform independent.
As Gus said there are minor differences with Formulas and Scripts that use or interact with the underlying operating system.
Also the look and feel might be different.
What makes apps platform dependent is when you use DLLs or third party products. I.e. your app includes a chart from Excel and updates it by OLE -> Windows world only.
0
 
LVL 3

Accepted Solution

by:
Simon_Hendry earned 30 total points
ID: 2660000
I write code for both windows and solaris servers on a daily basis , the only things that are different are OS dependent things such as DLLs and file stuctures... ie c:\notes\data is /notes/data on unix etc...

I have never found a major problem with cross platform coding in Notes which is why it kicks other applications butt..

In version 4.X there was no visible difference between the unix and windows server or clients.. But there is no R5 client for any unix platform.. The r5 client is only windows based..

If you are writing standard formula a script based lotus code that does not rely on OS dependent DLLs, such as external declares .. Then it works perfectly..

To write lotusscript code that is os independent you can use the notesession.platform property .. for example

Dim Sess As New NotesSession
Dim Path As String

If Sess.Platform = "UNIX" then
 Path ="/notes/data/"
else
 Path = "c:\notes\data\"
End if

Print Dir(Path + "*.id")
0
 

Author Comment

by:ramakrishna030399
ID: 2660440
Thanks Hendry for your excellent reply.
hope my app won't cause any problem on Linux as  since i'm developing it on windows environment and will be implementing on linux.

0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Title # Comments Views Activity
Creating a bat file fo Note.ini 4 222
Lotus Notes and VMWare require a double-click 22 1,414
Lotus notes email code 2 209
I need to install a client Lotus Domino in MAC BOOK AIR 4 88
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
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

791 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