> I am having a problem with string conversion from utf-8 to utf-16:
>
> procedure TForm1.Button6Click(Sender: TObject);
> var
> WideText: PWideChar;
> AText: string;
> Size: Integer;
> begin
> AText := 'Meu longo texto iso-8859-1';
> Size := Utf8ToUnicode(nil, PChar(AText), 0);
> Wide
Hello,
I am having a problem with string conversion from utf-8 to utf-16:
procedure TForm1.Button6Click(Sender: TObject);
var
WideText: PWideChar;
AText: string;
Size: Integer;
begin
AText := 'Meu longo texto iso-8859-1';
Size := Utf8ToUnicode(nil, PChar(AText), 0);
WideText := GetMem(Size
The C routines are inside a shared library?. Can you post the "C" code to call
these routines?
--- Armando Navarro Vázquez <[EMAIL PROTECTED]> wrote:
>
> Dear members:
> I am not familiar with Pascal, but I would like to call some C routines
> inside
> the main Pascal program, is there any w
You may want to convert the code for the function using the h2pas or c2pas
conversion utilities that are available out there to do this.
Robert Wolfe ([EMAIL PROTECTED] / [EMAIL PROTECTED])
Computer Programmer/Analyst & Web Programmer
SRDAR, Roswell Park Cancer Institute, Buffalo, New York
716-8
Dear members:
I am not familiar with Pascal, but I would like to call some C routines inside
the main Pascal program, is there any way, to pass function pointers from
Pascal to the C subroutines?
Thanks in Advance
Armando
--
Dr. Armando Navarro-Vázquez
RIAIDT. Univdade de Resonancia Magnetica
>> > Hi,
>> > when using "inline" on a procedure or function, does it completely avoid
>> > the call by copying anything inside the "begin ... end" block to the
>> > right place?
>> Yes, that's the idea.
"INLINE" is a suggestion, not obligation: sometimes they are compiled
with "CALL". It looks es
Am Donnerstag, den 19.10.2006, 09:05 +0200 schrieb Michael Van Canneyt:
>
> On Thu, 19 Oct 2006, Marc Santhoff wrote:
>
> > Hi,
> >
> > when using "inline" on a procedure or function, does it completely avoid
> > the call by copying anything inside the "begin ... end" block to the
> > right plac
On Thu, 19 Oct 2006, Marc Santhoff wrote:
> Hi,
>
> when using "inline" on a procedure or function, does it completely avoid
> the call by copying anything inside the "begin ... end" block to the
> right place?
Yes, that's the idea.
Michael.
___
fpc