Posts

Showing posts from May, 2013

JEDI For Delphi XE4

JEDI For Delphi XE4 Pending the final JVCL + JCL for Delphi XE4 I made you a compressed file for them. It works very well http://www.kernelofwar.fr/Fichiers/JVCL_XE4.zip Of course it is also compatible with other DELPHI. http://www.kernelofwar.fr/Fichiers/

TMS iCL v1.0 available now, 100% native iOS components for FireMonkey applications for iPhone, iPad, iPod.

Image
TMS iCL v1.0 available now, 100% native iOS components for FireMonkey applications for iPhone, iPad, iPod. No compromises: 100% iOS performance, 100% iOS look & feel!  http://www.tmssoftware.com/site/tmsicl.asp

I am developing an app that does some serial communication through an USB port with an FTDI chip.

I am developing an app that does some serial communication through an USB port with an FTDI chip. I am researching if it is possible to port this to FMX and make an OSX version. However, I cannot find any info about the ability to use USB / serial communication with OSX. I use the comport library from  http://comport.sf.net/ . Does anybody know if this will work with OSX?
I've been doing a spot of work with the new Delphi for iOS and written up a bunch of stuff I've found and bumped into and sorted out and worked out.

Marco and JT wrote a nice article for Dr. Dobbs. Good to see Delphi there.

Marco and JT wrote a nice article for Dr. Dobbs.  Good to see Delphi there. http://www.drdobbs.com/mobile/reference-counting-and-object-harvesting/240155664?pgno=1
Guys, where can I found a good component for bittorrent protocol? (better if it is open source)

Blog post "Couple of Tips for Delphi XE4 FireMonkey Styles" at http://blog.marcocantu.com/blog/couple_tips_xe4_fmx_styles.html

Blog post "Couple of Tips for Delphi XE4 FireMonkey Styles" at http://blog.marcocantu.com/blog/couple_tips_xe4_fmx_styles.html

Cercasi sviluppatore Delphi - Delphi Developer Wanted

Cercasi sviluppatore Delphi - Delphi Developer Wanted Cerchiamo uno sviluppatore Delphi con buona conoscenza dello strumento e avanzate competenze di programmazione. Si richiede capacità progettuale ed organizzativa. La figura che ricerchiamo deve essere in possesso di laurea ed età inferiore a 35 anni. Sede di lavoro: Ferrara (Italia). Si richiede conoscenza dell'italiano. Contattatemi se interessati, grazie We are looking for a Delphi developer with good knowledge of the instrument and advanced programming skills. Planning and organizational capacity required. The person we are seeking must be in possession of a university degree and aged less than 35. Place of work: Ferrara (Italy). Knowledge of Italian is also required. Contact me if interested, thanks.

Performance issue in NextGen ARC model - DelphiTools.info

http://delphitools.info/2013/05/30/performance-issue-in-nextgen-arc-model/

Learning more from your debug output

Learning more from your debug output In the context Nick Hodges's post on memory usage, here are some tweaks for OutputDebugString which I've been using for a few years to help debug trace live services running in production environment.  The memory consumption code looks like the spitting image of the stackoverflow post, so I probably gleaned it from there, or possibly from  http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/monitormemorymanager_xml.html . or the MemoryManager usage tracker sample: http://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RadStudio_XE4/Delphi/RTL/Usage%20Tracker/MemoryManagerUsageTracker.pas If you peruse the documentation - http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/monitormemorymanager_xml.html and http://docwiki.embarcadero.com/RADStudio/XE4/en/Monitoring_Memory_Usage also give hints about GetMemoryMap which supposedly helps you track memor

HI Group

HI Group, I am developing a web application with D7 and Intraweb 11. All things are working fine but when session is timed out,application shows atozed softwares default time out page. i want to redirect user to login page on session time out. any idea about this..?
Evening! I am looking for a good fingerprint verification SDK, I did some tests with Nffv, however it requires me to provide both the username and the fingerprint. I need a SDK where I just pass the fingerprint and it returns the user.

I am just starting out on my first FireMonkey app and was looking for a way to make a memo control have a transparent background. Any ideas? I need to place it over an image and I want to see the image below the text. It will only cover a small part of the image.

I am just starting out on my first FireMonkey app and was looking for a way to make a memo control have a transparent background. Any ideas? I need to place it over an image and I want to see the image below the text. It will only cover a small part of the image. Thanks, Jim

This, folks, is how you find out how much memory your application is using.

This, folks, is how you find out how much memory your application is using. http://stackoverflow.com/q/437683/2044?sgp=2

Am I going nuts?

Am I going nuts?   Question:   Will the following leak memory? var     IntArray: array of integer; ...      SetLength(IntArray, 10);      SetLength(IntArray, 20); Or will the second call merely augment the first?

New blog post http://theroadtodelphi.wordpress.com/2013/05/29/enabling-xpath-selectnode-selectnodes-methods-in-vcl-and-firemonkey-apps/

New blog post http://theroadtodelphi.wordpress.com/2013/05/29/enabling-xpath-selectnode-selectnodes-methods-in-vcl-and-firemonkey-apps/ http://theroadtodelphi.wordpress.com/2013/05/29/enabling-xpath-selectnode-selectnodes-methods-in-vcl-and-firemonkey-apps/

TMS Cloud Pack v2.0 available now with several new components:

Image
TMS Cloud Pack v2.0 available now with several new components: - New: iCloud Contacts & iCloud Calendar access components - New: WebDavSync component for easy synchronization with WebDav/CalDav/CardDav servers - New: WebDavStorage/WebDavDataSet components for seamless connection of WebDav/CalDav/CardDav data to DB-aware components - New : Import/export/synchronisation components for CalDav & CardDav servers, like OwnCloud You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/cloudpack.asp
Last year I ran across a very dated looking but free app that had thousands of Delphi code snippets. It was very blue themed too, if that helps.  It wasn't DephiDabbler.  Does anyone know what I'm talking about and where to find it again?

var

var     dValue: double;     iErr: integer; begin     if (dValue and $4)=$4 then   --> get a error "Operator not applicable to this operand type" when i Compile it ??????????         Home := True     else         Home := False; end;

Hello

Hello, I have recently thought about the future of Delphi and my personal choice for playing around at home. I would like to compare C# with Delphi. What do you think, are the advantages of Delphi? Honestly, the only advantage that comes into my mind is the fact that C# needs the .Net framework. But this one comes along with every Windows 7 PC, so it's not as bad as it was back in the XP times. What do you think?

New in TMS Data Modeler v2.2: Diagram navigator allows overview of entire diagram and easy navigation/zooming using navigation cursor.

Image
New in TMS Data Modeler v2.2: Diagram navigator allows overview of entire diagram and easy navigation/zooming using navigation cursor. For more information and a free trial download of TMS Data Modeler, visit: http://www.tmssoftware.com/site/tmsdm.asp
I'm not anal retentive but... it bugs me when people call an enumerated type "TSomeRec" or a record "TSomeSet".

A major update of TMS Flexcel Studio has been released with XE4 and iOS support, a trial version can be downloaded at: http://www.tmssoftware.com/site/flexcel.asp

A major update of TMS Flexcel Studio has been released with XE4 and iOS support, a trial version can be downloaded at: http://www.tmssoftware.com/site/flexcel.asp http://www.tmssoftware.com/site/flexcel.asp

Need help - how do I create a set of white push-buttons?

Need help - how do I create a set of white push-buttons? http://stackoverflow.com/questions/16773270/how-to-simulate-word-2010-style-options-category-selecter

Some people don't seem to understand why visual component prefixes are used.... lmddckpnlSales has advsbtnFilter and lmdfrmdsplySaleEdit on it. If we have to have them can they at least be shorter than the name of the component?

Some people don't seem to understand why visual component prefixes are used.... lmddckpnlSales has advsbtnFilter and lmdfrmdsplySaleEdit on it. If we have to have them can they at least be shorter than the name of the component? Really, I don't care that the button in question is a TMS one, or that it's the "s" variant, I just care that it's a button. And most of the time I care more about what other controls it's with, or what it's for, than I care about what sort of control it is. I'm a fan of the "purpose first" naming so things sort together:   SaleDiscountButton: TAMSFunkyGraphicButton;   SaleDiscountPercentageEdit: TJEDIPercentNumericEdit;   SaleDiscountFixedAmountEdit: TFredsFunControlsCurrencyEdit;   SaleDiscountDescriptionEdit: TOverdesignedEditControl; That way when you see SaleDiscountDescriptionEditOnMenuPopup(nil); in code you're not in any doubt as to what it is, and you can probably guess what the method does. But advgr

Delphi XE 1 - Win 7 x64.

Delphi XE 1 - Win 7 x64. Trying to compile a resource DLL created by the ITE. Getting a JCL exception on compile/build. Anybody's come across this before? Solutions? Regards, A

I am looking in to automating the IDE to attach to a process for

I am looking in to automating the IDE to attach to a process for  debugging purpose but I am unable to figure it out. I am using Delphi  XE, so this page is relevant http://docwiki.embarcadero.com/RADStudio/XE/en/IDE_Command_Line_Switches_and_Options I have tried "bds -attach: " but that doesn't seem to work :( Any pointers in the right direction would be great! http://docwiki.embarcadero.com/RADStudio/XE/en/IDE_Command_Line_Switches_and_Options
Hello, I am new in Delphi. I have installed Delphi XE4 and have just made the Hello World! test app with firemonkey. I want to follow a tutorial or blog to learn delphi with XE4/Firemonkey. Can you help by giving some links or suggestions?

New blog post http://theroadtodelphi.wordpress.com/2013/05/24/hosting-preview-handlers-in-delphi-vcl-applications/

New blog post http://theroadtodelphi.wordpress.com/2013/05/24/hosting-preview-handlers-in-delphi-vcl-applications/ http://theroadtodelphi.wordpress.com/2013/05/24/hosting-preview-handlers-in-delphi-vcl-applications/

I have a problem with Indy (in XE). If i make a download with TIdHTTP in standalone application, all is okay. But if i try same code in Delphi Wizard/Expert (in .bpl) running in Delphi, i have a problem - it doesn't even try to connect to the server (i check access log). The error code is "connection closed gracefully".

I have a problem with Indy (in XE). If i make a download with TIdHTTP in standalone application, all is okay. But if i try same code in Delphi Wizard/Expert  (in .bpl) running in Delphi, i have a problem - it doesn't even try to connect to the server (i check access log). The error code is "connection closed gracefully". Any ideas why same code have different behaviour running standalone or in Delphi environment (as the wizard/expert) ?

"State of the art"

Image
"State of the art" From the freakishingly annoying FireDAC installer, which launch command line windows to the foreground.   An iPhone library that uses deprecated functions? Where is QA? Is there QA? Also - why does the iPhone command line compiler run at less than half the speed of the Windows compiler? #rant

New! Support for Optimistic Offline Locking on "dorm, the Delphi ORM" for firebirdsql, InterBase and sqlite

New! Support for Optimistic Offline Locking on "dorm, the Delphi ORM" for firebirdsql, InterBase and sqlite https://code.google.com/p/delphi-orm/ https://code.google.com/p/delphi-orm/

Blog post "Using Open SLL in Delphi iOS" at http://blog.marcocantu.com/blog/using_ssl_delphi_ios.html

Blog post "Using Open SLL in Delphi iOS" at http://blog.marcocantu.com/blog/using_ssl_delphi_ios.html

Hello!

Hello! I was reading this article earlier: http://encosia.com/first-class-functions-as-an-alternative-to-javascripts-switch-statement/ And I think it could be doable in Delphi as well by using Generics. Alas, I am only using them in a very basic way, therefore I need some help to craft an example in Delphi. Anybody can please give me some tips on how to do it? Regards, A http://encosia.com/first-class-functions-as-an-alternative-to-javascripts-switch-statement/

ADO and SQL server which is the fastest query

ADO and SQL server which is the fastest query LOCATE or WHERE (SQL instr) or is there a faster way to know if a record exist?

I've just faced with an interesting problem with TPopUpMenu.

I've just faced with an interesting problem with TPopUpMenu. I wanted to move one of TPopupMenus in project from main form to DataModule, but found out that I can't place TPopupMenu on TDataModule in Delphi XE2. When I open TDataModule, IDE Insight doesn't show TPopupMenu, IDE also hides it in Tool Palette. When I try to copy existing menu to DataModule, IDE tells "Class TPopupMenu not found". I've checked in Delphi 2010, and it works fine. Any ideas? What is wrong? How do I fix the problem?

Hello !

Hello ! In a compilation script, I need to set a version number (major-minor-revision)  to a set of executable . Have I any other solution than doing myself a program that opens Dproj files and  put the version number inside it ?

Porting XE3 apps to XE4

Porting XE3 apps to XE4 Work in progress... Will add comments as I find stuff that breaks.

Looking to sell my expertise in law enforcement industry.

Looking to sell my expertise in law enforcement industry. ...and not only this one. Being on Delphi since v.1 in 1996, working with companies all over the world since 1999. Since 2007 i have been heavily involved in US law enforcement industry, gained great expertise in data formats, interfacing with fingerprint readers, DL scanners, etc etc etc. I am located in Russia, and in fact i am looking for remote contract work, but can consider relocation as well. My full CV and references are available on request. Please email me egold2005 at gmail dot com or Skype egold2005. Thanks, Eugene.

XE4 gets a mention in "tools developers need to look at for mobile" slide deck. Don't know if these are paid for, but it's a nice call out.

XE4 gets a mention in "tools developers need to look at for mobile" slide deck.  Don't know if these are paid for, but it's a nice call out. http://www.infoworld.com/slideshow/101586/programmer-picks-7-must-try-mobile-dev-tools-218867#slide6

I have been busy today with finding a strange deadlock problem between IBM Client Access (pcsfe.exe and pcsws.exe) and an application of my current customer. Somehow "pcsws.exe" was waiting in "pcsfont.dll" for something when our software was running. Closing our application made "pcsws.exe" responsive again...

I have been busy today with finding a strange deadlock problem between IBM Client Access (pcsfe.exe and pcsws.exe) and an application of my current customer. Somehow "pcsws.exe" was waiting in "pcsfont.dll" for something when our software was running. Closing our application made "pcsws.exe" responsive again... After a lot of digging and trying, I found out I had to kill one specific thread (thanks to ProcesExplorer) in our application to make pcsws working again. But what was so special on this thread? So I tried ProcesHacker (which gives even more information about processes etc than ProcesExplorer!) and I noticed I could right click on a thread and get all windows of this thread (!). Strange, it had 2 (hidden) windows: "ADODB.AsyncEventMessenger" and "IME". After some googling I found this great blog articles that explained a lot: http://marc.durdin.net/2012/08/waitforsingleobject-why-you-should.html http://marc.durdin.net/2012/08/wh
DevExpress VCL 12.2.6 with support for XE4 has been released.

http://www.thedelphigeek.com/2013/05/xe4-for-ios-in-slovenia.html

http://www.thedelphigeek.com/2013/05/xe4-for-ios-in-slovenia.html

I've wrote some code that apparently, sometimes delphi likes it, other times it doesn't, the worst thing about it is...

I've wrote some code that apparently, sometimes delphi likes it, other times it doesn't, the worst thing about it is that the friggin' IDE and/or compiler doesn't want to do anything more until I restart the IDE, the error is: [DCC FATAL Fatal Error] XXX.dpr(YY): F2084 Internal Error: O616 Delphi version 2010 Where I believe the issue lies is within a generic class that accepts as callback a "Class Of", the reason I say this, is because before creating it, there was no issue, thoughts?

I've wrote some code that apparently, sometimes delphi likes it, other times it doesn't, the worst thing about it is that the friggin' IDE and/or compiler doesn't want to do anything more until I restart the IDE, the error is:

I've wrote some code that apparently, sometimes delphi likes it, other times it doesn't, the worst thing about it is that the friggin' IDE and/or compiler doesn't want to do anything more until I restart the IDE, the error is: [DCC FATAL Fatal Error] XXX.dpr(YY): F2084 Internal Error: O616 Delphi version 2010 Where I believe the issue lies is within a generic class that accepts as callback a "Class Of", the reason I say this, is because before creating it, there was no issue, thoughts?

try

Image
try   with self   do grenade.launch; except   on E:EFumble   do Cover.Find(taFirstAvailable).Use; end; #tongueincheek  via +Ole Aass Originally shared by Eliseo Arias When teaching a junior developer how to use drop database.
Is it me or did Google+ just get unuseable? They actually tiled the whole thing. Who would have thought that Google would stoop to adapt an MS idea?
i'm so bored today......!!!!!!!!!!!

Does anyone have any idea how to tell if an app is running on your internal domain? That is:

Does anyone have any idea how to tell if an app is running on your internal domain?  That is: function IsRunningOnMyDomain(aDomainName: string): Boolean; or something similar?
Can anybody name higher performance alternatives to TIdHTTPServer?

Hello!

Hello! I am writing a commercial software application and I would like to add cloud storage. This is not for the sake of it but because I want to achieve the following things: - Be able to backup remotely - Be able(at some point) to have a mobile viewer I have no issues on the Delphi side for the actual storage(TMS has components for that) but I am more worried about the formats. There are three main possibilites that come to my mind: - JSON - XML - SQLite Personally, I really dislike SQLite because it's just too fragile. While the other two are fragile as well, though, at least they don't pretend to be a DB :) I have excluded CSV from the list of possibilites because I am not sure what kind of support there is on mobile platforms for this across the board. Also, and this is especially true in the case of XML, I would also be interested in knowing which kind of compression you would suggest for this that is available, once again, across the board. What are your thoughts? Regard

hello every body

hello every body,  does anyone knows how to make tadvcolumngrid from TMS, focus to next row, when press enter on the last editable column in the previous row....? i tried to change some property on navigation group, but still i don't managed it. spent almost two hours.... :(

Implementing Failover and Load Balancing in DataSnap 2010 - Andreano Lanusse | Technology and Software Development

http://www.andreanolanusse.com/en/implementing-failover-and-load-balancing-in-datasnap-2010/

Delphi vs Java, the native is slower ?

Delphi vs Java, the native is slower ? http://robertocschneiders.wordpress.com/2013/05/17/soap-and-rest-using-gzip-with-delphi-client/
Anyone knows some component like tlistview fast and content vsicon Style? Virtual tree view is many fast But i dont now its have vsicon Style

I was looking for Delphi code for accessing WMS servers (Web Map Service). I found two:

I was looking for Delphi code for accessing WMS servers (Web Map Service). I found two: * delphimaps ( http://code.google.com/p/delphimaps/ ) * and the Delphi/Kylix GIS components from sourcepole ( http://www.sourcepole.com/2006/9/1/delphi-kylix-gis-components ) The former is licensed under  MPL 1.1 and the WMS support seems to be in early development and didn't even compile. I managed to get it to compile and work. The latter are abandoned and Sourcepole apparently are looking for somebody who wants to maintain the components as an open source project. http://code.google.com/p/delphimaps

Why oh why aren't the following identifiers reserved words?

Why oh why aren't the following identifiers reserved words? Exit, Continue, Break Why on earth should we be allowed to write var   continue: boolean; begin   continue := true;   while continue do   begin     if SomeCheck() then       continue; // <-- oh shoot     continue := OtherCheck();   end; end; Any code which uses these identifiers deserves to be broken.

Very experimental support for LLVM in DWScript is now in the googlecode repository, thanks to the efforts of Christian-W Budde!

Very experimental support for LLVM in DWScript is now in the googlecode repository, thanks to the efforts of Christian-W Budde! http://delphitools.info/2013/05/17/llvm-for-dwscript/

Hello everyone.

Hello everyone. I'm trying to connect with dbExpress (TSqlConnection) with an oracle    DB on remote host.  Always get the same error: "DBx error driver could not be properly initialized. client library may be missing" i can do the connection easy locally, but from another terminal in the same LAN i get the same error. any sugestions? ideas? examples?  Thanks a lot!

PngComponents are now available for XE4 - finally. I have to apologize to be late as the changes are that small.

PngComponents are now available for XE4 - finally. I have to apologize to be late as the changes are that small. http://cc.embarcadero.com/item/26127

Blog post "Of Strings, Immutability, COW, and AnsiStrings" at http://blog.marcocantu.com/blog/strings_immutability_cow_ansistrings.html

Blog post "Of Strings, Immutability, COW, and AnsiStrings" at http://blog.marcocantu.com/blog/strings_immutability_cow_ansistrings.html http://blog.marcocantu.com/blog/strings_immutability_cow_ansistrings.html

We're pleased to present a new mapping component to integrate, display & control OpenStreetMaps in IntraWeb web applications:

Image
We're pleased to present a new mapping component to integrate, display & control OpenStreetMaps in IntraWeb web applications:  TMS IntraWeb WebOSMaps v1.0 You can download the trial version from our website: http://www.tmssoftware.com/site/iwwebosmaps.asp TMS IntraWeb WebOSMaps is available for Delphi and C++Builder XE, XE2, XE3 and XE4.

In my Delphi IDE the Action Manager Window doesn't show... after dropping the component on the form I would normally double-click it to add some actions and stuff. That works fine when I'm using an Action List, but the Action Manager doesn't work...

In my Delphi IDE the Action Manager Window doesn't show... after dropping the component on the form I would normally double-click it to add some actions and stuff. That works fine when I'm using an Action List, but the Action Manager doesn't work... We are using the Action Manager in our FMain to manage the actions of the TRibbonControl... Does anyone know this problem? I would like to avoid a reinstall because of all the components... P.S.: I already tested this behaviour in a new project. Doesn't work either.

To clarify my feelings on the Single Exit Point issue, I'm for it in general. With one very Delphi-specific exception that I think falls into the "error handling" exception that has some support in the community.

To clarify my feelings on the Single Exit Point issue, I'm for it in general. With one very Delphi-specific exception that I think falls into the "error handling" exception that has some support in the community.  Here's where I will often use a mid-function exit. It's a nice short method and it's clear what is happening (IMO, anyway). function PanelTypeFromString( const Str:String):TPanelType; begin   for Result := low(TPanelType) to high(TPanelType) do     if PanelInfoFull[Result].Short = Str then       Exit;     raise RelevantException.Create(...); end; Refactoring it to avoid the exit means using a while and duplicate tests: function PanelTypeFromString2( const Str:String):TPanelType; begin   Result := low(TPanelType);   while (Result < pred(high(TPanelType))) and (PanelInfoFull[Result].Short <> Str) do       Inc(Result);   if (Result = high(TPanelType)) and (PanelInfoFull[Result].Short <> Str) then     raise RelevantException.Create(...); e
Anyone know what it takes to get the TTCPServer.OnGetThread method to fire? #delphi

Hello!

Hello! Our business is growing and we are looking to add a Senior Delphi Developer to our team.  Located in Pewaukee, WI.  It's a long term position, casual atmosphere, and are using Delphi XE2 for our Client/Server (DataSnap) products. Thank you. http://tiptech.com/careers.html

What is the best (and short) way to upload images to Google+ event page using Delphi ?

What is the best (and short) way to upload images to Google+ event page using Delphi ? Thanks for your help.

Did anybody of you do EDI development with Delphi?

Did anybody of you do EDI development with Delphi? Are there any components available for mapping EDI input (x12/EDIFACT) to XML or objects?

I have an application that was leaking. The odd thing is it worked before moving it from XE to XE3. So what's I find out?

I have an application that was leaking. The odd thing is it worked before moving it from XE to XE3. So what's I find out? I have a class inheriting from TObjectList. In the constructor, it was calling "inherited" and I realized that XE3 doesn't behave like XE.  In XE3 "inherited" called the TObject.Create rather than the immediate parent TObjectList.Create, thus not setting FOwnsObjects := True;. type   TOList = class(TObjectList)   public     constructor Create;   end; { TOList } constructor TOList.Create; begin   inherited; end; The solution? Changed it to "inherited Create". constructor TOList.Create; begin   inherited Create; end; Is this a bug? It looks to me like a HUGE one!

Blog post "XE4 Articles, Comments, Intelli-J, and More" at http://blog.marcocantu.com/blog/xe4_articles_comments.html

Blog post "XE4 Articles, Comments, Intelli-J, and More" at http://blog.marcocantu.com/blog/xe4_articles_comments.html http://blog.marcocantu.com/blog/xe4_articles_comments.html

I making a Firemonkey application where the user must be able to drag and drop different elements to a grid in the same application. For this I am setting DragMode to dmAutomatic but I don't if this is the right method for this or if I should make something with a mouselistener like in this Java example http://www.java-forums.org/awt-swing/19817-java-2d-graphics-drag-drop.html. Please give your suggestions.

I making a Firemonkey application where the user must be able to drag and drop different elements to a grid in the same application. For this I am setting DragMode to dmAutomatic but I don't if this is the right method for this or if I should make something with a mouselistener like in this Java example  http://www.java-forums.org/awt-swing/19817-java-2d-graphics-drag-drop.html . Please give your suggestions.

1700 members.

1700 members. I'm just milestoning the round numbers ;)

Possible solution for slow code insight in Delphi (2010 at least) from ancient history (dug out by a coworker just now). At first test it seems to help. Summary:copy your library dcu and res files into a directory, put that in your library path instead of the library *.pas files, and code completion (etc) stop digging through them. I don't know (or care) whether this stops code completion jumping into the relevant source file when you CTRL-click.

Possible solution for slow code insight in Delphi (2010 at least) from ancient history (dug out by a coworker just now). At first test it seems to help. Summary:copy your library dcu and res files into a directory, put that in your library path instead of the library *.pas files, and code completion (etc) stop digging through them. I don't know (or care) whether this stops code completion jumping into the relevant source file when you CTRL-click. http://embarcadero.newsgroups.archived.at/public.delphi.ide/201003/10030912725.html This is a useful tip that I've never seen before. Sorry if it's old news. http://embarcadero.newsgroups.archived.at/public.delphi.ide/201003/10030912725.html

Would I be right to suspect that this pattern is characteristic of C programmers?

Would I be right to suspect that this pattern is characteristic of C programmers? function Foo:TWhatever; var aReturnValue:TWhatever; begin     aReturnValue := ...     ...     Result := aReturnValue;     Exit; end; I'm seeing it a lot and it just seems weird. Especially when in the middle of the method I see:           if(...) then begin               Result := aReturnValue;               Exit;           end; Seems like someone who is used to the C-style "return X" both setting the return value and exiting the method.

Hi and greetings...

Hi and greetings... I am making a function which takes array of const as one of the parameters, just like Delphi's famous Format function. How to determine the data type of each of the array of const parameter? Thank you very much.
Wow, must be FB2....   gratuitous layout changes...

Hello!

Hello! Looking for a freelancer for a small graphic project. The job is not Delphi related, but it's still a job :) I can't make an announcement just yet , but if you are interested or know somebody who would be interested in a small graphic job, please contact me at andrea DOT raimondi AT gmail Thank you! A

New Blog Post: "Book Review: ZeroMQ (by @packtpub)"

New Blog Post: "Book Review: ZeroMQ (by @packtpub)" http://www.danieleteti.it/2013/05/15/book-review-zeromq-packt-publishing/ http://www.danieleteti.it/2013/05/15/book-review-zeromq-packt-publishing/
FileOpen vs OPEN_ALWAYS... seriously, how many centuries ago was that flag introduced in the WinAPI?

Todays winning code in a TThread descendent:

Todays winning code in a TThread descendent: except   on e:exception do begin     Application.ProcessMessages;   end; end; Quite why that would be the only response to an exception I am unable to work out. I suspect it means "pause, then continue". Doing so from a thread is even more interesting. I wonder if this code that someone just kept playing with until it seemed to work? The cargo cult use of "on e:exception" is just unnecessary.

Blog post "Delphi XE4 IDE videos by José León" at http://blog.marcocantu.com/blog/delphi_xe4_ide_joseleon.html

Blog post "Delphi XE4 IDE videos by José León" at http://blog.marcocantu.com/blog/delphi_xe4_ide_joseleon.html

Creating MacOS-like dock with only 19 lines of delphi code, using HTML Component Library.

Image
Creating MacOS-like dock with only 19 lines of delphi code, using HTML Component Library. procedure TForm1.HtPanel2MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var E, C: TElement; i: integer; r: single; P: TPoint; CR: TRect; begin  if Point(x, y)=LastP then exit;  LastP:=Point(x, y);  P:=HtPanel2.ScreenToClient(Point(x, y));  E:=HtPanel2.Doc.GetElementbyId('dock');  for i:=0 to E.Count-1 do   if E.Elements[i].Tag='a' then begin    C:=E.Elements[i];    CR:=C.Rects(0);    CR.Offset(C.RealLeft, C.RealTop);    P:=Point(CR.Left+CR.Width div 2, CR.Top+CR.Height div 2);    r:=sqrt(sqr(abs(x-P.X))+abs(sqr(y-P.Y)));    C.Style.Base.Zoom:=max(1, 1+(200-r)/200);  end;  HtPanel2.Doc.RecalcStyles;  HtPanel2.Doc.NeedRecalc:=true; end; http://delphihtmlcomponents.com
Trying to debug a 1684 line method.  Sigh.

New blog post: "My Delphi STOMP Client is now compatibile with iOS" http://www.danieleteti.it/2013/05/14/my-delphi-stomp-client-is-now-compatibile-with-ios/

New blog post: "My Delphi STOMP Client is now compatibile with iOS" http://www.danieleteti.it/2013/05/14/my-delphi-stomp-client-is-now-compatibile-with-ios/

What is the difference between this:

What is the difference between this: IntToStr(10) string(10) ?

#chuckleworthy

Image
#chuckleworthy   Originally shared by ****

Dear Delphi developers

Dear Delphi developers, I would like to know - Is it possible for any to make a program for communicating with bluetooth devices under iOS and with XE4? For example how to discover and show a list with devices programmatically. Sorry if my question is not so actual but I'm novice in this area. Please help me - I'm agree with a single and simple answer like yes or no (for example) because it is more than nothing. Is there a link or documentation about this theme - I can't find anything from weeks. If the answer is no - is there a development plans in this direction? --  Best regards Dobrin Petkov

I am developing a DELPHI 7 application in ISRAEL for Hungary and using

I am developing a DELPHI 7 application in ISRAEL for Hungary and using For translation "DKlang".For most text i use MS Sans Serif I cannot see the result in Israel as I DO NOT Have Hungarien on my computer. Will the appliction will be translated OK?

Hello!

Hello! Anyone knows if it is possible to wrap android offline voice recognition in a Delphi component?

How to tell a DB geek

How to tell a DB geek #tongueincheek   http://geek-and-poke.com/2013/05/commandssql.html

I have something bizarre in FMX, maybe I am doing something wrong.

I have something bizarre in FMX, maybe I am doing something wrong. I create frame with a control and add a glow effect. when I add the Frame on an empty form the glow effect does not appear?

Embarcardero, there is a small time left to make changes and revive Delphi.

Embarcardero, there is a small time left to make changes and revive Delphi.  Originally shared by Zaher Dirkey TIOBE Programming Community Index for May 2013 May Headline: Delphi is on its way out http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html http://www.tiobe.com/content/paperinfo/tpci/index.html
Does anybody know if Uwe is still developing his Delphi add-ones or not? If so, where could I download them?

Hi I'm Nick Tucker

Hi I'm Nick Tucker Started using TP 5.5 and have been hooked ever since.  I work for large global corporation (150K users) and do a lot of programming work there.  Also have an "on the side" business writing stuff for people here and there. I also just released my ISNDS Component set for Active Directory (Open Source) Thanks and enjoy!

Anyone have any experience with Log4D? It is still alive?

Anyone have any experience with Log4D?  It is still alive? http://log4delphi.sourceforge.net/index.html http://log4delphi.sourceforge.net/index.html

We're pleased to present a new IntraWeb component with extensive configurability for integrating Google Maps in IntraWeb web applications: TMS IntraWeb WebGMaps v1.0

Image
We're pleased to present a new IntraWeb component with extensive configurability for integrating Google Maps in IntraWeb web applications: TMS IntraWeb WebGMaps v1.0 You can download the trial version from our website: http://www.tmssoftware.com/site/iwwebgmaps.asp TMS IntraWeb WebGMaps is available for Delphi and C++Builder XE, XE2, XE3 and XE4.
Is it possible to get Delphi to compile use the PUREPASCAL compiler definition under Win32? I have tried setting it in the base configuration for a Delphi XE3 project without any luck
Will there be a JVCL release for XE4?  I don't see much information regarding the whole Delphi Jedi update process.

Blog post "IBLite, Free InterBase for iOS" at http://blog.marcocantu.com/blog/iblite_free_interbase_ios.html

Blog post "IBLite, Free InterBase for iOS" at http://blog.marcocantu.com/blog/iblite_free_interbase_ios.html http://blog.marcocantu.com/blog/iblite_free_interbase_ios.html

WebFMX 1.0 is officially out! Remember to ask for your free development license at http://www.cybelesoft.com/webfmx and please, don't forget to send us your feedback or bug report, to continue enhancing WebFMX.

WebFMX 1.0 is officially out! Remember to ask for your free development license at http://www.cybelesoft.com/webfmx and please, don't forget to send us your feedback or bug report, to continue enhancing WebFMX. http://www.cybelesoft.com/blog/

not sure if you guys are aware of this translation of OpenCV api, but here it goes.

not sure if you guys are aware of this translation of OpenCV api, but here it goes. using it successfully thus far in D2010, only had to remove a few unit prefixes that are required in later versions of delphi and to declare size_t as NativeInt. https://github.com/Laex/Delphi-OpenCV#__sid=0

I get so frustrated with some of the hurdles that one must overcome for successful Windows deployment. One in particular is folder and file permissions Currently my main application requires data files located on a server and all users need read/write permissions. I set permissions in my installer (Innosetup) and I set both folders and files as users-full.

I get so frustrated with some of the hurdles that one must overcome for successful Windows deployment. One in particular is folder and file permissions Currently my main application requires data files located on a server and all users need read/write permissions. I set permissions in my installer (Innosetup) and I set both folders and files as users-full. But it seems this is still not adequate. I've noticed on a couple of different remote assistance calls that any given customer could in fact have any number of groups created whether they be domain groups or user groups or what have you. I need a bullet proof setting. What do you do? Will "everyone-full" do it?

In case you have problems with remote debugging, eliminate all references to WinTypes and WinProcs in your uses clauses. Don't forget the third party libraries you are using.

In case you have problems with remote debugging, eliminate all references to WinTypes and WinProcs in your uses clauses. Don't forget the third party libraries you are using. The symptom is: no blue dots when running the app in the remote debugger.

The following fails to compile in Delphi 2010. Does anyone happen to know if this work in XE3 or not?

The following fails to compile in Delphi 2010. Does anyone happen to know if this work in XE3 or not? type   TMyParam = record   end;   TFoo = type TMyParam ;  // <-- error [DCC Error] E2086 Type 'TMyParam ' is not yet completely defined

Ann: NexusDB 3.12 - XE4 support, and Auditing

Ann: NexusDB 3.12 - XE4 support, and Auditing We are happy to release NexusDB 3.12, with Rad Studio XE4 support, and a great new feature: Auditing ======== Ever had a user say "I didn't make that change in the database", and needed to figure out who did? Ever needed a history of database record changes? Our new Auditing feature can solve these for you, with no work on your part. Just turn Auditing on for the tables where you need it, and the server will automatically maintain the audit log.

Hello :)

Hello :) I am about to release the next version of my Memory Profiler which adds some new features and supports Delphi XE4. Before doing so I am trying to clarify some observations I have done when checking the log on my webserver. I can see, that very often someone is downloading the software rapidly, 2 or 3 times within a couple of minutes. I have no explanation for this except that some antimalware software is reporting a false positive. However, Virustotal.com does not show anything. I have checked the download process with several browsers, but everything seems to be fine as well except Chrome which outputs an annoying message. I have the bad feeling, that I do overlook something which in effect prevents people downloading and trying the software. Just in case, this is the URL in question: http://ddobjects.de/dddebug Thanks for your help.

I have barely got my XE3 up and running with all plugins and components and now there's XE4.

I have barely got my XE3 up and running with all plugins and components and now there's XE4. so my status for XE4 is : ModelMaker tools for X4 : check. JED Visual Forms : not yet. Gurock SmartInspect : Not yet CNPack : not yet. TMS Component Pack : check TMS Firemonkey : check TMS Aurelius : not yet. Patience is a virtue , I think , Let's stick with XE3.

Hi Folks, maybe one of you has an idea how I can resolve this problem.

Hi Folks, maybe one of you has an idea how I can resolve this problem. I'm running Unit tests with the DUnit GUI test runner that ships with XE2. The suite consists of some lengthy tests which are created from parameter files. While these tests are running I like to do some "work". My problem now is that the GUI test runner steals the focus from my currently active application every few seconds, when one of the tests is finished. So I can't really do much while the tests are running. I know that I can use the console test runner which won't steal my focus, but especially when I try to narrow down a problem, I want to interactively check and re-run single tests without having to sit through the entire suite. Has anyone else encountered this problem too? And maybe even found a solution? I haven't understood when and why this happens. Commenting out Application.Processmessages or fiddling with the runners options doesn't help. Cheers & thanks

The TSMBIOS project now supports older Delphi versions 5,6 7. http://code.google.com/p/tsmbios/

The TSMBIOS project now supports older Delphi versions 5,6 7. http://code.google.com/p/tsmbios/ http://code.google.com/p/tsmbios/

try

try   TmpStrings := TStringList.Create;   TmpStrings.Clear;   ... finally   TmpStrings.Free; end; I am lost for words.
Some day I may want to share some of my components. I am looking for a license that will have minimal restrictions, but make it clear that I am not providing any warranty or accepting any liability for their use. From a web search, it looks like there are dozens of licenses and variants. Any suggestions?

Raize Software has added support for XE4.

Raize Software has added support for XE4. http://www.raize.com/DevTools/Default.asp

Hi All.

Hi All. Is there a button that looks like the navigation buttons you see on the title bar of an iOS app? If I put a normal button on the title bar, it renders as a "button" but I really want the button that in the instance of a "Back" button has  the button going to a point like an arrow pointing left...the normal back button on iOS.....I have had look for a button and looked at the button properties but wondered if I have missed something.
Hi All. Is there a button that looks like the navigation buttons you see on the title bar of an iOS app? If I put a normal button on the title bar, it renders as a "button" but I really want the button that in the instance of a "Back" button has  the button going to a point like an arrow pointing left...the normal back button on iOS.....I have had look for a button and looked at the button properties but wondered if I have missed something.

Blog post "XE4 DataBase Components Updates and the Reviewers Guide" at http://blog.marcocantu.com/blog/xe4_database_components_updates_rguide.html

Blog post "XE4 DataBase Components Updates and the Reviewers Guide" at http://blog.marcocantu.com/blog/xe4_database_components_updates_rguide.html

Is anyone interested in a DataModule Beautifier? I wrote a utility to do this a while back to handle my large/complex datmodules that were starting to look very messy due to high component counts and sloppy positioning. This utility snakes all the components on the form, taking into account the label width. It sorts by component class name and then the component label . It works directly on a (text) DFM. Other sort criteria can be added.

Is anyone interested in a DataModule Beautifier?  I wrote a utility to do this a while back to handle my large/complex datmodules that were starting to look very messy due to high component counts and sloppy positioning.  This utility snakes all the components on the form, taking into account the label width.  It sorts by component class name and then the component label .  It works directly on a (text) DFM.  Other sort criteria can be added. Screen shots below show before/after running my utility.  Free + source included! http://idk.serveftp.net/DMFormat/dmformat.rar Note that you cannot reformat a DM that is currently loaded in the IDE.  There is also a minor limitation on inherited datamodule classes.  It won't directly format inherited components unless they have modified properties in the subclass.  Workaround: Move any inherited components a few pixels to make them show up in the subclassed DFM.

Anyone know how I can reach an admin for the soft-gems.net forums? I have registered, and received notice they sent an activation e-mail. A few hours later, I requested a resend. A few hours after that, I tried to register under a different name. Lather, rinse, repeat. I have received no e-mails from the site, and they have not gone to spam. Their FAQ says to contact an admin, but neglects to mention how a non-member might do that.

Anyone know how I can reach an admin for the soft-gems.net forums? I have registered, and received notice they sent an activation e-mail. A few hours later, I requested a resend. A few hours after that, I tried to register under a different name. Lather, rinse, repeat. I have received no e-mails from the site, and they have not gone to spam. Their FAQ says to contact an admin, but neglects to mention how a non-member might do that.

I'm not a fan of MySQL, which perhaps explains why I didn't know about MariaDB, but I know a lot of people use MySQL, so they may find this of interest. MariaDB is a a true open source fork of MySQL that's supposed to be a drop-in replacement for it.

I'm not a fan of MySQL, which perhaps explains why I didn't know about MariaDB, but I know a lot of people use MySQL, so they may find this of interest.  MariaDB is a a true open source fork of MySQL that's supposed to be a drop-in replacement for it. https://mariadb.org/

Hi Guys. Just playing around with FireMonkey Mobile on XE4 and have a problem. I have the latest version of Mountain Lion and latest version of XCode (4.5.2) but when I go to Tools/options/SDK Manager and add a new SDK and change the "Select Platform" combo and select iOS, it shows a dialogsaying "No SDKs could be found for the iOS Device Platform."

Hi Guys. Just playing around with FireMonkey Mobile on XE4 and have a problem. I have the latest version of Mountain Lion and latest version of XCode (4.5.2) but when I go to Tools/options/SDK Manager and add a new SDK and change the "Select Platform" combo and select iOS, it shows a dialogsaying "No SDKs could be found for the iOS Device Platform." If I change the Platform to be OSX and try to run the wee demo app I have, I get an error saying "Wrapper init fail: (NULL)" so I am guessing I cant run an app destined to run on the iOS simulator can use the OS X SDK or something. Anyway, from what I have read, the latest version of teh commandline tools for XCode is meant to contain the SDKs for iOS. So I am a bit lost. Can anyone help? p.s. I can create an OS X app fine. Jeremy

Stupid question :)

Stupid question :) If I load a DLL with LoadLibrary, and then calls a func in the DLL and that func allocates memory with the help of LocalAlloc and then unload the DLL with FreeLibrary, the memory that was allocated by the DLL will be freed by the system? :)

When I go to http://www.eurekalog.com/ I end up at some odd cyber squat looking page. Is this the same page everybody else is seeing?

When I go to  http://www.eurekalog.com/ I end up at some odd cyber squat looking page. Is this the same page everybody else is seeing? http://www.eurekalog.com/

The Vcl Styles Utils now supports Delphi XE4

The Vcl Styles Utils now supports Delphi XE4 http://code.google.com/p/vcl-styles-utils/ http://code.google.com/p/vcl-styles-utils/

Hi Everybody!

Hi Everybody! Maybe it's a strange question but I don't know who develops right now the Indy package :) I found a bug but it's not clearly the Indy's fault, it's coincidence of various factors... I made a little test program only to demonstrate the problem. So what I really need: contact me please if You are (one) of the developer(s) of Indy :) Nandor Kiss
So I'm working on debugging a problem with variables getting truncated. I think I found where it's happening, but my call stack is 67 levels deep. ;_;
I am working on a Delphi project where I have to use Firemonkey components but there are not much documentation for this. Please send me some good toturials and book titles. Thank you.

Hi Guys

Hi Guys, i am using program Test_Application; {$R 'version.res' 'version.rc'} to update product version of my application ,i have copied both files in my project directory but version details not reflect in version.res file when i build/compiled my application and its reflect only when i compile thru brcc32.exe. i want version auto reflect in version.res file when i build/compile my application and use information which i update in version.rc file. so i m missing anything? because samething works fine in one of test the project i have..and i also go thru that but dont found anything helful.

TMS Cloud Pack for iOS v1.0 released!

Image
TMS Cloud Pack for iOS v1.0 released! We're excited to announce the initial release of the new TMS Cloud Pack for iOS at http://www.tmssoftware.com . TMS Cloud Pack for iOS is a set of FireMonkey Components to offer easy access from Delphi for iOS applications to cloud services like SkyDrive, Box, DropBox, Facebook, Flickr, Picasa, Google Calendar, Google Contacts, Google Drive, LinkedIn, Twitter, Windows Live Calendar, PushOver, Wunderground weather service, ...  You can download the fully functional trial version from our website: http://www.tmssoftware.com/site/tmsfmxcloudpack.asp TMS Cloud Pack for iOS is available for Delphi XE4.
Here is something I have always wondered about. Assuming that I do not need to change the value of a parameter in a function/procedure, must I always explicitly declare a function or procedure parameter as a "const"? What bad things happen if I don't include "const"?

Moar communities!

Moar communities! On the lower left, under the category list and about text, you will find links to other Delphi/Pascal related (and English speaking) communities. If I've missed any - I'd appreciate a hint, so that I can add them.

Today's Code Rant:

Today's Code Rant: procedure TMyEdit.DoEnter; var     SE: TScriptEngine; begin     if not Assigned(SE) then         SE := GetScriptEngine;     if Assigned(SE) then         if FOnEnterScript <> '' then             SE.RunScript(Self, FOnEnterScript); end; Repeat through half a dozen different events.  Now either I'm severely misunderstanding when variables are guaranteed to be initialized (not in this instance), or we're really lucky that this hasn't caused anyone problems yet, or /nobody/ is using this feature.

Share !! DLL Export Viewer v1.61

Share !! DLL Export Viewer v1.61 http://www.nirsoft.net/utils/dll_export_viewer.html http://www.nirsoft.net/utils/dll_export_viewer.html

As i am still working with XE, i dont have fancy things like VCL styles. So i started to experiment a bit with the NC-Area of a form, to see if i get some formstyling working. I have a VERY basic stylemanager wich allows me to load different styles(Only formstuff for now). The followoing result requires an additional use "Styles.Forms" in each Form unit, where styling is required. The visual parts from this style are from "Orange Graphit" from here:

Image
As i am still working with XE, i dont have fancy things like VCL styles. So i started to experiment a bit with the NC-Area of a form, to see if i get some formstyling working. I have a VERY basic stylemanager wich allows me to load different styles(Only formstuff for now). The followoing result requires an additional use "Styles.Forms" in each Form unit, where styling is required. The visual parts from this style are from "Orange Graphit" from here: http://theroadtodelphi.wordpress.com/2011/09/01/exploring-delphi-xe2-vcl-styles-part-i/#jp-carousel-1986 However something that still bothers me, is the fact that resizing causes shivering at the right/bottom sides(based on resizing direction)
Can anyone recommend me a documentation platform? In the past I've used MediaWiki for my software, but I'd like to provide offline documentation as well. The most important features it has to support are a search feature and customized syntax highlighting of inline code samples. I need it to document both user interfaces and code APIs. The documentation software doesn't have to be free/open.

Hi, G+

Hi, G+ Do you have used Basler CCD with delphi7 ? I need help to transfer *.H to *.pas for calling "PylonC_MD_VC100.dll".     >"<

A VCL to FireMonkey converter tool by Mauro Botta

A VCL to FireMonkey converter tool by Mauro Botta  http://www.midaconverter.com/   http://www.midaconverter.com/