Skip to main content

So now we have completed the install lets run it. To start off we will try VS 2008 first.

image 

Hmm, nothing new on the slash screen.

image

Ah, there is a special window. This could be annoying though, maybe that Don’t Show should be default.

In the New project dialog, there it is the Delphi Prism section. Yes changing framework version changes what is available, same as in C# or VB.NET:

image

Interesting is this sub-section called Mono, which has GTK# and Cocoa options!!!

image

I first choose GTK# and I get prompted for registration… damn more remembering of that BDNCDN password :(

image

Right so lets just compile and run… and boom that failed :(

image

Right, maybe GTK# is needing something? Let’s try Cocoa (Leopard)… which also went boom :(

image

WinForms on OSX… that works :)

image

GTK#/Mono Console App… that works :) Love the base code (hello world)… I added the readkey’s to test the various styles and both work (check the screen shot)

image

How about good old Windows WinForms based. That worked!!! :)

image

So drop a  button on to the form and double click… hmm no partial class support so all it goes into the main.pas, same as C# in Visual Studio 2003. Anyway this lets me try some things… first intellisense, that works great:

image

Error messages look slightly different:

image

LINQ in Delphi works!!!

image

Right enough basics for this post…