Lotus Notes FAQ Visit Our Sponsor!

How do you load different LSX/DLLs based on which platform you are on?

From Gary Devendorf and Ben Langhinrichs:

You can use an Execute statement to handle this, or any other variable loading of libraries, LSXs, etc.

Dim cmdstring As String
If platform Then
  cmdstring = |Uselsx "*mylsx"|
  cmdstring = |Uselsx "*yourlsx"|
End if
Execute cmdstring

Applies to Notes Versions: 4 4.5 4.6 5
Last Modified: January 2, 2001