Solved

CrossPlatform Compatible

Posted on 2000-03-26
4
165 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now