Hi all !
I am currently working on a project, where it would save a
LOT of time if we could use the Sort command on an array of strings
from LotusScript.
I have no trouble with the example supplied for VisualBasic, but
when trying the same in LotusScript, i get an Application Error in
Lotus Notes.
As far as I know, Visual Basic stores string-arrays as UNICODE format
(2 bytes pr. character), and the vbApi32.inc converts these strings to
ANSI format.
Lotus uses LMBCS (Lotus Multi-Byte Character Set) to represent their
strings, and (As far as i know) these are also 2-bytes characters.
I get the array from Notes to the PB-dll allrigt, but when conver-
ting the characters, somthing goes wrong, and I am not skilled
enough in PB to be able to tell, what it is.
When sorting an Integer-array, there are no problems
I hope, that someone out there can help me !
Cheers,
Kenneth
------------------
I am currently working on a project, where it would save a
LOT of time if we could use the Sort command on an array of strings
from LotusScript.
I have no trouble with the example supplied for VisualBasic, but
when trying the same in LotusScript, i get an Application Error in
Lotus Notes.
As far as I know, Visual Basic stores string-arrays as UNICODE format
(2 bytes pr. character), and the vbApi32.inc converts these strings to
ANSI format.
Lotus uses LMBCS (Lotus Multi-Byte Character Set) to represent their
strings, and (As far as i know) these are also 2-bytes characters.
I get the array from Notes to the PB-dll allrigt, but when conver-
ting the characters, somthing goes wrong, and I am not skilled
enough in PB to be able to tell, what it is.
When sorting an Integer-array, there are no problems

I hope, that someone out there can help me !
Cheers,
Kenneth
------------------
Comment