Posts

Showing posts from July, 2016

I'd be curious to know where Delphi compilers fall on the scale.

I'd be curious to know where Delphi compilers fall on the scale. Originally shared by Greg Kroah-Hartman This is a great step forward, sure it might not perfect, and static code analysis might be better if you have access to the code, but you can learn a lot from binaries and it's really revealingly the choice of build tools that a project uses as an indicator of the "smell". https://theintercept.com/2016/07/29/a-famed-hacker-is-grading-thousands-of-programs-and-may-revolutionize-software-in-the-process/

Every Embarcadero offer to watch a webinar replay. :-)

Image
Every Embarcadero offer to watch a webinar replay. :-) Originally shared by Tom Fishburne “Lead Generation and Gated Content” - new cartoon and post on cultivating an audience https://marketoonist.com/2016/07/lead-generation.html

Anyone know of a component or tool to help us quickly make a visual query builder, for Win32 desktop Firemonkey?

Anyone know of a component or tool to help us quickly make a visual query builder, for Win32 desktop Firemonkey? We need to make simple select statements from a fixed list of tables, the ability to select specific columns and provide aliases for them is important, and we need a reasonable level of flexibility with the WHERE clause (filtering and grouping). Given how much of what we want to do is 'on rails', we could build a complicated dialog with lots of dynamic clauses and what have you - but time is of the essence and money not necessarily a key factor. There are a number of these kinds of things for the VCL - but the rest of our project is FMX and I'm not sure I want to try and get a VCL component shoe-horned into an FMX app (though I may look deeper into that).

Delphi class for WinSparkle

Delphi class for WinSparkle Hi guys, I've written a class for WinSparkle (a Win version of Sparkle for OSX). Have a look here: https://github.com/jkour/neSparkleComponent Let me know what you think. Thanks. https://github.com/jkour/neSparkleComponent

I want to integrate my Delphi DX10 application with Sketchup.

Image
I want to integrate my Delphi DX10 application with Sketchup. My application is a Product Configurator, at this moment specialized in furniture industry. What I need is create a .skp file with the piece of furniture currently editing on my application and after open this file with Sketchup. The user can make modifications in Sketchup and after close it my application will modify the data of the piece of furniture, accordingly with the modifications in sketchup file. I know two ways for treat of do this. The first consist in create from my app, a script in Ruby that I can pass as parameter to Sketchup. This sounds well but the problem is about select a format to export later the modified project. Which format is better for warranting that the data readed, have the precision of the corresponding to the Ruby script I've sent? The second way consist in make use of the SDK of Sketchup. Is supposed that with this tool I can create, from my application a .skp file, and of course, that aft

I want to integrate my Delphi DX10 application with Sketchup. My application is a Product Configurator, at this moment specialized in furniture industry.

Image
I want to integrate my Delphi DX10 application with Sketchup. My application is a Product Configurator, at this moment specialized in furniture industry. What I need is create a .skp file with the piece of furniture currently editing on my application and after open this file with Sketchup. The user can make modifications in Sketchup and after close it my application will modify the data of the piece of furniture, accordingly with the modifications in sketchup file. I know two ways for treat of do this. The first consist in create from my app, a script in Ruby that I can pass as parameter to Sketchup. This sounds well but the problem is about select a format to export later the modified project. Which format is better for warranting that the data readed, have the precision of the corresponding to the Ruby script I've sent? The second way consist in make use of the SDK of Sketchup. Is supposed that with this tool I can create, from my application a .skp file, and of course, that aft

Stack Overflow:

Stack Overflow: What is your experience with Stack Overflow? What can you say about why you would rather post here, instead of posting on Stack Overflow, where you have a much broader audience? I can say: they don't allow any errors (or mental "fog"), if you misread something in a duplicate post and even though somebody helped you easily in your post, just a one liner helping you out: somebody comes and says you missed this! You have an all out war because "I answered that in this post years ago! How stupid are you! Now we have a duplicate, damn how could you" Not even entertaining the possibility that somebody else had the same "error in their mind's compiler/ fog", which lead them to think of the problem differently, which means the duplicate I just made does in fact god forbid have merit. And it's not about the fact that I made a duplicate, that's fine, it's the fact that I almost feel the super users take offence if you didn't

Today I've tried to recompile a Seattle FMX App with Berlin. The Android version compiled succesfully in 5 minutes or so (a very smooth transition), but when I try to deploy it to my iPad (iOS device, 32 bit, debug configuraton) I have no success at all (the same exact project deploy on my iPad under Seattle without errors).

Image
Today I've tried to recompile a Seattle FMX App with Berlin. The Android version compiled succesfully in 5 minutes or so (a very smooth transition), but when I try to deploy it to my iPad (iOS device, 32 bit, debug configuraton) I have no success at all (the same exact project deploy on my iPad under Seattle without errors). This is the error I got before the linking phase aborts, any help?
Boa noite! Pessoal preciso de uma ajuda como faço para autenticar o acesso do meu sistema com o usuário e senha do windows? consegui pegar o usuário do windows mais não conseguir a senha.
If you were to think up a name for a programmer that combines "Delphi" with a Latin/Ancient Roman twist, what name would you choose?

#OpenSource #BloomFilter class in #Delphi , ready for any #BigData challenge!

#OpenSource #BloomFilter class in #Delphi , ready for any #BigData challenge! http://blog.synopse.info/post/2016/07/30/Bloom-Filter-and-Big-Data

I've written a Delphi class which I am going to put on MIT license on github.

I've written a Delphi class which I am going to put on MIT license on github. The class is a wrapper for a DLL, which is another open source project. That license says that I can use, modify, etc etc the code. My question is whether I am obliged to use the same license terms since I am only using the final compiled DLL and not the source code. What is your opinion about this?

Hi guys! I'll be skinned alive if I ask this on Stack Overflow ;-) Google-Fu is not applicable here, because I have no idea what I'm looking for.

Hi guys! I'll be skinned alive if I ask this on Stack Overflow ;-) Google-Fu is not applicable here, because I have no idea what I'm looking for. Background: The system is "Algorithmic Trading", some might recall I had a question that involved, in the end, WebSockets, now I'm /not/ scared about this, I'm confident that breaking it down into pieces would result in a not-so-complex solution, hehe, OK: I need to draw a candle graph on a cross-platform (Windows, and Android) client, it is the viewing screen of the Algorithmic Trading System and when in Windows, we can look at the candle graph (candles are open-high-low-close data) of the actual ATS (automatic trading system -- called Swordfish), but when on Android, we don't have Swordfish to show us /it's/ graph. SO, I think I'll be able to figure out what to do with the actual laying down /or drawing/ of the candles... the important / actual question part: ... What I need help with is (almost the sam

How Embarcadero should process passwords...

How Embarcadero should process passwords... https://www.youtube.com/shared?ci=7QZwQiql3ak
Any cool osx apps in delphi for people to showcase?
I'm trying to install CodeSite Express with the GetIt package Manager on Seattle. I keep getting a License Status check failure. Has anyone encountered this error?
Does anyone know how to filter all posts marked with +1? Is it possible at all?

hello

hello, I'm testing delphi isapi dll 64bit with server nano IIS 10, works ok until I put a firedac connection, in this case I get 404 error "file not found" exception. Pool identity localsystem, execute permission, classic pipeline, everyone full control on the files. Any idea how to solve it? Thanks Roberto
Have you ever developed a VOIP solution for desktop application in Delphi ? If so, what did you do >

Tried using Getit in DX Seattle today and got the following error. Anyone have any ides?

Image
Tried using Getit in DX Seattle today and got the following error. Anyone have any ides?

Hi

Hi, I'm working with a Android app and Delphi Berlin. Are there any trick, method or process for minimize the time between splah image and first form gets visible? Any advice? Thanks Xavi

Digifort is a fantastic brazilian software company working with digital security and selling worldwide! I was invited to visit their company and show it from inside! #MVProckstar #delphirocks Check the tease https://youtu.be/ihraCgY_71E and see full video at https://youtu.be/15Na0q1IHVY (pt-BR spoken)

Digifort is a fantastic brazilian software company working with digital security and selling worldwide! I was invited to visit their company and show it from inside! #MVProckstar #delphirocks Check the tease https://youtu.be/ihraCgY_71E and see full video at https://youtu.be/15Na0q1IHVY (pt-BR spoken) https://youtu.be/ihraCgY_71E

Hi guys

Hi guys, I am still working on that DLL compiled in VS2015 and I have this declarations in the DLL: void __cdecl newProc(newProc_callback_t); /// Callback type typedef void(__cdecl *newProc_callback_t)(); Now, how do I get access to this? I have declared a method which receives newProc: TProc as argument: The method does this: procedure AssignNewProc(const newProc:TProc); var tmpProc: procedure(newP: Pointer); cdecl; begin I have already the handler to the DLL @tmpProc:=GetProcAddress(fHandle,'newProc'); if Assigned(tmpProc) then tmpProc(@newProc); end; When I execute, the call to AssignNewProc(myProc) works nicely but when the DLL calls newProc I get an AV error. I am pretty sure I mess something up with the pointers. Can you help please? Thanks.

DAC for MySQL 3.0.6 with support of Lazarus 1.6.0 x64 and Internal Calculation fields is out!

DAC for MySQL 3.0.6 with support of Lazarus 1.6.0 x64 and Internal Calculation fields is out! http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1778 http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1778

Please help

Please help, how to create custom dynamic appearance on FMX with TListView. it appears that it's actually inpossibille.... On a Form, Style: Windows, View: Master. i put TListView on a form, Align: alClicnet. ItemAppearance: DynamicAppearance now the funny part: Change Style to iOS, and View to anything, "Cannot assign a TAppearanceObjectItem to a TAppearanceObjectItem." From this point, makes no sence further to work.

What do people think about Axialis IconWorkshop?

What do people think about Axialis IconWorkshop? I find it very easy to use and the main beefs I have are: 1) Very few objects that you can download 2) UI isn't very good if you are trying to make a set of icons to use in toolbars. Besides these, I find it's an excellent piece of software. Opinions? A

#AndroidStudio 2.2 published: Latest UI designer & Constraint Layout #AndroidApps #topappdevelopmentcompanies

#AndroidStudio 2.2 published: Latest UI designer & Constraint Layout #AndroidApps #topappdevelopmentcompanies http://www.topappdevelopmentcompanies.com/blog/android-studio-22-published-latest-ui-designer-constraint-layout

I am trying to use a DLL from Visual C in D10.1 and the declaration is this:

I am trying to use a DLL from Visual C in D10.1 and the declaration is this: void __cdecl setProperty (int state) I have declared my procedure as: procedure SetProperty (const autoCheck: Boolean); var tmpProc: procedure (state: NativeInt); cdecl; begin //Here I load the DLL in another procedure and keep the handler fHandle @tmpProc:=GetProcAddress(fHandle,'setProperty'); if Assigned(tmpProc) then begin if autoCheck then tmpProc(1) <--ERROR HERE else tmpProc(0); end; end; When I debug the code, tmpProc gets an address, which I think means that setProperty is loaded from DLL. Then when the code goes to tmpProc(1) I get the following error: Debug Output: Executable doesn't have required key in StringFileInfo: The specified resource type cannot be found in the image file. Process Project3.exe (4972) What does this mean? Thanks

From the Blaise Pascal Website:

From the Blaise Pascal Website: "The new UK 53 is published In this issue we have an exclusive interview with Atanas Popov C.E.O. of Embarcadero, " http://www.blaisepascal.eu/ http://www.blaisepascal.eu/

Hi

Hi Why the classes components are started with letter T Examples: TLabel, TDataModule, TEdit, T.........

I saw that the petition for Bold was closed so I reopened it on https://www.change.org/p/embarcadero-technologies-release-the-intellectual-property-of-bold-for-delphi.

I saw that the petition for Bold was closed so I reopened it on https://www.change.org/p/embarcadero-technologies-release-the-intellectual-property-of-bold-for-delphi . https://www.change.org/p/embarcadero-technologies-release-the-intellectual-property-of-bold-for-delphi

Ahh ! I hate losing time on such "conneries" !

Ahh ! I hate losing time on such "conneries" ! on a computer with 2 network cards, I had a Delphi/Firebird application that works perfectly and a second one that raise an "Unable to complete network request to host 192.168.13.1". The first application uses the IBDAC components, the second one uses IBX. It took me hours to understand that the only real difference between them is that IBDAC save the default port value (3050) while IBX do not. The 2 network cards had nothing to do with the problem, but there's a local firebird instance configured on port 3055, and this #$@ fb client tried to connect to a remote host with the port from the local server configuration !!!! C'est du grand n'importe quoi (in good french) someone to go whip the developer who did that !

Thomas Mueller As a comment to your recent blog article.

Thomas Mueller As a comment to your recent blog article. The way SQL Server treats converting string to datetime is determined by its dateformat setting. See https://msdn.microsoft.com/en-us/library/ms189491.aspx And I think the defaults are in fact ISO-8601 according to this article: https://msdn.microsoft.com/en-us/library/ms186724.aspx Be careful though with changing it as you might horribly break something.

Hi, everyone

Hi, everyone Im using indy component to connect to api / services on my mobile application. To send my application to AppStore , application has to support  IPV6. I trid to set IPVersion property to IPV6  for IdHTTP component but it didnt solve. Did anyone face that problem , or any idea to solve it? You can find the anouncement of the apple that wont support IPV4 anymore. https://developer.apple.com/news/?id=05042016a https://developer.apple.com/news/?id=05042016a

Any hints on why binedit changes an additional byte?

Any hints on why binedit changes an additional byte? http://stackoverflow.com/q/38609409/49925

I have a question for those using REST Datasnap (Http connection).

I have a question for those using REST Datasnap (Http connection). I'm basically retrieving a list of parcels and items (fetched from an SQL Database). These records are serialized thanks to a TFDJSONDataSetsWriter and finally sent to the client. On win32, no problems, it is almost instant while it can takes up to 10sec with my Android device ! On server side, (container) I have added Has anyone some experience with REST Datasnap and Android ? IS there some tweaks I need to know ?

Just spent a lot of time tracking a "non" bug.... Worst thing is that my Win32 project was running smooth and fine...

Just spent a lot of time tracking a "non" bug.... Worst thing is that my Win32 project was running smooth and fine... http://riversoftavg.com/blogs/index.php/2015/01/17/zerobasedstrings-just-dont/ Is it really the solution to adopt ? {$IFDEF NEXTGEN} {$ZEROBASEDSTRINGS OFF} {$ENDIF} Or shoud we better use this : Var BaseIndex:Integer; ... {$IFDEF NEXTGEN} BaseIndex :=0; {$ELSE} BaseIndex :=1; {$ENDIF} if Value[BaseIndex] = 'X' then.... Or better if Value[low(Value)] = 'X' then.... http://riversoftavg.com/blogs/index.php/2015/01/17/zerobasedstrings-just-dont/

Nice offer from EMB

Nice offer from EMB http://community.embarcadero.com/blogs?view=entry&id=8656 http://community.embarcadero.com/blogs?view=entry&id=8656

looking for a library etc. to facilitate communications via. CANbus using Delphi. Preferably XE5, but willing to look at all options at this stage.

looking for a library etc. to facilitate communications via. CANbus using Delphi. Preferably XE5, but willing to look at all options at this stage. Thanks

Does anybody have a version of Delphi Detours (https://github.com/MahdiSafsafi/delphi-detours-library) that works with Delphi 2007? Version at the githib claims to work with D2007, but it doesn't compile as it uses few language extensions that were introduced after D2007.

Does anybody have a version of Delphi Detours ( https://github.com/MahdiSafsafi/delphi-detours-library ) that works with Delphi 2007? Version at the githib claims to work with D2007, but it doesn't compile as it uses few language extensions that were introduced after D2007. I tried to make necessary changes but I ran into numerous internal compiler errors and decided to ask first ... https://github.com/MahdiSafsafi/delphi-detours-library

It has happened a few times in the past that I have generics that are constrained to only have interfaces as generic...

It has happened a few times in the past that I have generics that are constrained to only have interfaces as generic type parameters but only work when the interface type has a guid. Constraining on interfaces works but not on having a guid (I usually solve that by checking that at runtime and throw an exception with an appropriate message). However wouldn't it be so much nicer if I just could not compile such code because I can apply an additional constraint? https://quality.embarcadero.com/browse/RSP-15549 Now imagine if generics would also work for standalone routines and we could have a fully type-safe version of Supports that would look like this (yes, I know you can put that into a class or record to make it work): function Supports (const instance: IInterface; out intf: T): Boolean;

It has happened a few times in the past that I have generics that are constrained to only have interfaces as generic type parameters but only work when the interface type has a guid. Constraining on interfaces works but not on having a guid (I usually solve that by checking that at runtime and throw an exception with an appropriate message).

It has happened a few times in the past that I have generics that are constrained to only have interfaces as generic type parameters but only work when the interface type has a guid. Constraining on interfaces works but not on having a guid (I usually solve that by checking that at runtime and throw an exception with an appropriate message). However wouldn't it be so much nicer if I just could not compile such code because I can apply an additional constraint? https://quality.embarcadero.com/browse/RSP-15549 Now imagine if generics would also work for standalone routines and we could have a fully type-safe version of Supports that would look like this (yes, I know you can put that into a class or record to make it work): function Supports (const instance: IInterface; out intf: T): Boolean;

Has anybody an idea where I can find more detailed information on the security implications of wrapping a 32 bit dll in a 32 bit out of process COM server to be able to call the DLL from a 64 bit application?

Has anybody an idea where I can find more detailed information on the security implications of wrapping a 32 bit dll in a 32 bit out of process COM server to be able to call the DLL from a 64 bit application? I suppose it is less safe, but what would be the exact new attack vectors resulting from it - that make it less safe?

Hi there

Hi there, I am playing with the Sparkle updater on windows and I was wondering whether there are any up-to-date tools to create Appcasts. Thanks

Originally shared by Michael Thuma

Originally shared by Michael Thuma https://jonlennartaasenden.wordpress.com/2016/07/25/want-to-work-on-smart-mobile-studio/

I've seen others suggesting using a later version of the NDK for compiling for Android. I attempted to use NDK r12, however the resulting executable crashes (causes a SIGSEV) in _StrUInt64Digits in System.pas (called from GetICUVersion in ICU.inc) when the app is starting up. This is using Delphi 10.1 Berlin on a Samsung S7 Edge.

I've seen others suggesting using a later version of the NDK for compiling for Android. I attempted to use NDK r12, however the resulting executable crashes (causes a SIGSEV) in _StrUInt64Digits in System.pas (called from GetICUVersion in ICU.inc) when the app is starting up. This is using Delphi 10.1 Berlin on a Samsung S7 Edge. Has anyone managed to successfully use a later version NDK?

Title

Q: Is there a reason to move my Windows 32-bit application from XE2 to XE10? I recently received a sales call from Emb, asking me to upgrade to XE10. I wasn't sure how to respond, as I haven't evaluated it since XE7. However, I was under the impression that my source-code didn't have a lot to gain from it. I say this, because the product's market is Windows and I don't want to invest the dollars into it to optimize the code to use Generics or Anonymous Functions for no real reason. Don't get me wrong, it's not that I don't think other people have a use for it. Perhaps 64-bit would be useful, as a sales-tool, but I don't need large memory support for it to run. Emb mentioned WinRT mapping to the VCL, which sounds interesting, but I honestly don't know how I'd benefit from it.. is Win32 API targetted VCL applications going to be unsupported in Windows at some point in the future? So tell me, why do I need XE10 over XE2 for non-mobile developme

Is it only me or this code from the Delphi RTL source is really strange:

Is it only me or this code from the Delphi RTL source is really strange: procedure TDelegatedOleControl.CreateControl; var Stream: IStream; CS: IOleClientSite; X: Integer; begin FOleControl := nil; if FOleControl = nil then try ..... FOleControl is made nil and then checked. This sounds like trouble. Any opinions?

Title

Image
We updated the public trial version of TRichView to version 16.8. Main changes in this update include: - special colors for odd and even groups of table rows, heading rows, the last row; the same for table columns - widow/orphan control (avoiding page breaks before the last line and after the first line of paragraphs) - special objects for storing additional information in documents - applying styles from files to documents. We also updated our installer, it now supports installing optional packages, and we used this feature to install packages integrating our components with other third-party components (Addict 4, ReportBuilder 17, THTMLViewer, DeveloperExpress VCL). Also, it now uses the more traditional package scheme (runtime + designtime packages). The source code of the installer will be available soon. By the way, we created an utility for package generation: by the specified lists of units, dcr files and required third-party and standard packages, it generates packages (compati

Anybody? Thanks!

Anybody? Thanks! http://stackoverflow.com/questions/38568940/can-i-lock-a-4gb-or-larger-memory-block-by-calling-setfileiooverlappedrange-mult

Interesting to see Delphi included in the salary survey. Weird that C comes out so low, though could explain the security issues in all the recent IoT stuff...

Interesting to see Delphi included in the salary survey. Weird that C comes out so low, though could explain the security issues in all the recent IoT stuff... Originally shared by Nerdy Lab http://nerdylab.cf/article/todays-top-3-programming-languages-javascript-python-java Today's top 3 programming languages: Javascript, python, java http://nerdylab.cf/article/todays-top-3-programming-languages-javascript-python-java

Hello guys

Hello guys, Please vote for Binary literal support in Delphi https://quality.embarcadero.com/browse/RSP-15539 Thanks in advance :D https://quality.embarcadero.com/browse/RSP-15539

I want to run a process in my Delphi application so that it will not wait for a particular function execution during the processing.

I want to run a process in my Delphi application so that it will not wait for a particular function execution during the processing. This Function has been written as part of this process, as it is mail sending function and takes long time to send mail we don't want to wait for this function execution. Any help would be appreciated.

For a limited time, the Coding in Delphi bundle is $10 off, at $54.99. That's a total savings of $25 off the purchase of both books!

For a limited time, the Coding in Delphi bundle is $10 off, at $54.99. That's a total savings of $25 off the purchase of both books! https://leanpub.com/b/codingindelphibundle https://leanpub.com/b/codingindelphibundle

LOL, up to date, isn't it?

Image
LOL, up to date, isn't it? awesomecow.com
Pessoal alguém tem algum exemplo de comunicação com banco de dados MySQL Delphi XE Android, IOS com FireDAC?

Sistema auto backup MySQL ótima ferramenta free.

Sistema auto backup MySQL ótima ferramenta free. https://sourceforge.net/projects/backupautomaticomysql/?source=directory

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) Updated GExperts Documentation I added some new pages to my blog to document all the changes and improvements I have made to GExperts that so far are not in the official documentation. http://blog.dummzeuch.de/2016/07/23/updated-gexperts-documentation

What data access mechanisms are currently popular / decent within Delphi and C++Builder? Obviously ODBC can be used, and I remember something about DBExpress. Anything else?

What data access mechanisms are currently popular / decent within Delphi and C++Builder? Obviously ODBC can be used, and I remember something about DBExpress. Anything else? Maybe you came across some comparison / review that could be of use for me - that would be ideal. While working on security and networking I tried to stay away from DB stuff, so this area is completely new to me. Thank you in advance for your answers.
Big spaming..someone has alot of deleting of threads to do at EMB Developer Network Forum!

Bug or not? http://stackoverflow.com/questions/38535874/delphi-xe-byte-array-index

Bug or not? http://stackoverflow.com/questions/38535874/delphi-xe-byte-array-index

Hello all

Hello all, I just made a commit to my Library on GitHub "HashLib4Pascal" . This commit involves 1. Added Unit Tests 2. Various Fixes for Issues found out by the Unit Tests. 3. Updated README. This Unit Tests has been executed on Delphi 10 Seattle and FPC 3.0.0 and Passed Successfully. It will be appreciated if other people with Delphi 2010 and above will help check if the tests pass on them. https://github.com/Xor-el/HashLib4Pascal https://github.com/Xor-el/HashLib4Pascal

AAAHHH !

AAAHHH ! do the blue arrow hang also Berlin for you ? I use the blue navigation buttons on Berlin to go back to the previous position after a Ctrl + Click but it often freeze the IDE (perhaps after switching to an other source tab)

I'm have been having issues with the rss feed from https://www.beginend.net/ lately (as in: For several weeks). The entries are not in chronological order any more. I get very old posts at the top and the order seems to change with every request.

I'm have been having issues with the rss feed from https://www.beginend.net/ lately (as in: For several weeks). The entries are not in chronological order any more. I get very old posts at the top and the order seems to change with every request. Am I the only one? I'm using http://www.netvibes.com to read it, maybe it's not a begin..end issue but a Netvibes issue. But other feeds work fine there. https://www.beginend.net

Hello guys

Image
Hello guys, I have changed the text editor theme in Visual Studio and RAD Studio (via Delphi IDE Theme Editor), I searched for some themes on https://studiostyl.es/ and found SweetCode ( https://studiostyl.es/schemes/sweetcode ) a pretty nice theme :D In Visual Studio it looks nice but in RAD Studio it loses its luster :( I would love to be able to colorize: - Type - Base types - Global functions - Enums Types could have 2 different ways to color: one for type declaration and another for type usage (in case of accessing static members). In a different way to make things more clear when typing the code. Thanks in advance :D

"InterBase is the ultra-fast, scalable award winning multi-platform embeddable SQL database with commercial grade data security, disaster recovery and change synchronization."

"InterBase is the ultra-fast, scalable award winning multi-platform embeddable SQL database with commercial grade data security, disaster recovery and change synchronization." I just won Buzzword Bingo by reading a single sentence (sorry Stephen). https://delphiaball.co.uk/2016/07/21/interbase-webinar-ultimate-embedded-database/

Tenemos un gravisimo error con Berlin 10.

Tenemos un gravisimo error con Berlin 10.1, VAR and OUT arguments must match parameter type exactly solo prueben el demo que esta en radstudiodemos\branches\RADStudio_Berlin\Object Pascal\DataSnap\Basic. He tenido que devolverme a seattle porque ahi si funciona.

Tenemos un gravisimo error con Berlin 10.1, VAR and OUT arguments must match parameter type exactly solo prueben el demo que esta en radstudiodemos\branches\RADStudio_Berlin\Object Pascal\DataSnap\Basic.

Tenemos un gravisimo error con Berlin 10.1, VAR and OUT arguments must match parameter type exactly solo prueben el demo que esta en radstudiodemos\branches\RADStudio_Berlin\Object Pascal\DataSnap\Basic. He tenido que devolverme a seattle porque ahi si funciona.

How to gaing access to a Property of an object in a TObjectList.

How to gaing access to a Property of an object in a TObjectList. This is a question about Fast-Script, from fast Reports company. I have the next classes into a File: TConfigCompProps = class(TObject) FCD_COMPONENT :string; FDS_COMPONENT :string; FQTY_QUANTITY :Double; FFRONT :Integer; FDEPTH :Integer; FTHICK :Integer; FCD_COLOR :string; FPACKAGE :Integer; FPROGRAM_ID :String; FPRI_UNIT :Double; FEXPLANATION :string; published property CD_COMPONENT :string read FCD_COMPONENT write FCD_COMPONENT; property DS_COMPONENT :string read FDS_COMPONENT write FDS_COMPONENT; property QTY_QUANTITY :Double read FQTY_QUANTITY write FQTY_QUANTITY; property FRONT :Integer read FFRONT write FFRONT ; property DEPTH :Integer read FDEPTH write FDEPTH ; property THICK :Integer read FTHICK write FTHICK ; property CD_COLOR :string r

I want to help .

I want to help . I want to know how you can send a SMS by mobile phone in Delphi. Thanks for Help

I want to help .

I want to help . I work on the application and I need to bring images from the Internet and show it to the user Please, how can this work

I am running a Delphi app as a seamless remote app. I am sure that I have read in the past that VCL applications create a 0x0 hidden window as well as the main application window. I think it is related to the TApplication object. If this is the case, it would explain why I have two windows showing on the task bar each time I run this app.

I am running a Delphi app as a seamless remote app. I am sure that I have read in the past that VCL applications create a 0x0 hidden window as well as the main application window. I think it is related to the TApplication object. If this is the case, it would explain why I have two windows showing on the task bar each time I run this app. One shows, as it should do the app name. The other just shows (remote) with no other name and there are only two options available (minimise and close). Closing it closes the main app, so I am sure that they are related. Is there any way to prevent this and only show the main application window?

Delphi reports in the output window the dcc32 commands needed to do the build. I need to copy that collection of strings and use it myself to drive dcc32 from a separate app, so I can log the output of the compiler, with time stamps.

Delphi reports in the output window the dcc32 commands needed to do the build. I need to copy that collection of strings and use it myself to drive dcc32 from a separate app, so I can log the output of the compiler, with time stamps. As it turns out, that is more challenging than expected. The collection of strings is large, and I have yet to convert them into a single long string which dcc32 will accept. I note in passing that dcc32 also complains of file names that are too long. It seems to have a limit at 260 characters. But perhaps that is an old Windows limit. Anyway, if anyone has gone through this process successfully, suggestions would be welcome.

Hello guys

Hello guys, Is it a good idea caching calls to Length(Array)? Can I end up preventing the compiler from doing some optimizations like avoiding bounds checking (once you will never overflow a array, so the value returned won't jump off the bounds)? Does the Delphi compilers cache Length(Array) call in Loop conditional? I mean ~> in this loop while(i < Length(Array)) do ... Will Length() get called everytime the loop runs? Has anyone ever experienced any improvement with this optimization? Or is it a premature optimization? Thanks in advance :D

Title

Image
Summer Price for TECNativeMap Most flexible and most complete cartographic components for Delphi. http://www.helpandweb.com/ecmap/en/tecnativemap.htm

20 years next week !

Image
20 years next week !

Currently Hiring Delphi Developers in the Dallas-FT Worth Area. If you are interested and would like to discuss please email me your resume at james.ringer@insightglobal.net or call 972-541-0099 and ask for James. Also if you know anyone that would be interested in this opportunity feel free to send me their contact information.

Currently Hiring Delphi Developers in the Dallas-FT Worth Area. If you are interested and would like to discuss please email me your resume at james.ringer@insightglobal.net or call 972-541-0099 and ask for James. Also if you know anyone that would be interested in this opportunity feel free to send me their contact information. The requirements and job details are listed below: Must have* 5+ years of experience with Delphi up to XE5 XE7 or XE8 experience preferred (also known as Delphi 10) 3rd party library experience (Blackbox, Eldos, Secure BL, etc.) SSL/TLS basic understanding Experience with security protocols and data encryption Plusses * C++ Experience with payment terminals Day-2-Day * As the Delphi Developer, this person will be working on the payment gateway client library. They will be responsible for the design and implementation of the payment devices to the solution that is in place. They will also be working with a team of solutions architects on the design of the softwa

Berlin 10.1

Berlin 10.1 Is this a bug in vcl DBGrid or am I missing something? When you switch DBGrid>Options>dgIndicator to False then you cannot edit the first column of the grid. It becomes read only.

Hello guys

Hello guys, Is there binary literal support in Delphi? I mean I can express numbers in binary way and it is resolved at compile time, something like this: 0b00000100 from C#7 and C++14 When I am still able to use hexadecimal representation, the binary way is a lot more representative when creating bitmasks and doing bitwise operations. For example, when you want to extract GIF metadata, you will have to parse the Logical Screen Descriptor block, and it needs some bitwise operations to extract fields in the packed fields byte. Instead of writing this: $80 -> 1000 0000 ~> this mask will check if the file contains a global color table $07 -> 0000 0111 ~> this mask will extract the size of the global color table The binary representation is more aligned with the file documentation, since GIFs are binary files (this also apply to many other binary file formats), and looks much better to understand at the first time you see the code. I would love to see a way to write my masks in

Hello

Hello, I would like to create a trial version for 30 days to ine ANDROID application. My problem is that the user can uninstall and reinstall my software. Giving it a new a 30-day trials. My ini file is destroyed during the deinstallation. I also try to use SharedPreferences but the same problem has deinstallation. Someone does know a solution? ------------------------------------------- Bonjour, J'aimerais creer une version essai pour 30 jours pour ine application ANDROID. Mon probleme est que l'usager peut deinstaller et reinstaller mon logiciel. Ce qui lui donne a nouveau un 30 jours d'essais. Mon fichier .INI est detruit lors de la deinstallation. J'ai aussi essaye d'utiliser SharedPreferences mais meme probleme a la deinstallation. Quelqu'un connais-t-il une solution? -----------------------------------------------------

I have a DLL that runs as a terminal services addin. It provides communication between a host computer and an application running on a remote desktop (as a remote app). I need to be able to guarantee that when the user clicks on a control on the host computer, the terminal services application is brought to the foreground.

I have a DLL that runs as a terminal services addin. It provides communication between a host computer and an application running on a remote desktop (as a remote app). I need to be able to guarantee that when the user clicks on a control on the host computer, the terminal services application is brought to the foreground. Has anyone done this and would they be prepared to share a code sample? I have tried a number of methods, none of which appear to work consistently.

Title

I'm using DataSnap with FireDac TStoredProc to comunicate with server. I'm sending STRINGS( querys ) to the server: Ex1: ( INSERT ) Insert Into oses_pecas ( codigo,CODIEMP,CODIOS,CODIPROD,VALORUNIT,QTDE,TOTALPROD,OBS1,TIPOOS,DESCRICAO,CODICLI,VALOR_REAL,DATA,CODIFUNC1,DEVOLVIDO,CODICATEGORIA,PORTA ) Values ( 147117,1,67801,46,13,1,13,'C VERD',2,'FILE 2',10,13,'19.07.2016',2,'N',0,'\\RAFAEL-PC\TM-T81' ) Ex2: ( UPDATE ) The server show me this error: #unit: FireDAC.Comp.Client #erro: [FireDAC][Phys][FB]Dynamic SQL Error SQL error code = -104 Unexpected end of command - line 2, column 52132555 What can I do ?

https://youtu.be/K1rl_nPHPw0

https://youtu.be/K1rl_nPHPw0 https://youtu.be/K1rl_nPHPw0

Currently "fighting" trying to obtain a good codegen (for speed) on swapping dynamic array items (Int32, Int64, Single etc) in both cpu x86 and 64bit.

Currently "fighting" trying to obtain a good codegen (for speed) on swapping dynamic array items (Int32, Int64, Single etc) in both cpu x86 and 64bit. The typical asm xchg trick to swap two integers does not help too much. var X : Array of Integer; // Int64 ... ExchangeItems(X,23,45) // X[23] <--> X[45]

This code

This code procedure Foo; var arr: TArray ; d: Double; begin for d in arr do ; end; Produces this hint: [dcc32 Hint] Project1.dpr: H2077 Value assigned to 'd' never used Anyone know a good way to suppress the bogus hint? I would prefer keep using a for/in loop rather than a classic for loop, but I'm beginning to feel that the classic for loop is the least painful option. I want to use the for/in loop because in various other places in my code I use the for/in and use the loop value and want to have consistency across related code blocks.

Hello!

Hello! Suppose you have a generic type such as this: Type TMyGeneric = class End; Can you declare a "class of" this thing? Does anybody know? Thanks :) A

Generics, records and typecasts = F2084 Internal Error: AV0DBFFBE9-R0000000C-0

Generics, records and typecasts = F2084 Internal Error: AV0DBFFBE9-R0000000C-0 // redux - not actual code type TKey = record Index: Integer; end; TSomeClass = class abstract procedure CopyTo(var Key: TKey); virtual; abstract; procedure CopyFrom(var Key: TKey); virtual; abstract; end; TKeyValue = record Key: TKey; Value: T; end; TIndexList = TArray ; TKeyValueList = TArray >; TSomeClass = class(TSomeClass) public type TValueList = TArray ; private var ValueList: TValueList; procedure CopyTo(var Key: TKey); override; procedure CopyFrom(var Key: TKey); override; end; procedure TSomeClass .CopyTo(var Key: TKey); begin TKeyValue (Key).Value := ValueList[Key.Index]; // OK end; procedure TSomeClass .CopyFrom(var Key: TKey); begin ValueList[Key.Index] := TKeyValue (Key).Value; // F2084 Internal Error: AV0DBFFBE9-R0000000C-0 end; CopyTo/From called with a list of TKeyValue params. I guess I was asking

More memorabilia...

Image
More memorabilia... From around the same era as https://plus.google.com/u/0/+JeroenPluimers/posts/Ve268U6mYev

Related to Delphi (bear with me)

Related to Delphi (bear with me) I need to create programs for our work (in house) mostly database and soon (I hope) with android as entry devices. We have mostly 7, some XP and 8.1, x32/x64 What advice can you share about using windows 10 instead of 8.1 to use Delphi? I ask because I see a lot of Delphi developers sharing videos and screen shoots that shows w10. I think that the majority will need to use w10 because they need to be on the current windows platform and maybe because they like it. I don't want to stir a war. And I really want to be aware of the issues that as a Delphi developer you need to fight almost daily with w10, maybe you have seen forced reboots, hangs, incompatibility issues with compiled application in w10 that occurs in previous windows versions (xp, 7, 8.1) Have you seen problems in W10 with Delphi (Seattle, Berlin): crash, hangs, activation issues, that hopefully don't occurs in 7 or 8.1? Or maybe you have seen an improved stability of Delphi in w10?

Berlin, my first VCL project, a couple of forms and a dozen of frames, nothing special except a good sensation with this (for me) new IDE.

Berlin, my first VCL project, a couple of forms and a dozen of frames, nothing special except a good sensation with this (for me) new IDE. Today Code Completion suddenly stopped working. Any other project that I have opened so far has nothing to note about it: pressing Ctrl+Space is perfectly operative. Nothing helped have moved the project in another, new, folder or deleting all project accessories files except dpr file: any help?

I continue to explore in a large legacy project, hoping to puzzle out something more about unit dependency cycles. Specifically, the problem is in trying to find which units are actually causing the issue, and which are simply along for the ride.

I continue to explore in a large legacy project, hoping to puzzle out something more about unit dependency cycles. Specifically, the problem is in trying to find which units are actually causing the issue, and which are simply along for the ride. There is a very good reason to want to find this. The problem is in getting buy-in to proceed, when after hours of work, there is little measurable benefit. Yes, I can document the number of such cycles removed, but the real issue is impact on build time, and if I can't show a significant improvement, then the casual of cost/benefit is rather negative.
One thing I miss in the FMX form designer, are the guide lines that assist with aligning visual components. VCL(which is older) has them, but FMX does not. Surely this would be a good addition to FMX or am I the only one that misses them?

I try to compile my project for android. The project uses Spring4D and works fine under win32.

Image
I try to compile my project for android. The project uses Spring4D and works fine under win32. When I try to compile it under android I have a problem with compilation of Spring.Collections.Lists unit. Compilator error: [DCC Error] Spring.Collections.Lists.pas(269): E2003 Undeclared identifier: 'Event<>' [DCC Fatal Error] Spring.Collections.Base.pas(2310): F2063 Could not compile used unit 'Spring.Collections.Extensions.pas' I attach a screenshot of my Delphi XE7. Please show me the way.
Title

Originally shared by Thomas Mueller (dummzeuch)

Image
Originally shared by Thomas Mueller (dummzeuch) The Delphi IDE explorer now displays TStrings properties. Also, for TMainMenu, TPopupMenu, it shows the menu items it contains, and for TActionList and TActionManager the actions it contains.

Hi All

Hi All Could you tell me how to connect MySQL Database located in my Webhost, i have Host and i create 1 Database in MySql, i need to access that Database from my Application over internet, can you tell me how to connected ?

question to the group: Does this: https://en.wikipedia.org/wiki/Year_2038_problem

question to the group: Does this: https://en.wikipedia.org/wiki/Year_2038_problem affect Delphi's tdatetime (or tTime) or similar (for 32 bit) ? https://en.wikipedia.org/wiki/Year_2038_problem
Today I went to a twice monthly event not far from where I live called "code and coffee". About 70 to 80 people show up, separate into interest groups (Java, javascript, python,...) then discuss and code apps. I was sitting with a bunch of 20 and 30 somethings and mentioned I use Delphi everyday at work. They had no idea what Delphi was (one of them said he might have heard about it in the past). I had to explain to them what it was. At first, they sounded excited, when I told them it can be used to create multi platform apps. Then they asked what it cost...when I told them what it cost to be able to write those apps, they were sort of shocked. Then they looked up Delphi jobs on Indeed and Dice, for the local market, and completely lost interest.

procedure TForm1.Button1Click(Sender: TObject);

procedure TForm1.Button1Click(Sender: TObject); begin try Form1:=TForm1.Create(nil); Form1.ShowModal; finally FreeAndNil(Form1); end; end; //--------------- everything works just fine at the first time when i click the button when i close it and click the button again i get access violation error at adress 00DB047D ... there is nothing in the OnCreate event for the Form1 ... i checked the form if it nil after close it it's says nil i don't know what i'm doing wrong ,for the record everything was working normal before
Hey guys could help me with doubt , please which the importance of onCreate and OnDestroy events in DataModule thanks to all .

Made with Delphi, startet with BP 7.0

Image
Made with Delphi, startet with BP 7.0 My first pascal was TP 3.0 on CPM. Some parts of these Project are more the 25 Years old and compiles in XE7 in the last half year there was a big refactoring. Using now Spring for all Lists, etc.. The graphics part is opengl.

Hello all

Hello all, Happy to find this group. Am Delphi developer since 1995 (D4) and manage an enterprise software application written in Delphi from 95 to present. Always glad to see others out here. Also work with .Net and SQL Server

Sorry for the noob question. I'll do my best asking this.

Sorry for the noob question. I'll do my best asking this. How the best way to return the focus to the visual component responsible for a data field that raise an exception in data validation? I made a detailed example of what I mean by that: https://gist.github.com/dipold/7c75821fba7a10ec1dad6620b8fcd141

Memorabilia...

Image
Memorabilia...

consider

consider TBase = class public const Snafu = 1; public type TInnerBase = class Foo:Integer; end; public procedure Bar(const Inner:TInnerBase); virtual; abstract; end; TDerived = class(TBase) public procedure Bar(const Inner:TBase.TInnerBase); override; end; procedure TDerived.Bar(const Inner: TBase.TInnerBase); begin Inner.Foo := Snafu; end; It nags me that I have to qualify TBase.TInnerBase, while I do NOT have to write TBase.Snafu; I wish I could drop the TBase. qualification part for types as well.

More information for those looking at the UWP Desktop Bridge. It also lists some of the limitations.

More information for those looking at the UWP Desktop Bridge. It also lists some of the limitations. https://blogs.windows.com/buildingapps/2016/07/14/choosing-the-path-forward-for-existing-desktop-apps-4/

Further problems with arrays...

Further problems with arrays... I have function: function ArrayToDelimitedString(const aArray: array of const; const aSeparator: Char): string; I want to pass to this function parameter of type TArray : UA : TArray ; s := ArrayToDelimitedString(UA, ','); ...and I get error: [dcc32 Error] E2010 Incompatible types: 'array of TVarRec' and 'System.TArray ' How to solve this problem? http://System.Ca

Hello!

Hello! A small update has been made to my git repo :) https://github.com/DeerBear/ARLibs/ https://github.com/DeerBear/ARLibs

Are you interested in using OTL on mobile platforms? On OS/X? With Firemonkey? We need your input.

Are you interested in using OTL on mobile platforms? On OS/X? With Firemonkey? We need your input.

Just looked at it (not in depth) but hey it has Pascal too (and LOTS of other languages)

Just looked at it (not in depth) but hey it has Pascal too (and LOTS of other languages) https://www.codingame.com/start https://www.codingame.com/start

Hi All

Hi All I need to Generate Report from Table and send email to system assign email address can you help me how to do that in Delphi XE8 with MS SQL Database

How would I be able to make my "tab stops" user selectable?

How would I be able to make my "tab stops" user selectable? I am writing to a dot matrix printer using Epson Esc- codes. write(F,#27 + 'D' + #7 + #23 + #46 + #61 + #0); // Set horizontal tabs How would I change this code to make one or more of the tab stops "variable"?

Method body from TStringBuilder (Berlin):

Method body from TStringBuilder (Berlin): function TStringBuilder.Append(const Value: string): TStringBuilder; begin Length := Length + System.Length(Value); Move(PChar(Value)^, FData[Length - System.Length(Value)], System.Length(Value) * SizeOf(Char)); Result := self; end; Function Length(Value) is called three times. Is it better would be if string length was calculated once and stored in a local variable?

Andreas Hausladen is it possible that this bug has something todo with your System.ByteStrings for 10.1 Berlin ?

Andreas Hausladen is it possible that this bug has something todo with your System.ByteStrings for 10.1 Berlin ? Originally shared by Yusuf Zorlu (MicrotronX) Bugs in Delphi 10.1 Berlin with Rest-Clients is a show-stopper, is there anyone knowing how to fix that? See ticket: https://quality.embarcadero.com/browse/RSP-15376 Marco Cantù can you help us? https://quality.embarcadero.com/browse/RSP-15376

Andreas Hausladen is it possible that this bug has something todo with your System.ByteStrings for 10.1 Berlin ?

Andreas Hausladen is it possible that this bug has something todo with your System.ByteStrings for 10.1 Berlin ? Originally shared by Yusuf Zorlu (MicrotronX) Bugs in Delphi 10.1 Berlin with Rest-Clients is a show-stopper, is there anyone knowing how to fix that? See ticket: https://quality.embarcadero.com/browse/RSP-15376 Marco Cantù can you help us? https://quality.embarcadero.com/browse/RSP-15376

Can we please get a few more upvotes for this feature request?

Can we please get a few more upvotes for this feature request? https://quality.embarcadero.com/browse/RSP-14867 I know we discussed this already in another post but I think this feature is really nice and will lead to cleaner and more robust code. What I expect: - exact same rules as with initializing global variables with one exception: the initialization will happen every time the routine is called - initialization should happen during the prologue of the routine just as it happens with initialization of managed types variables (like strings, managed records, interfaces, ...). Before you come up with some made up code example and how it would make things harder to read, understand or debug: please make sure the code you post would stick to the rules I explained above because if it does not we don't need to discuss it.

https://youtu.be/lpn2tmX-UAQ

https://youtu.be/lpn2tmX-UAQ https://youtu.be/lpn2tmX-UAQ

Windows trying to be clever, again :-(

Windows trying to be clever, again :-( http://stackoverflow.com/a/38362074/49925

A major update for the TMS Cloud Pack for FireMonkey is available now. What's new in v3.1:

A major update for the TMS Cloud Pack for FireMonkey is available now. What's new in v3.1: - New : Incremental hierarchical cloud storage retrieval in Google Drive, OneDrive, DropBox, Box.net, Amazon Cloud Drive cloud storage components for faster operation - New : Introducing TTMSFMXCloudTreeviewAdapter : A helper component to automatically and progressively visualize the file structure in a TTreeView component. - New : Introducing TTMSFMXCloudTMSTreeviewAdapter : A helper component to automatically and progressively visualize the file structure in a TTMSFMXTreeView component. Available separately ( http://www.tmssoftware.com/site/tmsfmxcloudpack.asp ) and also included in TMS Cloud Studio ( http://www.tmssoftware.com/site/tmscloudstudio.asp ) with support for VCL, LCL, FMX, IntraWeb and .NET.

Hello guys

Hello guys, I feel the Enhanced Class/Record Helper support (Expanded Helpers) is each time more necessary to decorate the RTL APIs and extend the behaviour. Please, vote for: https://quality.embarcadero.com/browse/RSP-10336 https://quality.embarcadero.com/browse/RSP-13340 Expanded Helpers includes: - Possibility to define a helper for a class and use its methods in a derivated class. - Possibility to define a helper for a interface. - Possibility to use multiple helpers at once. - Possibility to use Type Aliasing without messing the helper lookup. - Possibility to define a helper for a generic type. Thanks in advance :D

I have some projects working on Seattle, that I wish to port to Berlin. To try to accomplish I copy the Seattle's project code to a new folder for Berlin.

I have some projects working on Seattle, that I wish to port to Berlin. To try to accomplish I copy the Seattle's project code to a new folder for Berlin. I want to compile and obtain an exe and dcu separated for the release of delphi: 1) I use the "CompilerVersion" in the Project options-Delphi compiler-for the Output directory, Unit output directory settings: Currently: E:\code\CoolProject\OUT\$(Platform)\$(Config) To: E:\code\CoolProject\OUT\$(CompilerVersion)\$(Platform)\$(Config) The compiler ignore the sub-folder for the "CompilerVersion" - I manage to use the {$CompilerVersion} in the dpr and it works: {$IF CompilerVersion = 31} something in '..\..\..\COMMONXE101\unit1.pas', {$ELSE} something in '..\..\..\COMMONXE10\unit1.pas', {$IFEND} FormX in 'FormX.pas' {Form1}, System.SysUtils Thanks in advance

Originally shared by Gnostice.com

Originally shared by Gnostice.com Gnostice StarDocs On-Premises trial released. Gnostice is pleased to announce the availability of the beta trial of the Gnostice StarDocs On-Premises edition. You can now download the virtual appliance and host it on your virtualization platform on your private servers. StarDocs provides Web APIs to enable a variety of document processing and document viewing scenarios. StarDocs is available as a cloud-hosted API service and as a virtual appliance that you can deploy on-premises. To know more about StarDocs, please see this introductory article: http://www.gnostice.com/nl_article.asp?id=385 To download the On-Premises trial virtual appliance, please go here: http://www.gnostice.com/StarDocs.asp?show=trial You can also try StarDocs online at: https://demos.gnostice.com/demos/stardocsdemo/ We have also released the Delphi demo source and a Delphi EXE demo powered by StarDocs. You can download them here: http://www.gnostice.com/StarDocs.asp?show=doc StarD

Does anyone know if there is a shared library anywhere of user-built VCL (or FMX) styles? Seems like it would be a nice idea to share some of the good styles that people come up with.

Image
Does anyone know if there is a shared library anywhere of user-built VCL (or FMX) styles? Seems like it would be a nice idea to share some of the good styles that people come up with. For instance, I'd like to take the Windows 10 style and make a blue version of it (different from the old Windows 10 Blue style that made everything blue, whereas the newer Windows 10 style with Delphi 10 is more subtle, but is black & white).

So... after discovering a couple of bugs in the Service Builder :P

So... after discovering a couple of bugs in the Service Builder :P I am now facing a different issue: code completion does not work. I have already tried to change the symbols options as some googling suggested but no cigar. It just doesn't really work, Ctrl+space does nothing. Suggestions?

I'm looking for some color interpolation code using CIELAB L*a*b* (aka Lab), but my google-fu is failing me.

I'm looking for some color interpolation code using CIELAB L*a*b* (aka Lab), but my google-fu is failing me. All I get is RGB and HSL code.
I'm looking for some color interpolation code using CIELAB L*a*b* (aka Lab), but my google-fu is failing me. All I get is RGB and HSL code.

My short review for Delphi Cookbook 2ed.

My short review for Delphi Cookbook 2ed. http://tmssoftware.com/site/blog.asp?post=355

I have everlasting problems with incompatibility types TArray and "array of T".

I have everlasting problems with incompatibility types TArray and "array of T". Do you think that it is better to try to use generic type everywhere or the classic dynamic arrays?

Working with Interfaces is surprising

Working with Interfaces is surprising just noticed that the nice compact code myList.Sort(TMyComparer.Create); leads to a memory leak while intfComp: IComparer ; ... intfComp:= TMyComparer.Create; myList.Sort(intfComp); does free the interfaced object correctly. Looks as the "const" of the parameter declaration is the Sort does prevent the compiler adding the add/remove refs. I tested that and SortX (no const parameter) does free properly. procedure TListX .SortX(AComparer: IComparer ); begin   Sort(AComparer); end; Is that not a complete violation of the concepts that the implementation details should not influence the calling code. Has a developer really to take are on such traps?

Just installed (finally) Berlin.

Just installed (finally) Berlin. Trying to build the project, I get this error: '' is not a valid GUID value Which isn't very helpful. Suggestions? Thanks!
Does anyone know how to personalize context menu of edit window. Probably, as most of you, I have never used commands like 'Close Page', 'Close All Others Windows', so I would prefer to disable them.
This is embarrasing, I forgot variant expressions "and" and "or" do not short-circuit boolean evaluation

Hi

Hi, I've created an app in Delphi 10.1 Berlin.I dropped a TListView on the form and customized it using the new Toggle Design Mode. I added a TImageObjectAppearance. I can connect it to a database, but what is the way to assign an image from the form or imageList? What's the proper way to assign images to a TImageObjectAppearance in code? Than'ks Xavi Pallicera

If any one interested to work as Release manager for GetIt.

If any one interested to work as Release manager for GetIt. https://www.upwork.com/job/Release-Manager-for-GetIt_~01bc321c7e6f06e8bc

Is it possible (in any Delphi version) to have "Conditional defines", under project options, point to a file containing conditional defines instead of having conditional defines declared at that location in Project Options? I want to avoid having to include a conditionals.inc file to every unit unnecessarily if at all possible.

Is it possible (in any Delphi version) to have "Conditional defines", under project options, point to a file containing conditional defines instead of having conditional defines declared at that location in Project Options? I want to avoid having to include a conditionals.inc file to every unit unnecessarily if at all possible. Thanks, Ryan

https://youtu.be/CIpUPPzldJ4

https://youtu.be/CIpUPPzldJ4 https://youtu.be/CIpUPPzldJ4

A major update for our TMS Component Pack (http://www.tmssoftware.com/site/tmspack.asp) has been released. What's new in v8.3.0.0:

A major update for our TMS Component Pack ( http://www.tmssoftware.com/site/tmspack.asp ) has been released. What's new in v8.3.0.0: - New: Introducing TAdvSearchList v1.0.0.0: Multicolumn list with optional categories with built-in incremental filtering mechanism - New: Introducing TAdvSearchEdit v1.0.0.0: Edit control with automatic filtered lookup in multicolumn dropdown list with optional categories - New: Introducing TAdvSearchEditEditLink v1.0.0.0: Non-visual component to automatically use TAdvSearchEdit as inplace editor for TAdvStringGrid, TDBAdvGrid - New: Introducing TAdvResponsiveList (preview) v1.0.0.0: List control following responsive design principles to dynamically adapt content to client area of the control - New in TAdvTreeView v1.1.0.0: Clipboard support, column sorting, Drag & Drop support , Reordering, Filtering & Keyboard Lookup Access to the new components, latest versions, improvements, new features in over 400 VCL components for building feature-ric

TMS Cloud Pack v3.6.0.0 has been released. What's new:

TMS Cloud Pack v3.6.0.0 has been released. What's new: - New: Incremental hierarchical cloud storage retrieval in Google Drive, OneDrive, DropBox, Box.net, Amazon Cloud Drive cloud storage components for faster operation - New: Introducing TCloudTreeviewAdapter: A helper control to automatically and progressively visualize the file structure from CloudStorage in a TTreeView component. - New: Introducing TCloudAdvTreeviewAdapter: A helper control to automatically and progressively visualize the file structure from CloudStorage in a TAdvTreeView component. Available separately: http://www.tmssoftware.com/site/cloudpack.asp and also included in TMS Cloud Studio: http://www.tmssoftware.com/site/tmscloudstudio.asp

The ADUG Winter Symposium is an all day Delphi event packed with technical content. It will be held on 4th August in Sydney and 5th August in Melbourne.

The ADUG Winter Symposium is an all day Delphi event packed with technical content. It will be held on 4th August in Sydney and 5th August in Melbourne. I’m really excited about the line up for this year, it’s one of the most diverse and interesting programmes we’ve put together. The topics for this year are: * Modern Delphi Object Relational Mapping and Delphi roadmap update * Pascal Programming for Raspberry Pi with open source Ultibo * Computational Computing * Marketing for developers The Symposium is open to all and costs just a fraction of what you’d pay at other developer conferences. Early-bird pricing will end in just a few days so register ASAP to get the best deal. http://www.adug.org.au/meetings/symposiums/2016-symposium/

I wonder if it tastes like Pascal.

Image
I wonder if it tastes like Pascal.

Non-technical question:

Non-technical question: I find reading messages in this group clumsy and much less efficient than almost any other social media I use. (Of course that's just my opinion.) How do members read Google+ groups? Do you use the browser interface? Are there other newsgroup readers? How do subscriptions triggered by /sub work?

FYI

FYI https://developer.microsoft.com/en-us/windows/bridges/desktop

I just noticed something: if I change the editor font away from "Courier" to "Hack" the following annoying display...

Image
I just noticed something: if I change the editor font away from "Courier" to "Hack" the following annoying display bug is solved: Very minor, but it always bugged me that comments were cut off. After changing the font the issue went away. (I've been using this font for about 2 weeks now, but only noticed now :) Disclaimer: if you zoom in on the picture you'll see that the cutting off still happens with the hack font, it's just a lot less noticeable.

I just noticed something: if I change the editor font away from "Courier" to "Hack" the following annoying display bug is solved:

Image
I just noticed something: if I change the editor font away from "Courier" to "Hack" the following annoying display bug is solved: Very minor, but it always bugged me that comments were cut off. After changing the font the issue went away. (I've been using this font for about 2 weeks now, but only noticed now :) Disclaimer: if you zoom in on the picture you'll see that the cutting off still happens with the hack font, it's just a lot less noticeable.

I distinctly remember that somebody somewhere announced an expert that prevents debugger from stepping into selected units but I can't find a correct set of keywords to google its name :(

I distinctly remember that somebody somewhere announced an expert that prevents debugger from stepping into selected units but I can't find a correct set of keywords to google its name :( Can somebody point me to that tool, please?

Hello guys

Hello guys, After performing changes in the RTL and FMX code in source folder, how do I rebuild them to all the platforms available (Win, Mac, iOS and Android), regenerating the lib folder in debug and release modes? Thanks in advance :D

Can help me?please.

Image
Can help me?please. how show data from database mysql to tstringcoloumn grid on the firemonkey for android.? i used unidac for connectio to database.   thank you all.

Delphi Known IDE Packages Manager

Image
Delphi Known IDE Packages Manager New functionality: * Read package description from the package / version info and write it to the registry * Tested with all Delphi versions from 6 to 10.1 * Added some more suggestions about what to disable * Display extensive information about the selected package * Moved functions from buttons to a menu Yes, it's still on sourceforge: https://sourceforge.net/projects/knownidepackagesmanager/ Mason Wheeler  I'm still waiting for your suggestion for an alternative.

Hello all

Hello all, I made a port of "HashLib" ( http://hashlib.codeplex.com/ ) "with some fixes, additions and modifications" for Delphi (2010 ( I hope ) and above) and FPC (3.0.0 and above) and I need help with some compilation testing for Delphi since I only have access to Delphi XE4 Up 1 and 10 Seattle. I will appreciate it if some members here can help me check if it compiles in at least Delphi 2010 to XE3. This is to enable me know what "framework" to use for my Unit Tests. Here is how to compile the packages. For Delphi users: The packages are in Packages\Delphi. To build the package in Delphi (the next procedure is for Delphi 10 Seattle; it may slightly differ for other versions): Find the full path to the HashLib folder (depends on where you unpacked the downloaded archive or repo) Open Project Options dialog for the package, set Build Configuration to All Configurations and replace the search path to HashLib by your actual path Open Project Manager and bu

I wrote several points on getting prepared for Lazarus when writing code with Delphi (for productivity ATM), and I want your valuable input, thanks.

I wrote several points on getting prepared for Lazarus when writing code with Delphi (for productivity ATM), and I want your valuable input, thanks. http://synopse.info/forum/viewtopic.php?id=3412

Shouldn't this work?

Shouldn't this work? I have a component which includes unit A (version 1) and I created the dcu's. Then in a project that uses the DCUs of component, if I add unit A and modify it to, should't I expect the project to compile? I get an error that the component uses classes from unit A which were compiled using different version of Delphi. Thanks

Version Info

Version Info Hi guys, I have seen different implementations of how to keep track of version info in projects that don't use the build-in function. Does anyone have a cross-platform solution? I am interested in Win/Mac implementation. Thanks

Why has Berlin 'unpublished' the mouse events in FMX?

Why has Berlin 'unpublished' the mouse events in FMX?   Is this not a bug on OSX and WIN FMX targets?  This is a followup on: http://stackoverflow.com/questions/38282308/how-can-i-create-an-event-handler-for-a-non-published-but-public-event-in-delphi/38282701#38282701 I'm wondering why this has not been solved using an IFDEF and whether I should submit a bug report or not.  http://stackoverflow.com/questions/38282308/how-can-i-create-an-event-handler-for-a-non-published-but-public-event-in-delphi/38282701#38282701

Delphi Known IDE Packages Manager

Delphi Known IDE Packages Manager https://sourceforge.net/projects/knownidepackagesmanager/

Sample chat application built with HTML library.

Sample chat application built with HTML library. http://www.youtube.com/watch?v=MjOSEm4g9Cc

Can help me?

Can help me? I created a VCL Application Rest with methods that reads the database and turns the dataset into a PDF (Streamer) to the client side. If I will not expose datasets, access components (firedac) can stay in TDataModule? This TDataModule will be recreated every method call? I ask because when the method is called while the server presents violation errors. Thank you

Hi

Hi Any One Tell me how can i add Drobdown combo box in to only Col 1 in TMS Stringgrid (AdvStringGrid1) there option to enable as edComboEdit, but that will give combo box for all Cells, any one can tell me how to solve the issue ?

I have a component which includes unit A, which Unit A includes Unit B. I compile the component and I add the Release compiled DCU files path into Library (global path) and the Debug DCU into Debug DCU path. Then, I install it in the IDE.

I have a component which includes unit A, which Unit A includes Unit B. I compile the component and I add the Release compiled DCU files path into Library (global path) and the Debug DCU into Debug DCU path. Then, I install it in the IDE. When I add the component to a form and compile, I get an error saying that unit A has been compiled using different version of Unit B. Anyone knows why I get this error. All units are compiled from scratch in empty directories and DCu files exist for all the units. Thanks for your help in advance.

After a few hours of writing code in Lazarus I feel the heavy desire to go to their community and flame them how horribly broken it is... but I resist.

After a few hours of writing code in Lazarus I feel the heavy desire to go to their community and flame them how horribly broken it is... but I resist. Just saying... Update with some details: The default of the IDE is still that ugly undocked layout. No, I don't want to move like half a dozen windows from one screen to the other. So you have to install some extra packages to make it work in docked mode which kinda works but is still a bit unstable at times. Granted, personal preference but this affects my overall experience. Then I started porting some Delphi code and quickly noticed that the codetools are not up to date to what the compiler obviously supports because any code completion feature stopped working after I added a generic method to my type so I had to comment it out while I was working on that unit. Type inference was working even worse than it does in Delphi and threw some weird compiler errors. Adding a new method to my record and hitting ctrl+shift+c and it added s

Anybode know or can confirm if Delphi 10.1 Berlin is able to compile for ARMv8 architecture CPU (like Exynos 5433 octa core in Samsung Galaxy Tab S2) ?

Anybode know or can confirm if Delphi 10.1 Berlin is able to compile for ARMv8 architecture CPU (like Exynos 5433 octa core in Samsung Galaxy Tab S2) ? I am unable to find the information. The docwiki page doesn't answer to the question.

My Google-Fu is failing me.

My Google-Fu is failing me. I want to select the text in the selected cell of a TStringGrid. In other words, I want the user to be able to select a cell for editing, and immediately change all the text in the cell without having to manually highlight the text in the cell or use the backspace key to delete the existing text. Is that clear?
I need to dial a VPN via Delphi. What component can I use?

Renewal Quote Rant

Renewal Quote Rant As usual, it is totally unclear as to what I need to buy. They give two items: "RAD Studio Premium Update Subscription Software License Platinum Support" and "RAD Studio Named Support Renewal Maintenance & Support" I feel like I am getting tricked into buying more than I need. I ONLY need updates / upgrades to all versions of RAD Studio released during the contract period (including major releases). I do not need support. I just need to keep my Rad Studio up to date. They both mention support, and one has "Update Subscription" and the other has "Renewal Maintenance". See how unclear that is? Seems like a trick to me! "Maintenance"??? What the hell is that? The email mentions multi year option with savings, yet gives no info. They probably are not going to sell a lot of that without a bigger carrot. I don't know what I need to buy to keep my RAD studio up to date. And an upsell for previous version bug fixes? T
Is there a C# WinForms equivalent for System.ReportMemoryLeaksOnShutdown?

We've been running a server for many years that uses an Indy SMTP client and OpenSSL to connect to a GMail server. This morning the connection failed with the following error:

We've been running a server for many years that uses an Indy SMTP client and OpenSSL to connect to a GMail server. This morning the connection failed with the following error: Error Connecting with SSL. error: 1409442E: SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version. Anybody else having the same issue? Have Google changed their SSL policy or is this just a temporary issue?

Hello guys

Hello guys, If you were wondering about up to which version you can safely update your Android tools? I am here to answer you :D Android SDK: - Tools 25.1.7 - Platform-tools 24 - Build-tools 23.0.3 Android NDK r12b All these versions are the latest ones but the Build-tools, the 24 revision is not support by the Embarcadero's Android toolchain ( https://quality.embarcadero.com/browse/RSP-15429 ), Xamarin tools suffer the same problem, it seems breaking changes were introduced in the 24 revision.