Posts

Showing posts from November, 2013
How could i used TDirect2DCanvas in delphi7 ?

Hello. I have an .inc file which contains

Hello. I have an .inc file which contains ...   {$IF (CompilerVersion >= 14)} {$DEFINE Delphi6} {$DEFINE Delphi6up} {$IFEND}   {$IF (CompilerVersion >= 15)} {$UNDEF Delphi6} {$DEFINE Delphi7} {$DEFINE Delphi7up} {$IFEND} ... Delphi 7 compiler gives an error "constant expression expected". What am I missing here? Thank you.

Introduce yourself? Well, all one needs to know can be read on my homepage: http://ddobjects.de/about and finally, I started blogging (sort of).

Introduce yourself? Well, all one needs to know can be read on my homepage: http://ddobjects.de/about and finally, I started blogging (sort of). And Hello to all and many thanks to Lars for this nice community.
Hello! I'm learning Turbo Pascal. Should I learn Delphi after Pascal?

XE5 and Android. Had a hard time until the first app did execute on the emulator. Until then, the screen of the emulator just remained black.

XE5 and Android. Had a hard time until the first app did execute on the emulator. Until then, the screen of the emulator just remained black. When starting the emulator from the Android Tools instead of letting it start by Delphi I noticed a log entry which finally did lead me here: http://code.google.com/p/android/issues/detail?id=33336 Adding the appropriate folder to my path environment did do the trick for me. Hope this is helpful to anyone :)

New Peganza Pascal Analyzer.

New Peganza Pascal Analyzer. http://www.peganza.com/whatsnew_pal7.htm

Hello. I have just uploaded a new release of my free open source Delphi Component Installer. http://ddobjects.de/free-software This release contains bugfixes and many tweaks, includes command line compilation for MacOS (Delphi XE2 to XE5), considers Delphi specific environment variables (those which are defined and/or overridden within the IDE) and supports compilation using the VCL and Firemonkey frameworks.

Hello. I have just uploaded a new release of my free open source Delphi Component Installer. http://ddobjects.de/free-software This release contains bugfixes and many tweaks, includes command line compilation for MacOS (Delphi XE2 to XE5), considers Delphi specific environment variables (those which are defined and/or overridden within the IDE) and supports compilation using the VCL and Firemonkey frameworks. http://ddobjects.de/free-software

It’s never too early for great deals! For a limited period of time only, purchase either the Standard or Professional Edition of HelpNDoc at a 40% discount: http://www.helpndoc.com

It’s never too early for great deals! For a limited period of time only, purchase either the Standard or Professional Edition of HelpNDoc at a 40% discount: http://www.helpndoc.com http://www.helpndoc.com/news/2013-11-27-cyber-week-starts-now-40-discount-helpndoc-till-monday-only

Why can I FreeAndNil() a Delphi string? That's just wrong on so many levels. But I'm assured that it not only compiles, it runs. Please explain!

Why can I FreeAndNil() a Delphi string? That's just wrong on so many levels. But I'm assured that it not only compiles, it runs. Please explain! Well, in the "no immediate error" sense. Strangely, just after that I start seeing access violations. Does anyone know why?

Code SOD for the day: someone has left me a pile of code where they use "var" on object parameters to mean "contents of object are changed in this method". I am having to learn how to read that code (while I clean up huge numbers of memory leaks).

Code SOD for the day: someone has left me a pile of code where they use "var" on object parameters to mean "contents of object are changed in this method". I am having to learn how to read that code (while I clean up huge numbers of memory leaks).     procedure PopulateList(var aList:TList);     begin          for i:= 1 to 1000 do              aList.Add(MakeNewObject());     end; To me "var" on a parameter means "this thing will change", and on an object that means "this gives you back a different object", as in WalkDownTheQueue(const aQueue:TQueue; var aCurrentObject:TSomeObject); in which example we will ignore the oddness of that particular method. The worst part of this is that some of those lists contain heterogenous objects. But at least Delphi has a common ancestor and sensible inheritance, so I can just call .Free; on them and move on. Assuming, that is, that the contents is actually an object. And references are unique. Both of

Hi Friends

Hi Friends, I have a project with D7 and the component KaDao (Access DB). How is possible to migrate it to XE4? Where can I find the component KaDao to XE4.  Thanks in advance.

Hi Friends

Hi Friends, I need to migrates delphi 5 source code to delphi 2007. any migration tool available for that? Kindly looking for your help.

Hi, for everybody who watched the CodeRage 8 session - Escaping the Try..Finally..Free Nest from Allister Christie - and hwo actually likes this way of doing it, you might want to check a Live-Template that I made, which simplifies the declaration of the Guard significantly. Just copy the xml below into your Live-Templates folder and invoke it with "dof<Tab". It declares an IDoFinally interface and the Instance variable automatically.

Hi, for everybody who watched the CodeRage 8 session - Escaping the Try..Finally..Free Nest from Allister Christie - and hwo actually likes this way of doing it, you might want to check a Live-Template that I made, which simplifies the declaration of the Guard significantly. Just copy the xml below into your Live-Templates folder and invoke it with "dof http://schemas.borland.com/Delphi/2005/codetemplates "                 version="1.0.0">                                                 DF                                           IDoFinally Interface                                                           TObject                                          Constructor                                                            Instance                                           class Instance                                            DoFinally                               Markus Joos                            |end||*|]]>               https://www.youtube.com/

OK, I'm getting desperate. In my new job, we are using Hg, and I am working from home, on a VPN. Any and every remote action I attempt results in: abort: unexpected end of stream. I have googled, and found that many people have experienced this error, but the claimed solutions are almost as numerous as the complaints, and none have worked for me so far. One which sounded hopeful was to disable stream compression, but it only took longer, and resulted in different error. Oh, and the byte count is generally within 95% of what it should have been.

OK, I'm getting desperate. In my new job, we are using Hg, and I am working from home, on a VPN. Any and every remote action I attempt results in: abort: unexpected end of stream. I have googled, and found that many people have experienced this error, but the claimed solutions are almost as numerous as the complaints, and none have worked for me so far. One which sounded hopeful was to disable stream compression, but it only took longer, and resulted in different error. Oh, and the byte count is generally within 95% of what it should have been. Also, we are using the TortoiseHg Workbench, not command line. I am open to almost any suggestion.

Anyone here that have experience with Delphi and Continua / FinalBuilder / svn / git / Jira, and would care to share...

Anyone here that have experience with Delphi and Continua / FinalBuilder / svn / git / Jira, and would care to share their opinion of the product? We are more or less set on investing in Continua CI and Finalbuilder for our shop. We had a look at Jenkins and TeamCity as well, but it was CCI/FB which came out on top as best match for our wish list, but we have really only scratched the surface with the three. Feedback appreciated. http://www.finalbuilder.com/continua-ci.aspx http://www.finalbuilder.com/continua-ci.aspx

Anyone here that have experience with Delphi and Continua / FinalBuilder / svn / git / Jira, and would care to share their opinion of the product?

Anyone here that have experience with Delphi and Continua / FinalBuilder / svn / git / Jira, and would care to share their opinion of the product? We are more or less set on investing in Continua CI and Finalbuilder for our shop. We had a look at Jenkins and TeamCity as well, but it was CCI/FB which came out on top as best match for our wish list, but we have really only scratched the surface with the three. Feedback appreciated. http://www.finalbuilder.com/continua-ci.aspx http://www.finalbuilder.com/continua-ci.aspx
Tem Algum Curso de Delphi com NF-e Ai????

Datasnap -rest (isapi) - upload big image.

Datasnap -rest (isapi) - upload big image. Has anyone solved this problem? http://qc.embarcadero.com/wc/qcmain.aspx?d=118366 http://qc.embarcadero.com/wc/qcmain.aspx?d=118366

Or how to avoid paying for the overhead of ye olde MS DOS era 8dot3 file names in Delphi (and outside Delphi)

Or how to avoid paying for the overhead of ye olde MS DOS era 8dot3 file names in Delphi (and outside Delphi) http://www.delphitools.info/2013/11/25/efficient-file-enumeration/

Interested by Smoketest but wish it were more similar to DUnit ? You can make it so...

Interested by Smoketest but wish it were more similar to DUnit ?  You can make it so... http://www.deltics.co.nz/blog/posts/2193

Delphi Cross Platform Rapid JSON

Delphi Cross Platform Rapid JSON  {Win.X, Mac Os, iOs, Android) News: DBXJSON dependency has been removed. SuperExpression Added. And etc. https://code.google.com/p/x-superobject/
Hi, like to know if anyone here had problems with the iPhone Simulator running iOS 7, here simply closes the application, loads the splash screen and close. (Sorry my English)

Better to describe behaviour, or override it ... ?

Better to describe behaviour, or override it ... ? http://www.deltics.co.nz/blog/posts/2177

Hi friends

Hi friends, I develop one media player using xe5 delphi. it play video very good in my machine but its not running video on 64 bit machine and i try on one 32 bit window 7 as well but its not working. is any problem with fire monkey xe5 media player? looking for help if any one knows.

How can I check if it exists, add and remove events from the calendar ios and android?

How can I check if it exists, add and remove events from the calendar ios and android? Is there any field that can identify what was my application that created the event? thank you Tks

I do NOT WANT TO USE PACKAGES (BPL) only DLL.!!!!!

I do NOT WANT TO USE PACKAGES (BPL) only DLL.!!!!! I made an application ,fairly complex over 10 years ago,to show all information of a dfm file . components,properties and much more including editing and making a pas!! out of a dfm. I am using alot whene i need to know the properties of a problematic dfm,so i can change its properties. (The IDE some times reject the dfm!!). Now to the point. I intend to publish the program. for that i want to make a DLL for programers, JvPlugin? to publish component in Dll. at a time i was talled it is imposible to do it.I made a small test program+dll. In the Dll uses   SysUtils,  LblEffct,  << this to register   Classes,   DllForm in 'DllForm.pas' {frmDllForm};<< just for testing not needed function GetClass : TPersistentClass; begin   result := TLabelEffect;<<<<<<<< send component end; ------------------------------------  In the main test project i have function GetMyClass:TPersistentClass;stdcall;extern

Hello there....

Hello there.... Have somebody help me about, How to compilation TpMath in Delphi 2010..??? Thanks in advance...

So in this video[1] I learned something new, that you could inherit an interface from a reference to function/procedure declaration. In the example he creates a smart pointer, which is cool (use the link below to get to the right time).

So in this video[1] I learned something new, that you could inherit an interface from a reference to function/procedure declaration. In the example he creates a smart pointer, which is cool (use the link below to get to the right time). However is this relying on implementation details, or is it a legit method? [1]: Oct 17, 4pm - Functional Programming in Delphi XE5 http://www.youtube.com/watch?v=7g-dmfSH6ZU&list=UUMmsCQhkz-WlJ-IVBzPhbgA#t=2111

As Dire Straits sang in Setting Me Up...

As Dire Straits sang in Setting Me Up... (Yeah, senior moment on the old musical memory....) http://www.deltics.co.nz/blog/posts/2169

Could anyone import the below web-service with Delphi XE5 (or any version > Delphi XE) and send the interface file to me (bora.aydemir@gmail.com)

Could anyone import the below web-service with Delphi XE5 (or any version > Delphi XE) and send the interface file to me (bora.aydemir@gmail.com) I have Delphi XE and the importer omits some properties of classes. Wondering if it is fixed in newer versions? https://efatura-test.uyumsoft.com.tr/Services/Integration?singleWsdl

Because of my birthday, I am pleased to announce a 50% discount to HTML Component Library. Please use coupon code GFIBFQJ (Valid only 20/11/2013, 10 licenses available)

Because of my birthday, I am pleased to announce a 50% discount to HTML Component Library.  Please use coupon code  GFIBFQJ  (Valid only 20/11/2013, 10 licenses available) http://delphihtmlcomponents.com/ http://delphihtmlcomponents.com/

Take a break, a daily WTF with Delphi

Take a break, a daily WTF with Delphi http://thedailywtf.com/Articles/Breaking-Delphi.aspx http://thedailywtf.com/Articles/Breaking-Delphi.aspx

Jim McKeeth

Jim McKeeth  I have a serious problem with the android keyboard, already reported by several people in quality center (Report #: 120260) http://qc.embarcadero.com/wc/qcmain.aspx?d=120260 . If a TEdit has no text and it is focused, it shows the keyboardlayout of the prior focused edit and not the own one which is specified in KeyboardType. Is there any way to fix this? http://qc.embarcadero.com/wc/qcmain.aspx?d=120260

https://plus.google.com/108790993720259951747/posts/SFMTXC5y6Sh

https://plus.google.com/108790993720259951747/posts/SFMTXC5y6Sh https://plus.google.com/108790993720259951747/posts/SFMTXC5y6Sh

Fellow Delphi developers

Fellow Delphi developers, This is with great pleasure that we announce the immediate availability of HelpNDoc 4.1, an easy to use yet powerful help authoring tool producing CHM help files, HTML or mobile WebSites, DocX and PDF manuals as well as ePub and Kindle eBooks from a single source. HelpNDoc is Free for personal use and evaluation purposes and is available at: http://www.helpndoc.com HelpNDoc 4.1 can now conditionally generate topics based on build tags, provides easier library item modification from the topic editor, better live-spell support as well as many other enhancements and bug fixes. You can learn more about this update at: http://www.helpndoc.com/news/2013-11-19-conditional-topic-generation-and-many-enhancements-available-helpndoc-41 Download HelpNDoc and use it for free for personal and evaluation purposes: http://www.helpndoc.com Best regards, John, HelpNDoc team. http://www.helpndoc.com http://bit.ly/17I3ONg

Vive la difference!

Vive la difference! http://www.deltics.co.nz/blog/posts/2164

I have a MainForm, with a panel. What I would like is to show any other forms in the panel of the MainForm itself. I've been playing with the Align and Parent properties, but they don't seem to do the trick.

I have a MainForm, with a panel. What I would like is to show any other forms in the panel of the MainForm itself. I've been playing with the Align and Parent properties, but they don't seem to do the trick. I used to use a 3rd party component to achieve this, but I believe it is possible within Delphi itself.
How could i make forms into a dll so that when i place the dll in application directory i can use that form....
I just started working on a D7 Ent project with IB2007 db. We need to buy new D7 Ent & IB2007 licenses. AFAIK, we will have to buy XE5 do do this. Correct? If so, where is the best place to buy it?

Hi every one!

Hi every one! I want to use FastReport with a Database, where the field 'sex' is represented in the DB as '0' for 'male' and '1' for 'female', but I want to print it as 'male' , 'female' not '0', '1' I asked around and they gave me that code : procedure TForm1.ADOTable1sexeGetText(Sender: TField; var Text: string;  DisplayText: Boolean); begin   if Sender.AsString[1] = '0' then Text := 'Male';   if Sender.AsString[1] = '1' then Text := 'Female'; end; but it looks like this code works only with AdoTable, not with AdoQuery procedure TForm1.ADOQuery1sexeGetText(Sender: TField; var Text: string;  DisplayText: Boolean); begin   if Sender.AsString[1] = '0' then Text := 'Male';   if Sender.AsString[1] = '1' then Text := 'Female'; end; Any ideas?

Hi

Hi, do you have any suggestions for a imap component which supports imap idle? Atm indy does not support the idle command: http://code.google.com/p/indyproject/issues/detail?id=162

ANN: HTML Component Library 2.0

ANN: HTML Component Library 2.0 Added support for Delphi 6, XE4, XE5 and Firemonkey on all platforms (Win32/64, OSX, iOS, Android) All changes: http://delphihtmlcomponents.com/v20.html Price remains the same, but only until November 31. From December 1 single developer price will be $330. http://delphihtmlcomponents.com http://delphihtmlcomponents.com/v20.html

That bug stayed hidden in implicit AnsiChar for years...

That bug stayed hidden in implicit AnsiChar for years... http://www.delphitools.info/2013/11/18/unicode-leftover-bug-from-hell/

The feedback from our free Mobile Kickstart event in NZ a couple of week's back was great, so now it's Sydney and Melbourne's turn. It's a full day, we build a back-end and mobile (iOS and Android) front end from scratch during the day, all source made available.

The feedback from our free Mobile Kickstart event in NZ a couple of week's back was great, so now it's Sydney and Melbourne's turn. It's a full day, we build a back-end and mobile (iOS and Android) front end from scratch during the day, all source made available. http://mgrov.es/c5
Title

A public letter about Spring4D project

A public letter about Spring4D project https://forums.embarcadero.com/thread.jspa?threadID=97072&tstart=0 https://forums.embarcadero.com/thread.jspa?threadID=97072&tstart=0

Hello all.

Hello all. Can you tell me please, which audio component can i use to create a player like Soundcloud audio player with visual playback (Diagram view).

Hello all. Haven't been here fore some time but I thought I could point out to the XMas offer (20% off) for my memory profiler and exception handler DDDebug. The next update is coming soon, version 1.0 is nearby :) After that DDDebug might be extended to support MacOS, IOS and Android. Looking forward to this.

Hello all. Haven't been here fore some time but I thought I could point out to the XMas offer (20% off) for my memory profiler and exception handler DDDebug. The next update is coming soon, version 1.0 is nearby :) After that DDDebug might be extended to support MacOS, IOS and Android. Looking forward to this. http://ddobjects.de/dddebug http://ddobjects.de/dddebug
Well, next year at work, we're going to localize our applications with Spanish.  We'll make them so we can plug in other languages too, because we'll need to support Portuguese too.

Title

Image
Disappointed to see Delphi used in this way.

Not only but also... two additional libraries of potential interest.

Not only but also... two additional libraries of potential interest. http://www.deltics.co.nz/blog/posts/2155

At last!

At last! http://www.deltics.co.nz/blog/posts/2144

Please...

Please... Has anyone worked with converting images and text in a PDF-A?

Ok, its not in Delphi but you know this is true :-)

Image
Ok, its not in Delphi but you know this is true :-) Originally shared by Patrik Martinko :)

DDevExtensions 2.8 released for RAD Studio 2009-XE5

DDevExtensions 2.8 released for RAD Studio 2009-XE5 One feature of DDevExtensions that may interest those with out of memory issues when compiling larger project groups is the "Release compiler unit cache before compiling". It is turned off by default. Description: If you compile large project groups the compiler’s unit cache can occupy a lot of memory for each compiled project. This can lead to “out of memory” exceptions. DDevExtensions can be set up to release the compiler’s unit caches of the projects that are already compiled. It is also possible to only release the caches if the IDE’s memory usage is high so CodeInsight doesn’t get a performance hit due to a released unit cache. http://andy.jgknet.de/blog/2013/11/ddevextensions-2-8-released-2009-xe5/

Please. Change the name, or title, of this Comunity.

Please. Change the name, or title, of this Comunity. Change for: "Delphi Developers - Only in English." The international language is "Esperanto". Maybe you can respect another people, like me. Portugues is near to : Spanish e Italian (from Latim). I need a chance to speak with another programmers in my language, maybe another countries, not just BraSil, can understand me.  And will great for all the people.

Interesting, I didn't knew about that!

Image
Interesting, I didn't knew about that! While the EMBT doc explains it as shortening, it seems to be implemented as an implicit lengthening test actually (tested wit MyAttribute and MyAttributeAttribute) Originally shared by ITDevCon European Delphi Conference Using attributes and #RTTI to automate programming tasks with Primož Gabrijelčič

From the Redundant Department of Redundancy...

From the Redundant Department of Redundancy...     if (_List = nil) then     begin       try         _List := TStringList.Create;       except         _List.Free;       end;     end; Never mind the fact that the code references _List immediately afterwards without checking if _List is nil or not...

Fun bug of the day:

Fun bug of the day: function ExecProcess(const CommandLine: string): THandle; var   si: TStartupInfo;   pi: TProcessInformation;   res: boolean; begin   ... init si and pi ...   res := CreateProcess(nil,  PChar(CmdLine), nil, nil, false, 0, nil, nil, si, pi);   if not res then     RaiseLastOSError;   result := pi.hProcess; end; Hint: this compiles just fine in a dedicated unit.

Hi Guys

Hi Guys, I want to develop one player which will play images/video continually, pick files one by one from specific folder and run them. Play speed should be very good. Any Delphi controls can provide this type facility?
I'm going to start a Delphi Users group in this area. I got permission to have meetings in our building here at work. I'm new at this, so I'll have to do a lot of research... I hope I can find some Delphi Developers in Cincinnati.
Just FYI, if you've been waiting

Blog post "StyleBook Resources Text Editor for XE5" at http://blog.marcocantu.com/blog/stylebook_text_editor_xe5.html

Blog post "StyleBook Resources Text Editor for XE5" at http://blog.marcocantu.com/blog/stylebook_text_editor_xe5.html

TECNativeMap 1.5 is available for Windows, Mac OS X, #iOS and #Android

TECNativeMap 1.5 is available for Windows, Mac OS X, #iOS   and #Android 100% #Delphi #vcl and #FireMonkey, no WebBrowser, no Javascript for more responsiveness and less memory consumption http://www.helpandweb.com/ecmap/en/tecnativemap.htm http://www.helpandweb.com/ecmap/en/tecnativemap.htm

Hi everyone

Hi everyone, does anyone know how to handle Window messages in #firemonkey   form? I mean posting messages by PostMessage/SendMessage() methods. PS: Actually I wanted to uncheck single RadioButton, as far as I can't uncheck it in its OnClick event handler, I wanted to post message in message queue and handle it after OnClick event.

That looks like (some version of ) Delphi. They probably cranked it out in 1 minute flat. RAD in action!

That looks like (some version of ) Delphi.  They probably cranked it out in 1 minute flat.  RAD in action! http://arstechnica.com/security/2013/11/new-denial-of-service-attack-aimed-directly-at-healthcare-gov/

Problem with virtual keyboard.

Image
Problem with virtual keyboard. I'm compiling directly to the iphone and when you open the virtual keyboard, the toolbar which shows the "done" button is cut off. Does anyone have the same problem? I'm using OS 10.7.5, Xcode 4.6.2 and iOS 7.0.3. It happened to someone? Anyone know how to solve? thank you

Today's magic line of code:

Today's magic line of code: xi1 := trunc(int(mm * 0.4 + 2.3)); xi1 and mm are Integers.

What is the general thought on this code inside a thread's Execute method:

What is the general thought on this code inside a thread's Execute method: while Working do begin   Sleep(1);   Application.ProcessMessages; end;

According executable created today XE5 identified as virus by Avast, someone with the same problem?

Image
According executable created today XE5 identified as virus by Avast, someone with the same problem? Before you ask I have both Avast as XE5 licensed.
Do you recommend using Windows 8.1 as main development environment? (With requirement of installing Delphi 7-XE5).

Delphi 6 on Windows 8.1

Delphi 6 on Windows 8.1 After getting Delphi 2005/2006 and 2007 working again the last stumbling block was Delphi 6. It used to work fine on Windows 8 but after the update to Windows 8.1 it always started the registration wizard for a new activation. Unfortunately this activation did not work, I tried it twice, just to be sure. http://blog.dummzeuch.de/2013/11/11/delphi-6-on-windows-8-1/

FMX:XE5:iOS How to realize load-on-demand with listview?

FMX:XE5:iOS  How to realize load-on-demand with listview? I mean scroll with the finger to the end of the listview and then load next portion of items...

Fast skipping through Delphi history in new millennium

Fast skipping through Delphi history in new millennium Ten li'l evangelists thought if old brand name was fine. To their dismay one liked new one, and soon there were nine. Nine li'l evangelists used Windows to grow their estates. Yet one succumbed to Linux rush and soon there were eight. Eight li'l evangelists learnt that Windows was safe haven. One knew Dot Net for Windows Next and soon there were seven. Sev'n li'l evangelists held "Rename again" grand prix. One said "last time did no good" and soon there were six. Six li'l evangelists pimped the lang, with generics they strived. One was called contravariant, and soon there were five. Five li'l evangelists took chances with Documents Explorer. A dull one called WinHelp in arms and soon there were four. Four li'l evangelists digged gold by apple tree. One brought to help one raised from dead and soon there were three. Three li'l evangelists sought to eat their own dog food. One c

After getting Delphi 2007 to work again I tried to do the same for Delphi 2005 and 2006.

After getting Delphi 2007 to work again I tried to do the same for Delphi 2005 and 2006. Both versions require the dotNET framework 1.1 which is officially no longer supported on Windows 8 (and 8.1). According to Microsoft, you should contact your independent software vendor (ISV) to have the application upgraded to run on the .NET Framework 3.5 SP1 or later version. Good luck with that. ... http://blog.dummzeuch.de/2013/11/10/delphi-20052006-on-windows-8-1/

When I updated to Windows 8.

When I updated to Windows 8.1 my Delphi 2007 installation broke. I could no longer open projects in the IDE and my command line compilation scripts also stopped working. It turned out that some files that were added by the installer to the dotNET framework were missing. In addition there is a known problem with Delphi 2007 on 64 bit Windows (starting with Vista). http://blog.dummzeuch.de/2013/11/10/delphi-2007-on-windows-8-1/

When I updated to Windows 8.1 my Delphi 2007 installation broke. I could no longer open projects in the IDE and my command line compilation scripts also stopped working. It turned out that some files that were added by the installer to the dotNET framework were missing. In addition there is a known problem with Delphi 2007 on 64 bit Windows (starting with Vista).

When I updated to Windows 8.1 my Delphi 2007 installation broke. I could no longer open projects in the IDE and my command line compilation scripts also stopped working. It turned out that some files that were added by the installer to the dotNET framework were missing. In addition there is a known problem with Delphi 2007 on 64 bit Windows (starting with Vista). http://blog.dummzeuch.de/2013/11/10/delphi-2007-on-windows-8-1/

Bold is propably the best persistant framework for Delphi.

Bold is propably the best persistant framework for Delphi. Only Embarcadero can make it available again. Tell them that community need Bold and give yor votes on QC http://qc.embarcadero.com/wc/qcmain.aspx?d=97382 . Currently it have 216 votes an place 10, but more is needed. Thanks!

Bold is propably the best persistant framework for Delphi. Only Embarcadero can make it available again. Tell them that community need Bold and give yor votes on QC http://qc.embarcadero.com/wc/qcmain.aspx?d=97382. Currently it have 216 votes an place 10, but more is needed. Thanks!

Bold is propably the best persistant framework for Delphi. Only Embarcadero can make it available again. Tell them that community need Bold and give yor votes on QC http://qc.embarcadero.com/wc/qcmain.aspx?d=97382 . Currently it have 216 votes an place 10, but more is needed. Thanks!

I do not think the XE5 adding a Soap Server Interface, it disappeared??

Image
I do not think the XE5 adding a Soap Server Interface, it disappeared??

Hi

Hi I have created a mobile application for android and ios with Delphi XE5. I needed a custom component, so I created a package and I wrote my component. I wrote a windows application for testing my custom compnent and every thing is OK so far. I add an instance of my component on the Firemonkey mobile form in design time and it shows it correctly. But when I try to run app on IOS Simulator or Android emulator it crashes, I think the problem is caused by not deploying my package along with my app, but I don't know how should I include this package in my mobile app deployment. Any idea? P.S I know how to deploy database files to Android and IOS

Early Access of Documentation Insight 3 Beta is available.

Early Access of Documentation Insight 3 Beta is available. http://www.devjetsoftware.com/products/documentation-insight/whats-new-in-documentation-insight-3/ http://www.devjetsoftware.com/products/documentation-insight/whats-new-in-documentation-insight-3/

Blog post "Delphi 7 and Delphi 2007 Migration Survey" at http://blog.marcocantu.com/blog/delphi_migration_survey.html

Blog post "Delphi 7 and Delphi 2007 Migration Survey" at http://blog.marcocantu.com/blog/delphi_migration_survey.html The survey itself is at  https://www.surveymonkey.com/s/MF6RZMG

#chuckleworthy

Image
#chuckleworthy   Originally shared by Eliseo Arias When the Sr. developer fixes a bug that had you stumped for days.

Primož Gabrijelčič takes a look from the memory Manager point of view, on a server two Xeon E5-2620 (so 12 cores total).

Primož Gabrijelčič takes a look from the memory Manager point of view, on a server two Xeon E5-2620 (so 12 cores total). http://www.delphitools.info/2013/11/07/memory-managers-and-string-building/

In case you missed it.

In case you missed it. Originally shared by RAD Studio Hotfix 1 available for C++Builder and RAD Studio XE5 for compiling FireMonkey C++ application with Mac OS X 10.9 SDK http://embt.co/17EQjy8 http://embt.co/17EQjy8

XE3 vs. XE5: Changes in TPointF.Create (System.Types.pas) broke my code:

XE3 vs. XE5: Changes in TPointF.Create (System.Types.pas) broke my code: XE3-Version: constructor TPointF.Create(const X, Y: Single); begin   Self.X := X;   Self.Y := Y; end; XE5-Version: class function TPointF.Create(const AX, AY: Single): TPointF; begin   Result.X := AX;   Result.Y := AY; end; Do you see the difference? Now my Code: var P: TPointF; P.Create(10, 5); I now have to find all those places and replace it with P := TPointF.Create(...); I hope I don't miss any occurrence.
Title

Getting animated with Smoketest

Getting animated with Smoketest http://www.deltics.co.nz/blog/posts/2118

“I must be taken as I have been made. The success is not mine, the failure is not mine, but the two together make me.”

“I must be taken as I have been made. The success is not mine, the failure is not mine, but the two together make me.”  ― Charles Dickens, Great Expectations Well, you won't have to take Smoketest entirely as it has been made. http://www.deltics.co.nz/blog/posts/2111

It seems there is no way to fool the "smart" IDE to make actions compatible in XE3 or higher.

It seems there is no way to fool the "smart" IDE to make actions compatible in XE3 or higher. {$IF CompilerVersion>=24}System.Actions,{$IFEND} ActnList, I think the Delphi IDE team should really give some love to third-party partners...
I know that Uwe Schuster's site is offline, but I have two questions on Version Insight: 1) what is the earliest version of Delphi in which it can be installed, and 2) how difficult is it to install, based on the code on sourceforge?

If you deal with Internet Explorer WebBrowser control, you need to pay attention to some broken changes since IE 10+. e.g. document.selection has been removed and replaced with window.getSelection() in IE11 (different interfaces). The special xml data island is no longer supported and will be rendered as html, etc.

If you deal with Internet Explorer WebBrowser control, you need to pay attention to some broken changes since IE 10+. e.g. document.selection has been removed and replaced with window.getSelection() in IE11 (different interfaces). The special xml data island is no longer supported and will be rendered as html, etc. For more information, http://msdn.microsoft.com/en-us/library/ie/dn467852(v=vs.85).aspx http://msdn.microsoft.com/en-us/library/ie/dn467852(v=vs.85).aspx

Hello Google Glass from Delphi XE5

http://delphi.org/2013/11/hello-google-glass-from-delphi-xe5/

Another sneak peek at Smoketest in advance of it's forthcoming release...

Another sneak peek at Smoketest in advance of it's forthcoming release... http://www.deltics.co.nz/blog/posts/2095

Short article to concluding the mini-series on String Concatenation

Short article to concluding the mini-series on String Concatenation http://www.delphitools.info/2013/11/05/multi-threaded-string-building-in-delphi/

CodeRage8 sessions seem to have been released for those interested...

CodeRage8 sessions seem to have been released for those interested... http://www.youtube.com/user/EmbarcaderoTechNet/videos http://www.youtube.com/user/EmbarcaderoTechNet/videos

Delphi XE3 vs i7 2700k Win7 x64, summing an array of 100 million elements of Vector2 = record x, y: single; end; on:

Delphi XE3 vs i7 2700k Win7 x64, summing an array of 100 million elements of Vector2 = record x, y: single; end; on: X86: 1.1 seconds X64: 4.8 seconds Changing singles to doubles: X86: 1.4 seconds X64: 1.0 seconds Alrighty then.
How I can determinate in TDataLink that record is deleted from dataset?

A better adb logcat experience for Windows based Android developers

A better adb logcat experience for Windows based Android developers http://www.deltics.co.nz/blog/posts/2086
I'm curious if anyone out there is successfully using Hunspell spell checker with Delphi XE2 or above.   If so, what's your secret?

I kinda feel I should know this. How can I get the address of a virtual class method, given an instance? I want to pass it as a regular function pointer.

I kinda feel I should know this. How can I get the address of a virtual class method, given an instance? I want to pass it as a regular function pointer. Any relatively nice ways without using an asm block?

Having been away from Delphi during the "Generics revolution" and recently returning, I've been stumped by some of the seemingly weird limitations. Biggest one is functions/types used by a generic method having to be specified in the interface section of a unit.

Having been away from Delphi during the "Generics revolution" and recently returning, I've been stumped by some of the seemingly weird limitations. Biggest one is functions/types used by a generic method having to be specified in the interface section of a unit. Then today I stumbled across this erronous error, which I guess confirms what I thought for some time, that the above inconsistencies are due to generics being implemented using the same infrastructure as code inlining. Just coincidence or anyone know for sure one way or the other? type   TRec = record     procedure Proc ();   end; procedure TRec.Proc ; begin   asm end; // E2426 Inline function must not have asm block end; begin end.

What more to say except that Andreas Hausladen is on the job :-)

What more to say except that Andreas Hausladen is on the job :-) http://andy.jgknet.de/blog/2013/11/ide-fix-pack-5-4-for-2009-xe5-released/

Help needed with blob fields OldValue and NewValue -

Help needed with blob fields OldValue and NewValue - On Delphi XE I'm using OldValue and NewValue from TpFIBDataSet(but it can be applied to any TDataSet descendent) in order to verify if different fields have changed. My questions is how can I retrieve these 2 values for the blob fields as TMemoryStreams? I've made some research, but I found nothing. Any idea on this? http://stackoverflow.com/questions/19710472/delphi-how-to-get-datasets-oldvalue-and-newvalue-for-a-blob-field http://stackoverflow.com/questions/19710472/delphi-how-to-get-datasets-oldvalue-and-newvalue-for-a-blob-field