Solved

CrossPlatform Compatible

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

777 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