The Wiert Corner – Jeroen Pluimers’ irregular stream of Wiert stuff

on .NET, C#, Delphi, databases, and personal interests

  • Twitter Updates

  • My work

  • My badges

  • My Flickr Stream

    20091001-how-not-to-implement-required-fields

    DSC_1076

    DSC_1075

    More Photos
  • Pages

  • All categories

Delphi / .NET interop – Atozed announced Crosstalk

Posted by jpluimers on 2009/05/06

On 20090504, Atozed announced Crosstalk: a technology that allows native Delphi code to consume .NET assemblies in a really intuitive and transparent way.atozed-logobig-white-bg

The announcement contains a FAQ.

It is a promising technology, not only because it is dead easy to use, but also because it is backed by Atozed: a team of people that have made complex technology like Web Apps easy to use by creating IntraWeb.

Expect demos soon (maybe even at Delphi Live!).
Here is a short example:

program TestLeft;
{$APPTYPE CONSOLE}

uses
  SysUtils,
  CT_System_Text in 'CT_System_Text.pas';

var
  MyStringBuilder: StringBuilder;
begin
  WriteLn('Start');

  MyStringBuilder := StringBuilder.Create('Hello CrossTalk!!!');
  WriteLn('Length: ', MyStringBuilder.Length);

  MyStringBuilder.Append('More');
  WriteLn('Length: ', MyStringBuilder.Length);

  WriteLn(MyStringBuilder.ToString());
  Write('Finished -- Press <Enter>');
  ReadLn;
end.

Output:

Start
Length: 18
Length: 22
Hello CrossTalk!!!More
Finished -- Press <Enter>

Nice!

–jeroen

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>