Posts

Showing posts from June, 2013
We're thinking of getting Documentation Insight Enterprise.   I'm evaluating it as we speak.  Does anyone know how to get the code in the DPR (project file) to show up in the document explorer and the generated html and chm files?  I'm trying to document some DLL's, and our exported functions are in the DPR file, and while you can document the dpr (using the inspector, which then shows up in the source),  the document explorer and the generated chm and html files don't show anything in the dpr file.

Can anyone think of a reason why someone would write:

Can anyone think of a reason why someone would write:    if (aRecordSet <> nil) and ((aRecordSet.State and cardinal(osStateOpen)) = Cardinal(osStateOpen)) then     begin       aRecordSet.Close;     end; instead of just:    if (aRecordSet <> nil) and aRecordSet.State = adStateOpen?     begin       aRecordSet.Close;     end;

Today's gem is brought to you by not understanding "not":

Today's gem is brought to you by not understanding "not": procedure TSystemSetups.edNoNumbers(Sender: TObject; var Key: Char); begin if (Key in ['A'..'Z','a'..'z']) then Key := #0; end;

A major update for the TMS Component Pack (http://www.tmssoftware.com/site/tmspack.asp ) is available now. In this major update v7.0, 4 new components are added, TAdvStringGrid v7.2 is added and several new features & improvements to existing components.

Image
A major update for the TMS Component Pack ( http://www.tmssoftware.com/site/tmspack.asp ) is available now. In this major update v7.0, 4 new components are added, TAdvStringGrid v7.2 is added and several new features & improvements to existing components. - New: TAdvListBox: Listbox with built-in search,filtering,inserting - New: TAdvMultiButtonEdit: Edit control with configurable number of buttons left or right from edit - New: TAdvLabelEdit: Label with built-in inplace editor with OK/Cancel attached buttons for confirmation - New: TAdvCheckTreeview: Treeview with built-in support for checkboxes per node - New: edControlDropDown inplace editor in TAdvStringGrid - New: RemoveAccented option in Filter & NarrowDown() operation in TAdvStringGrid - New: FindMulti/FindMultiNext functions added to search on multiple columns in TAdvStringGrid - New: Exposed CompactWindow at TAdvToolbar level - New: Support for multiline hints in TAdvMetroHint - New: ShowFieldName in DB-aware edit com

Found this little gem among the 500 stand alone functions in a unit called AMSMasterDataUnit.pas:

Found this little gem among the 500 stand alone functions in a unit called AMSMasterDataUnit.pas: function FindDatabaseAbuser: TStringList; How cool is that?

Having a look at DunitLite (https://code.google.com/p/dunitlite/) and came across a compiling error under Delphi XE which I don't quite understand. The following class doesn't seem to play nice:

Having a look at DunitLite ( https://code.google.com/p/dunitlite/ ) and came across a compiling error under Delphi XE which I don't quite understand. The following class doesn't seem to play nice:   TSpecification = class(TInsulatedTest)   strict protected type     Given = Specifiers.Given;     Should = Specifiers.Should;     Specify = Specifiers.Specify;   end; When TSpecification.Should or any others are used, the compiler reports: [DCC Fatal Error] ConstraintTests.pas(683): F2051 Unit ConstraintTests was compiled with a different version of Specifications.Should However, if the following is used   TSpecification = class(TInsulatedTest)   strict protected type     Given = class(Specifiers.Given);     Should = class(Specifiers.Should);     Specify = class(Specifiers.Specify);   end; It compiles fine. Dunitlite seems to be written for Delphi 2005+ (as it uses the for-in syntax) but breaks on Delphi 2010+. Does anyone know why the second class definition needs to be used, as I t

Uglypattern of the day:

Uglypattern of the day: MyObject := nil; try    MyObject := TSomething.Create();    ... finally    if assigned(MyObject) then       MyObject.Free; end; It's so close to being right. So close.

I've just been told that this game was written completely in Delphi. The iPhone and iPad versions with Lazarus/free pascal:

I've just been told that this game was written completely in Delphi.  The iPhone and iPad versions with Lazarus/free pascal: http://www.pennantfeverbaseball.com/ http://www.pennantfeverbaseball.com/
Does anyone know how to replace the serial number from Delphi XE4 professional to an enterprise serial number?  I inadvertently gave a co-worker the wrong serial number, and he should have gotten an enterprise serial.   I have the enterprise serial number available.

Multithreaded painting in Delphi? Yes it's possible!

Multithreaded painting in Delphi? Yes it's possible! I did some quick hacking to see if I could make painting in a subthread possible (TCanvas etc). I made a stress test with FastReport printing in a subthread and heavy TMS painting in the main thread. Initialy I got acces violations in GDI32.dll after 18 pages, but I have now over 400 without problems! (in FinePrint, to save the trees :) ). The main problem in Delphi VCL Graphics.pas is the usage of a global var for "StockPen", "StockBrush" and "StockFont". These global vars are used for each paint, at least when you change the Canvas.Pen etc (and you do, if you want to paint something :) ). After changing these globals var into a threadvar (which is slower!), the same for FontManager, PenManager and BrushManager you get multithreaded painting in Delphi! (tested with 2010). Next problem are memory leaks: stuff needs to be cleaned up after each thread termination... Note: I had to save Graphics.pas to

http://www.thedelphigeek.com/2013/06/webinarsreschedule-and-recording.html

http://www.thedelphigeek.com/2013/06/webinarsreschedule-and-recording.html

ECMap 3.0 is available

Image
ECMap 3.0 is available TECNativeMap allows you to manipulate your maps without WebBrowser without javascript. The code is 100% Delphi thus lighter and faster, you can incorporate thousands of markers, polylines or polygons without cumbersome components based on web apis. Of course if you need to use Google maps, Google Earth, Bing Maps, CloudMade or Leaflet, our TECMap component is always available. A mega demo is available on our website http://www.helpandweb.com/ecmap/en/

New in TMS iCL v1.2: TTMSFMXNativeUITabBarController, a native iOS TabBarController + TTMSFMXNativeUIImagePickerController, a native iOS ImagePickerController

Image
New in TMS iCL v1.2: TTMSFMXNativeUITabBarController, a native iOS TabBarController + TTMSFMXNativeUIImagePickerController, a native iOS ImagePickerController No compromises: 100% iOS performance, 100% iOS look & feel!  http://www.tmssoftware.com/site/tmsicl.asp

TMS Cloud Pack v2.1 available now with a new component, TAdvInstagram, to get access to the Instagram service + several new features & enhancements are added to existing components.

Image
TMS Cloud Pack v2.1 available now with a new component, TAdvInstagram, to get access to the Instagram service + several new features & enhancements are added to existing components. Details of all new capabilities & improvements can be found here: http://www.tmssoftware.com/site/cloudpack.asp?s=history You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/cloudpack.asp

Do they actually review their source code at Embarcadero or why does almost every fix introduce a new bug?

Do they actually review their source code at Embarcadero or why does almost every fix introduce a new bug? http://qc.embarcadero.com/wc/qcmain.aspx?d=111048 http://qc.embarcadero.com/wc/qcmain.aspx?d=116833

I have just addressed a performance issue in XE4 (without update1). My parser benchmark program took 600ms when enabled Compile->Debug Information option in XE4. It only took 60ms in XE-XE3 with same project configuration. When I disabled the option in XE4, it is ok. (Optimization option doesn't have an impact in this case)

I have just addressed a performance issue in XE4 (without update1). My parser benchmark program took 600ms when enabled Compile->Debug Information option in XE4. It only took 60ms in XE-XE3 with same project configuration. When I disabled the option in XE4,  it is ok. (Optimization option doesn't have an impact in this case) Did you meet this situation?

So what's your thoughts on this? I like the 3.14 multiplier, but often use the IBM calculation - upgrade the estimate to the next unit and multiply the value by two [used for developers that we know have bad estimations]. eg: 1 hour estimate becomes 2 days. :)

So what's your thoughts on this? I like the 3.14 multiplier, but often use the IBM calculation - upgrade the estimate to the next unit and multiply the value by two [used for developers that we know have bad estimations]. eg: 1 hour estimate becomes 2 days. :) http://coding.abel.nu/2012/06/programmer-time-translation-table/

A gentle request to users of our products....

A gentle request to users of our products.... It is a problem that every time we make a release of kbmMemTable, then  between 1 and 3 weeks after, it has been leaked on Chinese websites,  shortly after followed by others. Since its happening constantly and every time we make a release, its  obvious that its not by accident, but rather that its being deliberately  done by a registered user. It is utterly and completely unacceptable that this is continuing to go  on, and it makes me question what actions should be taken. Due to the leak issues previously we moved all our software downloads to  the portal, trusting that paying users probably would be less inclined  to leak the software, than non paying hackers. The move to the portal has obviously made life a little bit more  complicated for people purchasing, since they have to go through the  request license procedure. Unless legitimate users stop leaking our software, then a next step will  most likely make it even more cumbersome to

Hi all

Hi all I'm new to Delphi - 2 weeks ago started with DelphiXE4 & want to learn Delphi language..how do I add FMX.Edit; to a project? (What is FMX.Edit; ? it appears necessary for some drag&drop code I am trying to setup)? Steep learning curve ahead.... :-)

Hi Folks

Hi Folks, have you ever tried to "invert" the language of an application? The situation is as follows: We have an application whose UI is originally in German, since most of our customers are German. Modules that are shared with other applications have an English UI. All other applications UIs are originally in English. We are using gnu gettext to translate our UIs into the target language, so for this particular application we have hodgepodge->English, hodgepodge->German, hodgepodge->other language .po files. My goal is now to convert the original GUI of the application to English, so we can get rid of the hodgepodge->something translations and make life easier for future translators. My current idea is to do it in Delphi. I want to use xgettext to load the hodgepodge->English .po file, loop over all dfm and pas files and apply the "reverse" translation to them, so all original strings are English afterwards. Sounds easy enough, since xgettext alread

A handy reference site for all things Delphi maintained by Lachlan Gemmell

A handy reference site for all things Delphi maintained by Lachlan Gemmell  Originally shared by The TIndex With hundreds of new links and a site redesign to separate topics into individual pages I’m pleased to announce The TIndex v1.5 is now live. Stay tuned, I’ve still got plenty more I plan to do with the site. http://www.tindex.net

Yet another text editor made by Delphi "AcroEdit" http://www.acrosoft.pe.kr/board/ae_download

Yet another text editor made by Delphi "AcroEdit" http://www.acrosoft.pe.kr/board/ae_download http://www.acrosoft.pe.kr/board/ae_download

Does this make sense?

Does this make sense? delete a from CLIENT_HISTORY.DBO.BLOB_PROVIDER_ADDRESS_OUTPUT_HISTORY a inner join CLIENT_HISTORY.DBO.BLOB_PROVIDER_XREF_PREP x on x.INDY_ID = a.INDY_ID and a.AMS_BATCH = 283 and a.SRC_CD = 1059 where x.AMS_BATCH = 283 and x.INDY_ID_END_DATE is not null Delete on an inner join?  What the heck does that even mean?

Hola, soy de URUGUAY quiero saber si alguien puede ayudarme en aplicar la transformada de Hough para la detección de círculos en una imagen , lo quiero aplicar en delphi7 , desde ya muchas gracias. espero alguna respuesta.saludos.

Hola, soy de URUGUAY quiero saber si alguien puede ayudarme en aplicar la transformada de Hough para la detección de círculos en una imagen , lo quiero aplicar en delphi7 , desde ya muchas gracias. espero alguna respuesta.saludos. Hi, I'm from URUGUAY want to know if anyone can help in applying the Hough transform to detect circles in an image, I want to apply in Delphi7, of course thank you very much. I hope some response, greetings.

Great stuff.

Great stuff. http://www.loosecouplings.com/2011/01/dependency-injection-using-di-container.html

I'm experiencing a weird issue with "zombie processes", and I'm curious if anyone has experienced anything similar.

I'm experiencing a weird issue with "zombie processes", and I'm curious if anyone has experienced anything similar. We're using Task Scheduler to start our program every 3 minutes. The program imports some data to our database and outputs some files. It's part of an integration solution. The program runs from local disk on a MS Server 2008 in a "cloud VM". Now, the problem is that sometimes the process simply hangs after the call to "end." (the final end that is). Task Scheduler somehow doesn't understand what's going on and does not terminate the process. To avoid this issue I wrote a "watchdog" program. The main program aquires a named mutex before shutting down, and never releases it. When aquiring the mutex, it writes it's PID to a named memory-mapped file. After aquiring the mutex it writes to a log file and then it calls "end.". The whatchdog tries to aquire this mutex for a minute, and if it fails to d
Could someone point me in the direction of some good  resources on Delphi component development (VCL or FMX)? I've been trying to get into component development for years now, but I usually end up giving up after a couple of days. I've picked up some tricks from studying existing components, but I'm looking for actual guides/tutorials to get a better understanding of the actual process and it's complexities. The docwiki does have some interesting information on the concept, but it seems to be limited. I don't mind buying a (e-)book if that's necessary.

A small tip about Character Encoding:

Image
A small tip about Character Encoding: If you directly write any Non-standard ASCII characters (>#127) in source code, please save the file as Unicode such as UTF8/UTF16. Otherwise, the source file may not be compiled.  The following function was copied from SynEdit project (SynEditSearch.pas), it works well in CP-1250, but you might be surprised what it looks like in other code pages (like CP-936, Simplified Chinese).  You see, there is not even ending single quote char. Do you know why? Take the character "°" for instance, it was saved as a singel byte #176 in the source file. This byte is regarded as a leading byte in DBCS code pages (as it is greater than 127) and the subsequent single quote byte will be taken as trailing byte so that the two bytes will be interpreted as a character. As this combination is invalid in current code page, it was translated with a question mark "?". So ... compiler failed. In addition, this kind of function is also not friendly(co

JavaZone 2013: Javapocalypse

http://www.youtube.com/watch?v=E3418SeWZfQ&feature=youtu.be

http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/

http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/ Interesting info of new memory manager on the works... http://wiert.me/2013/06/19/vintage-dave-is-working-on-a-new-multithreaded-memory-manager-for-delphi-that-does-not-have-a-global-lock/
So I know that the FastCode project pretty much stopped with the introduction to Delphi of Unicode, but is anyone using any string libraries with XE? Or is it all just so superb that no add-ons are needed?

Not tremendous useful today as when developed (Delphi 2010 time frame) but, if someone is still using my DataSnapFiltersCompendium, now can find the XE4 version on google code.

Not tremendous useful today as when developed (Delphi 2010 time frame) but, if someone is still using my DataSnapFiltersCompendium, now can find the XE4 version on google code. http://www.danieleteti.it/2013/06/18/datasnap-filters-compendium-updated-to-xe4/

Maybe someone here can help with this. Thanks in advance.

Maybe someone here can help with this. Thanks in advance. http://stackoverflow.com/questions/17176428/dll-call-works-in-delphi-2010-but-av-in-delphi-xe2

Couldn't buy Delphi in China as an individual, help!

Couldn't buy Delphi in China as an individual, help! In Short: The Chinese sales office told me they only sell to companies but not individuals. Full story: http://www.quora.com/Copyright-Law/Im-a-Chinese-is-it-legal-to-buy-Delphi-software-using-a-Canada-address
I'm still hoping to release one or more of my components as open source this year. In looking at my third party components (some open source, some proprietary), some are compiled with debug options ON, while others are compiled as release versions. As component users, which do you prefer?

I am trying to read a Unicode string from memory but I am not getting it right. The string I am attempting to read is "EMyExceptÙion" but what I am getting back is "EMyExceptATion" (the Ù turned in to AT). My code is as follows:

I am trying to read a Unicode string from memory but I am not getting it right. The string I am attempting to read is "EMyExceptÙion" but what I am getting back is "EMyExceptATion" (the Ù turned in to AT). My code is as follows: SetString(LNameStr, PAnsiChar(PByte(LName) + 1), Byte(LName^)); Where LName is of type PAnsiChar to the text, with the first byte being the length of the string (similar to a short string?) I have tried a few things but I haven't got my head around text conversion :(

Confirm using const Epsilon slowdown fmx apps (and maybe not only fmx).

Confirm using const Epsilon slowdown fmx apps (and maybe not only fmx). So: xe4, x32, when using constant Epsilon from System.Types module it takes too much time, and looks like that delphi act it as not Single, but extended or double and makes some conversions. If replace it with just 1E-40 as declared, it goes very much faster! Set {$EXCESSPRECISION OFF or ON} or Debug-Release configs  - don't care on result. And if  take into account that fmx use this constant about 40 times only in FMX.Type module we can see very slowdowning all apps done with fmx!
Does anyone know of any limitations to the number of attributes that a class and/or method and/or property can have?

String unification - DelphiTools.info

http://delphitools.info/2013/06/17/string-unification/
any ideas to interfacing delphi with arduino for sensing temperature? need help..

I uploaded my new WeakObjectReferences unit for Delphi 2009-XE4 that doesn't need a HashTable+ArrayList+global lock. It requires 36 bytes per object if WeakReferences exist no matter how many WeakReferences to the one object exist.

I uploaded my new WeakObjectReferences unit for Delphi 2009-XE4 that doesn't need a HashTable+ArrayList+global lock. It requires 36 bytes per object if WeakReferences exist no matter how many WeakReferences to the one object exist. Have a look and tell me what you think. https://github.com/ahausladen/WeakObjectReferences

Small survey for component developers:

Small survey for component developers: How do you sell/distribute your components - as opensource, as .dcu or  as .bpl ? And similiar question for components/libraries users -  which type of components do you use  - distributed as opensource, .dcu, or .bpl? Do you have problems with closed source components (ie upgrading to newest IDE versions) ?

Anybody seen this yet?

Anybody seen this yet? http://blogs.embarcadero.com/abauer/2013/06/14/38948

Any ideas how to get active platform with Delphi OpenTools API?

Any ideas how to get active platform with Delphi OpenTools API? It seams like IOTABuildConfiguration doesnt contain needed properties. Example dump of build configuration below: [OwlyCI] Configuration: Debug [OwlyCI] Properties: [OwlyCI] Config name: Debug [OwlyCI] Config name: Debug [OwlyCI] * DCC_Optimize = false [OwlyCI] * DCC_GenerateStackFrames = true [OwlyCI] * DCC_Define = DEBUG [OwlyCI] Config name: Base [OwlyCI] * VerInfo_IncludeVerInfo = true [OwlyCI] * VerInfo_Keys = CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments= [OwlyCI] * GenDll = true [OwlyCI] * DCC_CBuilderOutput = All [OwlyCI] * jojona = YES [OwlyCI] * DCC_ImageBase = 00400000 [OwlyCI] * DCC_Namespace = Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace) [OwlyCI] * VerInfo_Locale = 1049 [OwlyCI] * GenPackage = true [OwlyCI] * OwlyCiDep = FastCode [OwlyCI]

Anybody here using Primož Gabrijelčič GpProfile? I can't get it to work, after instrumenting and runnig the project it says:

Anybody here using Primož Gabrijelčič  GpProfile? I can't get it to work, after instrumenting and runnig the project it says: Cannot find initialization file C:\MyProjects\MyProject.GPI! Profiling will be disabled. The file exist in the project path.

Is there any way to intercept every SQL that passes through a connection and change it?

Is there any way to intercept every SQL that passes through a connection and change it? For example: I have a TQuery with "Select First 1 * From TABLE"; I want to intercept it and edit the SQL to "Select * From TABLE Where ROWNUM <= 1"

2012 - 2014 android above 75% , IOS less then 17.3% and delphi still stuck on IOS , NO andoid no good / rad development to build rad web app datasnap is good but why to use datasnap when php done more then this.

2012 - 2014 android above 75% , IOS less then 17.3% and delphi still stuck on IOS , NO andoid no good / rad development to build rad web app datasnap is good but why to use datasnap when php done more then this. What delphi doing .... Zzzzz...

How about integrating Update 1 into the downloadable XE4 installer?

How about integrating Update 1 into the downloadable XE4 installer? That could save at least one hour of time... I'm sitting here grinding my teeth over this :(
How about integrating Update 1 into the downloadable XE4 installer? That could save at least one hour of time... I'm sitting here grinding my teeth over this :(

We are searching for a flexible DBGrid component. It should be able to group data and still be rather fast. E.g. we want to display products with variations or product-sets. The 'father-product' should be displayed in the grid. When it is expanded, the variations should be listed below.

We are searching for a flexible DBGrid component. It should be able to group data and still be rather fast. E.g. we want to display products with variations or product-sets. The 'father-product' should be displayed in the grid. When it is expanded, the variations should be listed below. Does anyone know a component that can be used for this case? PS.: A nice additional feature would be an automated refresh of the data inside the grid.
Hi I have just downloaded and (tried) to install OTL 3.02. My problem is that I already have GpSysHook installed which also includes DSiWin32. Therefore I can't install the OTL Designtime package - any ideas what I can do about this ?
Title

Looks like TIOBE isn't alone in differentiating Delphi and Pascal, other popularity indexes have the same issue:

Looks like TIOBE isn't alone in differentiating Delphi and Pascal, other popularity indexes have the same issue: - http://www.langpop.com/ -  http://lang-index.sourceforge.net/ Other indexes don't show the "runners up", so they may differentiate as well. For both indexes above, merging back Delphi & Pascal brings it back in the top 10.

TMS iCL v1.1 available now with several new features!

Image
TMS iCL v1.1 available now with several new features! Set of native iOS components for FireMonkey applications for iPhone, iPad, iPod.  No compromises: 100% iOS performance, 100% iOS look & feel! What's new in v1.1: - New: Annotations (text/images) in TTMSFMXNativeMKMapview - New: Text editing events in TTMSFMXNativeUITextField & TTMSFMXNativeUITextView - New: Refresh Control support in TTMSFMXNativeUITableView - New: AutoResign property in TTMSFMXNativeUITextField and TTMSFMXNativeUITextView You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/tmsicl.asp

Does anyone know what the IDE does upon start up? At home in a VM virtual machine, XE3 and XE4 starts fairly quickly. It just happened that over the weekend, I was hospitalised and at the end of my stay, I had my laptop in there (to keep me occupied) and found that XE3 took ages before showing the splash screen and XE4 splash screen hanged for a little while before continuing.

Does anyone know what the IDE does upon start up? At home in a VM virtual machine, XE3 and XE4 starts fairly quickly. It just happened that over the weekend, I was hospitalised and at the end of my stay, I had my laptop in there (to keep me occupied) and found that XE3 took ages before showing the splash screen and XE4 splash screen hanged for a little while before continuing. I am guessing that both were trying to phone home (to Embarcadero) - Does anyone know if this true or not? I also found that if the IDE was open and I double-clicked on a project file in Windows Explorer, the IDE would hang for a little while - attempting to call home again? If the IDE is calling home, why does Embarcadero (and every other company that does this type of thing) assume that everyone has internet connection? and couldn't this be done in a background?

Anybody know how can I speed up searching int64 array?

Anybody know how can I speed up searching int64 array? procedure TInt64PointerArray.GetValue(const Key: Int64; out Value: pointer); var   i: integer;   j: integer; begin   i := -1;   for j := 0 to count - 1 do     if key = Items[j] then begin       i := j;  value := FPointers[i];       Exit;     end;     end;

Pascal not losing it to Lisp after all...

Pascal not losing it to Lisp after all... http://delphitools.info/2013/06/12/fixed-tiobe-index/

Blog post "Delphi XE4 Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_udpate1.html

Blog post "Delphi XE4 Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_udpate1.html http://blog.marcocantu.com/blog/delphi_xe4_udpate1.html

XE4 Update 1 is available: http://cc.embarcadero.com/item/29446

XE4 Update 1 is available:  http://cc.embarcadero.com/item/29446 http://cc.embarcadero.com/item/29446

Friends help us

Friends help us http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html

I wonder - can I run Windows 8 and XE4 on it?

Image
I wonder - can I run Windows 8 and XE4 on it? Originally shared by Lars Fosdal The model that got overlooked It will quench your thirst for performance! #tongueincheek   #macpro2013

IDE Fix Pack 5.31 update for RAD Studio XE3 released. It fixes a Win64 compiler crash that was caused by an IDE Fix Pack patch.

IDE Fix Pack 5.31 update for RAD Studio XE3 released. It fixes a Win64 compiler crash that was caused by an IDE Fix Pack patch. http://andy.jgknet.de/blog/2013/06/ide-fix-pack-5-31-for-xe3-update/
Delphi XE. Create a new form, File Save As...  I get External exception C000001D. This, of course, in the wake of this morning's madness. What a day....

This morning, RAD Studio XE, on opening, gives me an AV, which appears to be related to CommCtrls.UxTheme in some way. The AV is persistent, it repeats endlessly, and always reports the same address, even after a system reboot. If anyone has any suggestions to offer, I would appreciate it. As it stands, it is opening a project by default, and I'm still looking for files to delete to clear that.

This morning, RAD Studio XE, on opening, gives me an AV, which appears to be related to CommCtrls.UxTheme in some way. The AV is persistent, it repeats endlessly, and always reports the same address, even after a system reboot. If anyone has any suggestions to offer, I would appreciate it. As it stands, it is opening a project by default, and I'm still looking for files to delete to clear that. How can I (from outside the IDE) clear the default project?

Blog post "Delphi XE4 June Special Offers" at http://blog.marcocantu.com/blog/delphi_xe4_june_special_offers.html(http://www.embarcadero.com/radoffer)

Blog post "Delphi XE4 June Special Offers" at http://blog.marcocantu.com/blog/delphi_xe4_june_special_offers.html(http://www.embarcadero.com/radoffer) http://blog.marcocantu.com/blog/delphi_xe4_june_special_offers.html

I will never use Delphi for iOS development

I will never use Delphi for iOS development http://mihaelamj.com/delphi/i-will-never-use-delphi-for-ios-development/
Announcement of first three webinars.

Does anyone have DSPack for 64-bit?

Does anyone have DSPack for 64-bit? It seems like lot of packages broken on moving to 64 bit
In case it helps anyone

A redesigned iOS 7 is coming out this fall. What happens to FMX/iOS apps "look and feel"? Can EMBT keep things "pixel perfect"?

A redesigned iOS 7 is coming out this fall.  What happens to FMX/iOS apps "look and feel"?  Can EMBT keep things "pixel perfect"? I bet the Oxygene guys won't be sweating it. ;)

The new release 10.2 of the SDL Component Suite is now available. This component suite targets developers of scientific and engineering applications and is available for Delphi XE4 and almost all previous releases back to Delphi 6.

The new release 10.2 of the SDL Component Suite is now available. This component suite targets developers of scientific and engineering applications and is available for Delphi XE4 and almost all previous releases back to Delphi 6. http://www.lohninger.com/sdlindex.html

1800+ members

1800+ members

Has anybody done any work in XE4 (mobile) with Google or Apple maps running on iOS?

Has anybody done any work in XE4 (mobile) with Google or Apple maps running on iOS? I'm wondering if it's possible to create map pins and attach events to them e.g. click a pin and trigger an event in Delphi.

Blog post "Delphi XE4 Help Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_help_update1.html

Blog post "Delphi XE4 Help Update 1" at http://blog.marcocantu.com/blog/delphi_xe4_help_update1.html http://blog.marcocantu.com/blog/delphi_xe4_help_update1.html

Does anyone have a sample application of Delphi working with Google+ and Oauth..?

Does anyone have a sample application of Delphi working with Google+ and Oauth..? A link or three would be appreciated :-) Re-post (deleted the other one) so I was in the right category

IDE Fix Pack 5.3 with support for RAD Studio 2009-XE4 is released.

IDE Fix Pack 5.3 with support for RAD Studio 2009-XE4 is released. http://andy.jgknet.de/blog/2013/06/ide-fix-pack-5-3-for-2009-xe4-released/

TMS iCL: an introduction

TMS iCL: an introduction See our new blog about what TMS iCL is, what it isn't and why it can matter for your Delphi applications for iOS: http://www.tmssoftware.com/site/blog.asp?post=266 http://www.tmssoftware.com/site/blog.asp?post=266

New blog post on Embarcadero's announcement to Prism customers.

New blog post on Embarcadero's announcement to Prism customers. http://blogs.remobjects.com/blogs/mh/2013/06/07/p6003

Anyone here that have worked with Intel's MCA SDK?

Anyone here that have worked with Intel's MCA SDK? Looking for sample code for grabbing input from the barcode scanner on a Motion F5 tablet. http://www.motioncomputing.com/products/tablet_pc_f5.asp http://software.intel.com/en-us/forums/mobile-clinical-assistant-mca-sdk http://software.intel.com/en-us/forums/mobile-clinical-assistant-mca-sdk

Wondering about a new project, I find an interesting issue, is it possible to create a dynamic linking library datamodule as you can do with forms?

Wondering about a new project, I find an interesting issue, is it possible to create a dynamic linking library datamodule as you can do with forms? The infinite knowledge base from Stackoverflow has an entry about this, but the question is vague as the answers. Anyone has a better approach? http://stackoverflow.com/questions/1139102/data-module-in-dll-with-delphi

This does actually work, it's just woeful:

This does actually work, it's just woeful:     except       on E: Exception do       begin         if E.ClassType = EOSError then         begin           // Ignore         end         else         begin           raise;         end;       end;     end; Other people might be tempted to write:   except     on EOSError do ;   end; The whole "every block must have a begin-end pair" rule leads to a certain amount of silliness that makes this sort of code look worse. I'm also not convinced that silently failing is a good idea in this case, but that's another whinge...

RAD Studio IDE plugin DDevExtensions 2.7 released with support for XE4.

RAD Studio IDE plugin DDevExtensions 2.7 released with support for XE4. http://andy.jgknet.de/blog/2013/06/ddevextensions-2-7-for-2009-xe4-released/
hello.. i have a problem about button for checkiing to field in database acces.. what there can help me ?
Hello Delphiner :)

TMonitor vs TRTLCriticalSection - DelphiTools.info

http://delphitools.info/2013/06/06/tmonitor-vs-trtlcriticalsection/

Arguments for using Unicode

Image
Arguments for using Unicode Because...
When working with a REST invocation of a DataSnap server, you are supposed to be able to pass in the parameter ?json=false and the result will just be a string. Has anyone been able to get this to work? I always get a JSON returned but what I need is the exact string I create returned, nothing more/nothing less.

My simple dependency injection container for delphi, works on win32, win64 and... MacOSX (DelphiXE4)

My simple dependency injection container for delphi, works on win32, win64 and... MacOSX (DelphiXE4) Next week I'm planning some work to make it works also on iOS. https://code.google.com/p/delphidicontainer/

Product samples live in Subversion (and have done for a few versions) and don't remain stagnant.

Product samples live in Subversion (and have done for a few versions) and don't remain stagnant. Just FYI FWIW JIC BTW.....

Hello. I do have the task to calculate graph layouts. Now I did check, what this is all about and... seems, this is not really trivial. There are only some few libraries available which implement graph layout algorithms, one of them is inlcuded here: http://www.eclipse.org/gef/zest/ (scroll down to bottom of page)

Hello. I do have the task to calculate graph layouts. Now I did check, what this is all about and... seems, this is not really trivial. There are only some few libraries available which implement graph layout algorithms, one of them is inlcuded here: http://www.eclipse.org/gef/zest/ (scroll down to bottom of page) Anyone here who already has ported that package to Delphi or did implement something similar? Are there any (not too expensive) graph layout algorithm libraries available for Delphi? Thanks in advance :) http://www.eclipse.org/gef/zest/

It's like that, ain't it :)

Image
It's like that, ain't it :) ...even offer topic: function Yoda:Boolean; begin   Result := False;   try     for iterations in EndlessList      do Result := Result or not Unchanged;   except     release;   end; end; Originally shared by Isaac Neequaye How to code...

My favorite kind of bug report. Obvious solution!

Image
My favorite kind of bug report. Obvious solution!

Who would expect this to leak memory?

Who would expect this to leak memory? program Project1; {$APPTYPE CONSOLE} uses   SysUtils; type   IFoo = interface     procedure Bar;   end;   TFoo = class(TInterfacedObject, IFoo)   private     fProc: TProc;   public     constructor Create(const proc: TProc);     procedure Bar;   end; constructor TFoo.Create(const proc: TProc); begin   inherited Create;   fProc := proc; end; procedure TFoo.Bar; begin end; procedure CheckException(const proc: TProc); begin   try     proc();   except     //...   end; end; procedure Main; var   foo: IFoo; begin   foo := TFoo.Create(procedure begin end);   CheckException(procedure begin foo.Bar end); end; begin   ReportMemoryLeaksOnShutdown := True;   try     Main;   except     on E: Exception do       Writeln(E.ClassName, ': ', E.Message);   end; end.

Hoping someone can point me in the right direction on this.

Hoping someone can point me in the right direction on this. I'm busy evaluating Delphi XE4 (trail) and am trying to build an IOS application. My issue is that the FMX does not allow you to change background colours of things like Panels and buttons etc. I have done some searching and they all point to right clicking on the object and editing the styles, however in the version I have (trail) those menu items are not there. Is there any other way of doing this? Or if someone could point me to a site or something that would help me understand this.
Hoping someone can point me in the right direction on this. I'm busy evaluating Delphi XE4 (trail) and am trying to build an IOS application. My issue is that the FMX does not allow you to change background colours of things like Panels and buttons etc. I have done some searching and they all point to right clicking on the object and editing the styles, however in the version I have (trail) those menu items are not there. Is there any other way of doing this? Or if someone could point me to a site or something that would help me understand this.
What is the justification of use .inc files to declare and implement code is some RTL units?  Starting with #Delphi #XE2 many of the new RTL units related to Vcl styles, OSX and so on, uses inc files to declare types, classes and implement code (just like the FPC does), what is the justification to do that? you can see what i mean if you inspect one of these folders (source\rtl\posix, source\rtl\posix\osx, source\rtl\sys )

Having fun patching the VCL - http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360

Having fun patching the VCL - http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360 http://stackoverflow.com/questions/16876977/tactionmainmenubar-vcl-styles-and-mdi-buttonsminimize-close-etc-not-being-st/16908360#16908360

I'm looking at the hints from JediCodeFormatter and Pascal Analyzer and when I see one in Primož Gabrijelčič code I go "he knows what he's doing" but when it's in my code I go "must fix!". That's probably the voice of experience speaking...

I'm looking at the hints from JediCodeFormatter and Pascal Analyzer and when I see one in Primož Gabrijelčič code I go "he knows what he's doing" but when it's in my code I go "must fix!". That's probably the voice of experience speaking... JCF complains about the deprecated REAL type in gpTimeZone, but I suspect that could be because our version is very out of date since it is dated 2000 and comes via ESB.

for-in done the slow way:

for-in done the slow way: for Item in MyDictionary.Keys.ToArray do ...

JCL and JVCL are now both available at GitHub. Only the git master branch supports XE4.

JCL and JVCL are now both available at GitHub. Only the git master branch supports XE4. https://github.com/project-jedi/jvcl

We have a RemObjects SDK based server and we would like to write a web based client that can interface with it. It will need to display quite a lot of records in grids.

We have a RemObjects SDK based server and we would like to write a web based client that can interface with it. It will need to display quite a lot of records in grids. Does anybody have any recommendations or suggestions on a nice way to do this. We have used ASP.NET before, but it was not the greatest experience ever.

JCL and JVCL have completed the move to GitHub - DelphiFeeds.com

http://www.delphifeeds.com/go/f/104695

I do use that object...

I do use that object... procedure TClassInstanceDictionary.SendNotifyTelegram(const id: Integer; const tlg: TPSDTelegramBase); var   Obj : TBaseClass; begin   Obj := Items[Id] as TBaseClass; // <-- Hint   Obj.SendNotifyTelegram(tlg); end; [dcc32 Hint] SomeUnit.pas(xxx): H2077 Value assigned to 'Obj' never used

DWScript news roundup for June 2013 - DelphiTools.info

http://delphitools.info/2013/06/03/dwscript-news-roundup-for-june-2013/
How to auto focusing textField when application starts?

http://francois-piette.blogspot.be/2013/06/installing-ics-for-firemonkey-in-delphi.html

http://francois-piette.blogspot.be/2013/06/installing-ics-for-firemonkey-in-delphi.html
Runtime packages: at what exe size would you start to think about it? A

Nick Hodges started a thread here https://forums.embarcadero.com/thread.jspa?threadID=88003. Regarding the promotion of Delphi, one of his statements says:

Nick Hodges started a thread here https://forums.embarcadero.com/thread.jspa?threadID=88003 . Regarding the promotion of Delphi, one of his statements says:  "Giving it away (or selling it for really low prices) in schools. Schools react, they don't lead. It's a huge effort with little return.". I'm not so sure about this. I know I started using Pascal/Delphi in University. My question is, what got you started with Delphi? https://forums.embarcadero.com/thread.jspa?threadID=88003