Posts Tagged “CodeGear”

Yesterday I revisited a nasty problem that occurs on Windows 64bit versions. I ran into that when I upgraded to Windows 7, but it seems it affects older 64bit editions of Windows as well.

After installing D2009 on a clean Win7 machine I was happy to see that Windows 7 really is what Vista should have been. It works snappy and has a lot of productivity features. But then when I started compiling and debugging a couple of my existing Delphi applications I experienced Debugger crashes almost everytime when I terminated an application.

image

Read the rest of this entry »

Comments Comments

Möchten Sie Webanwendungen (oder auch Websites) mit ASP.NET erstellen? Sie möchten dies mit Delphi tun?

Kommen Sie auf die RoadShow der DelphiExperts!

Wir zeigen Ihnen zunächst was Delphi Prism ist und wie man damit unter .NET arbeitet, danach erlernen Sie das Erstellen von ASP.NET Anwendungen. Wir werden als ganz konkretes Beispiel einen WebShop ausgehend von einem leeren Projekt aufbauen. Die komplette Themenübersicht finden Sie in den Anmeldedetails.

Wann: Montag, 27.07.2009, 09.00 – 17:00 Uhr
Wo: Düsseldorf, Intercity Hotel, Graf-Adolf-Straße 81-87

image 

Die DelphiExperts das sind Daniel Magin, Olaf Monien und Holger Flick. Unter dem neuen Label erhalten Sie ab sofort High-End Know how rund um Delphi.

Comments Comments

The just announced DelphiLive! conference in San Jose will have two tutorial/workshop days.  In cooperation with Holger Flick I will offer a full day workshop on Delphi Prism – the new Delphi for .NET development environment.

To register, you need to sign up for one of the “tutorial days” at DelphiLive! Registration The exact date (Wed or Sat) will be announced soon. (You may leave a note with your preference below)

This workshop introduces Delphi Prism and will provide an overview of the most important .NET technologies such as Windows.Forms, WPF, ASP.NET, ADO.NET and LINQ.

Prism’s syntax differences to Delphi native and its language enhancements/advantages over C# will be discussed with many samples.

Database access, Web development and desktop application development will be covered as well as topics like how to migrate from Delphi native to Delphi Prism.

Comments Comments

Im Rahmen des kommenden Delphi CodeCamps werde ich in Zusammenarbeit mit Holger Flick einen Workshop zu Delphi Prism anbieten.

Sie können einen einzelnen Tag buchen oder aber natürlich auch das ganze CodeCamp.

 

Einführung in die professionelle Softwareentwicklung unter .NET mit Delphi Prism

Dieser Intensiv-Workshop vermittelt den Teilnehmern zunächst einen Überblick über die Handhabung von Delphi Prism und Visual Studio.

Im weiteren Verlauf werden die verschiedenen allgemeinen Aspekte der Softwareentwicklung unter .NET vorgestellt und analysiert.

Für den Umstieg von der klassischen Delphi-Entwicklung auf die .NET Entwicklung unter Prism werden zahlreiche Tipps und Tricks gezeigt. Der gemischte Betrieb von Delphi für Windows 32 und .NET wird ebenso thematisiert.

Abgerundet wird der Workshop durch Themen wie Web- und Datenbankentwicklung.

Comments Comments

  After quite a while there will be a face-to-face Delphi Developer conference in the US again.

The conference is organized by S&S Media and supported by Embarcadero/CodeGear.

We have got all the top speakers, including Cary Jensson, Marco Cantu and Ray Konopka.

Many (most?) members of Delphi R&D team (including Barry Kelly – “The Delphi Compiler”) will be at the conference and there will be of course "Meet the Team" sessions.

All Sessions are online and registration is now open. The speakers list includes all those who already submitted their bio and photo. For a complete list of speakers please refer to the list of sessions for now.

If you register before April 10th, 2009, then you can take advantage of the Early Bird rebates.

DelphiLive

When : May 13 – 16, 2009
Where: San Jose, CA, USA

More information: www.delphilive.com

S&S Media is a book/magazine publisher and software conference organizer. S&S is well known in the Delphi community for their Delphi focused "EKON" conferences and "Entwickler" magazines.

For comments, questions or concerns you may use the contact form on the DelphiLive web site, or just leave a comment here.

Comments Comments

Update: Sessions are online and registration is open now: www.delphilive.com

As an Advisory Board member I am proud to post this official pre-announcement for the next, long awaited physical Delphi conference.

Logo

Where: San Jose, CA, USA
When: May 13th – 16th 2009
Who: All Delphi developers, let it be Delphi Win 32, Delphi Prism or Delphi for PHP ones.

Read the rest of this entry »

Comments Comments

A while ago a couple of users started reporting odd Access Violations when running a Project in Delphi 2007 for the first time. It turned out that this was caused by some Logitech WebCam drivers. See Nick Hodges blog on this topic.

To make it clear: it’s not just Delphi users reporting issues with these Logitech drivers, some other applications seem to affected as well. Google for lvprcinj.dll – I find the word “injection” in that dll pretty scary btw.

Apparently even with the latest Logitech drivers (11.1.0.2030 at the time of writing this), this error is still there (or maybe there again) and affects Delphi 2009 too.

So if you experience this odd AV as demonstrated on Nick’s blog, then you have terminate lvprcsrv.exe at least.

Comments Comments

As there is obviously still some uncertainty if Delphi Prism is really a fully fledged .NET development environment, I’m posting an example below to prove that Prism does allow you to LINQ to SQL:

This is a “Customer” class definition with a manual mapping to a “Customers” table on a SQL Server 2005:


type
[Table(Name := 'Customers')]
Customer = class(Object)
private
protected
public
[Column(IsPrimaryKey := true)]
property CustNo:Double;
[Column]
property Name: String;
[Column]
property Country: String;
end;

This is the actual LINQ to SQL code that relies on the class definition above:


method MainForm.button2_Click(sender: System.Object; e: System.EventArgs);
var
LCustomers: Table<Customer>;
LDBMain: DataContext;
LConnectionString:String;
begin
LConnectionString := 'Data Source=.\SQLEXPRESS;Initial Catalog=DBDEMOS;Integrated Security=True';
LDBMain := new DataContext(LConnectionString);
LCustomers := LDBMain.GetTable<Customer>();
var USCustomers := from Customer in LCustomers where Customer.Country = 'US' select Customer;

for each Customer in USCustomers do begin
listBox1.Items.Add(Customer.Name);
end;
end;

Interesting to note is that Prism has a very nice name scope mechanism. Even though “Customer” is a Class name, it is also used as local variable in the LINQ and FOR constructs. I am not saying that this is a good practice though ;-)

Technically, both “Customer” variables are different variables – which is quite important to understand.

The full demo source can be downloaded here: [download#2].

Comments Comments

Delphi Prism comes with a nice “Sync Editing” feature. Unfortunately it’s not enabled by default, because it relies on an external “DXCore” assembly, which is available as free download from DevExpress. This “Sync Edit” works for methods only currently, but it does that in a very intuitive way, you don’t have to remember any shortcuts, just write. As little bonus it also gives you “animated bookmarks”. These bookmarks are used for example when you press CTRL-SHIFT-V to declare a local variable or property (which depends on the name you give).

DevExpress is a component set and productivity plugin vendor who serves the VCL and .NET market. DXCore is a base library which is heavily used by their CodeRush and Refactor products.

To finally enable Sync Editing after installing DXCore you need to copy one file manually. Just follow the steps in this  Prism Wiki article.

Comments Comments

Apparently, CodeGear, a department of Embarcadero, has chosen Black Friday as release date for the all new .NET edition of Delphi:

Delphi Prism

Delphi  Prism is basically a plugin for Visual Studio, which delivers the Pascal Language plus some exciting extra features to Microsoft’s .NET development platform.

Get a trial version from CodeGear’s Code Central. Delphi Prism is part of RAD Studio 2009,  the ISO (1.4 GB!) offered for download on that page contains Prism only though.

Prism has to be activated by a license key. You can request a 14 day trial license on the same page and/or use a purchased RAD Studio 2009 license key. In other words the ISO contains the full product.

The Prism product page does not yet have a “purchase” link, but the marketing department is currently working on getting an announcement e-mail blown out. I guess that the purchase link will be activated while that happens. As the ISO contains the full product, you can switch from trial to full after the 14 days, just by entering a new license key.

Technical Information

Prism is not an upgrade of what you may know as Delphi.NET from RAD Studio 2007 or earlier. Prism is a complete new tool. It has been developed by a partner of CodeGear’s, RemObjects and comes as the solution for .NET and Mono in RAD Studio 2009. It completely “integrates” with the .NET framework. It does not bring any “Delphi Win32” dependencies. This means all executables/assemblies you will create with Prism will be “pure” .NET (or Mono) ones. No more P/invoke weirdness.

Porting Delphi Applications

The good news are: Prism Pascal is very compatible to Delphi Native Pascal. There are a couple of differences, which are well documented.

The bad news are: There is no VCL on Delphi Prism. In other words you can port business code more or less easily, but you have to re-implement your GUI code. After all I don’t think that’s  too bad though. You have all .NET possibilities instead. System.Windows.Forms, WPF, Silverlight …

If you want to dig into the technical details, then have a look at the Delphi Prism Wiki. As Delphi user you might want to start with Delphi Prism syntax compared with Delphi Win32 syntax.

More information to come (including German Prism Workshop in Darmstadt) …

Comments Comments

CodeGear Technology Partner