Define Class TestJournal As Session Olepublic Procedure LookupPatient(id as String, idType As String, options as String) as String Return "Test" EndProc EndDefineNote that the name of the method is important. Compile the project as an exe, and create an object out of it from the commandline as follows:
ox = CreateObject("Test.TestJournal")Now, type ox., and intellisense pops up. Fill in something for the first two parameters, and press comma (,) to enter the third. This lock my machine.