Solved

CrossPlatform Compatible

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
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 video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

12 Experts available now in Live!

Get 1:1 Help Now