Posts

Showing posts from March, 2016

https://channel9.msdn.com/Events/Build/2016/C907

https://channel9.msdn.com/Events/Build/2016/C907 https://channel9.msdn.com/Events/Build/2016/C907

A couple days ago I started receiving spam emails from "The Delphi Parser" product. I never used it, or interacted with it or anything related to ti. To the best of my knowledge, that comes either from here, or from linkedin (most likely). But just to rule out this source of email leaking for sure: anybody else experiencing this?

A couple days ago I started receiving spam emails from "The Delphi Parser" product. I never used it, or interacted with it or anything related to ti. To the best of my knowledge, that comes either from here, or from linkedin (most likely). But just to rule out this source of email leaking for sure: anybody else experiencing this? Thanks.

Microsoft just announced, at Build 2016, that Xamarin for Visual Studio(iOS and Android support) will be free for Visual Studio Community Edition, Pro and Enterprise. The Xamarin Studio for the Mac will be available for those with a Visual Studio Pro and Enterprise subscription. And, the Xamarin runtime will be open source. And, available for download today.

Microsoft just announced, at Build 2016, that Xamarin for Visual Studio(iOS and Android support) will be free for Visual Studio Community Edition, Pro and Enterprise.  The Xamarin Studio for the Mac will be available for those with a Visual Studio Pro and Enterprise subscription.   And, the Xamarin runtime will be open source.  And, available for download today. https://blog.xamarin.com/xamarin-for-all/

Boom!

Boom! Originally shared by Jan Wildeboer I'll just leave this here. "Visual C++ for Linux Development"  https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development/ #OpenIsDefault https://blogs.msdn.microsoft.com/vcblog/2016/03/30/visual-c-for-linux-development

Damned !

Damned ! Is there any clue to fix Delphi XE3 bug when I ctrl+Click on a function name ? some time it works and shows me the implementation code, and sometime the IDE freeze and I have to kill the process and lose my code :( And please, don't tell my to upgrade to Seattle, I know that :)

Damned ! Is there any clue to fix Delphi XE3 bug when I ctrl+Click on a function name ? some time it works and shows me the implementation code, and sometime the IDE freeze and I have to kill the process and lose my code :(

Damned ! Is there any clue to fix Delphi XE3 bug when I ctrl+Click on a function name ? some time it works and shows me the implementation code, and sometime the IDE freeze and I have to kill the process and lose my code :( And please, don't tell my to upgrade to Seattle, I know that :)

Can any HTML / Javascript geek point me what is wrong with the linked code?

Can any HTML / Javascript geek point me what is wrong with the linked code? Originally shared by Piotr Antoniak How to force IE and MS Edge to display/refresh embedded SVG after changing its content in following piece of code?           Title             Display red circle      

A new video (10 min) with a very simple Hello, World! example and some basics about MARS-Curiosity. Let me know your impressions and stay tuned for other videos to come ;-)

A new video (10 min) with a very simple Hello, World! example and some basics about MARS-Curiosity. Let me know your impressions and stay tuned for other videos to come ;-) http://www.andreamagni.eu/wp/2016/03/mars-curiosity-hello-world-video/ http://www.andreamagni.eu/wp/2016/03/mars-curiosity-hello-world-video/

I’m happy to introduce the FixInsight 2016.03 release. It has been delayed several times, but finally it’s here.

I’m happy to introduce the FixInsight 2016.03 release. It has been delayed several times, but finally it’s here. What’s New - Introduced rule W529 (“Should be ‘raise’ instead of ‘raise object’?”) - Rule O802 now works in entire project scope - Added buttons ‘Save as Default’ and ‘Load Defaults’ to FixInsight Settings window - Improved parser - Minor fixes http://sourceoddity.com/fixinsight/download.html http://sourceoddity.com/fixinsight/download.html

Can't get anything from a TLocationSensor in VCL.

Can't get anything from a TLocationSensor in VCL. I've used Delphi 10 Seattle to build the sample project for VCL Sensors in Documents\Embarcadero\Studio\17.0\Samples\Object Pascal\VCL\Sensors Testing in Windows 10 on both, a Microsoft Surface Pro and a Microsoft Surface Pro 2, the sample application runs mostly as expected, displaying and updating information from the following sensors: msAccelerometr: TMotionSensor; osCompass: TOrientationSensor; osInclinometer: TOrientationSensor; However, the sample application displays no information from its location sensor lsLocation: TLocationSensor; On both of these machines, running the Windows 10 Map application indeed shows the correct location, so I'm confident that the location service is enabled and working properly. I just can't seem to get access to a TLocationSensor from a VCL application. Any ideas how to get this to work?

How to detect Homescreen/Lockscreen on iOS in FireMonkey APP?

How to detect Homescreen/Lockscreen on iOS in FireMonkey APP? When user lock screen, with Firemonkey, how can I know it?

Delphi Implementation of Smaz String Compression Library.

Delphi Implementation of Smaz String Compression Library. "Small strings compression library for Delphi" https://github.com/Xor-el/SmazDelphi
I love the new Clipboard feature in Delphi 10 Seattle. Since the Find in the editor is now NOT a modal window, the multi-clipboard is useful. However the Replace dialog is Modal, so the multi clipboard is useless. Barring them making the Replace dialog NOT modal, is there a way to use the multi clipboard with Replace? (Forget about the GExperts grep search - that's totally modal)..

HI

HI, Need some help. I'm developing a mobile App that needs to decrypt a string received with 3DES Method. Anyone had this kind of problem that can help. Thankx.

So when I try to access support or info under support which may contain clues concerning my install issue I get the following error messages. Is this a known issue and how can I get information from support?

Image
So when I try to access support or info under support which may contain clues concerning my install issue I get the following error messages. Is this a known issue and how can I get information from support?

Hi

Image
Hi, I can not install my trial version of Delphi - error message "License status check failure (error code 255)". Does not allow me to choose Trial or Enter registration, etc. This is on a clean machine, Delphi never installed. The support links on the website is broken and I can't get to them for help. Anyone have any idea how to get around this error? Thanks for any help you can offer

Smart Mobile Studio 2.2 Release Candidate 2 is here!

Smart Mobile Studio 2.2 Release Candidate 2 is here! http://smartmobilestudio.com/2016/03/30/smart-mobile-studio-2-2-release-candidate-2/

I am chasing a problem with an XE7 app which throws an "Invalid pointer operation" error. The difficulty is, this occurs only when the app is built on our build machine, and not in the development environment. We use EurekaLog, but the error does not result in an ELF file being produced.

I am chasing a problem with an XE7 app which throws an "Invalid pointer operation" error. The difficulty is, this occurs only when the app is built on our build machine, and not in the development environment. We use EurekaLog, but the error does not result in an ELF file being produced.  I am nearly at my wit's end trying to imagine a method for locating the cause. Since we cannot reproduce in the development environment, we cannot find it in debug.  I have checked the build options in use on our build machine against those in our development environment, and found no difference. Suggestions?

Anyone has a clue that there is somewhere a wrapper so it is easy to remove and append items from a TArray.

Anyone has a clue that there is somewhere a wrapper so it is easy to remove and append items from a TArray . Shouldn't this be basic functionality ? Or am I missing something.

For those that are interested, Microsoft's Build 2016 will have a presentation on Project Centennial, later today. The replay should be available 24 hours after.

For those that are interested, Microsoft's Build 2016 will have a presentation on Project Centennial, later today.  The replay should be available 24 hours after. #ProjectCentennial https://channel9.msdn.com/Events/Build/2016/B829

In order to implement a virtual disk management system (mount and unmount virtual disks from files), i used th source provided here

In order to implement a virtual disk management system (mount and unmount virtual disks from files), i used th source provided here  http://smalldonkey.net/index.php/8-vcl/14-virtual-disk The problem is that it work fine on windows 7 but under windows 8, it is impossible to lunch the driver (error 3 when calling the function VD_StartDriver) ! can some one help me ?

... and comments are disabled?

... and comments are disabled? My 5 cent: Use svn and svn:externals instead of git, if you don't need the distributed functionality that git offers (others will strongly disagree). Unfortunately I have no suggestion regarding a migration of the existing history. When we did that 9 years ago, we started from scratch. Jedi VCS is written in Delphi, so it probably would be possible to write a program for that, using the source. Originally shared by Hubert Bannwarth From JediVcs to Git I use JediVcs to manage the Delphi source files for several years, There are several projects with a lot of common files. As my team grows up, JediVcs becomes complicated to use and I’m looking for a move to Git. the JediVcs is project based and the modules can be shared between several projects if they are located in the same directory or not. Git on the other hand is directory based and there is a way to use subprojects. I do not want to loose all the 15 years history for my source files . So far, my o

From JediVcs to Git

From JediVcs to Git I use JediVcs to manage the Delphi source files for several years, There are several projects with a lot of common files. As my team grows up, JediVcs becomes complicated to use and I’m looking for a move to Git. the JediVcs is project based and the modules can be shared between several projects if they are located in the same directory or not. Git on the other hand is directory based and there is a way to use subprojects. I do not want to loose all the 15 years history for my source files . So far, my options are : let the history in a jvcs repository and start Git from scratch (not interesting for me as I will have two repositories). extract the history from jvcs and import to Git per directory and use subprojects (not sure about using subprojects in Git when working on it daily) us only one project including all subdirectories (except external libraries like jvcl) and import the history My favorite options is the last one but I wonder if someone has already done

I have a tree with 4 levels. When the tree is created the first child node is set to EditText.

Image
I have a tree with 4 levels.  When the tree is created the first child node is set to EditText.   RootNode.getFirstChild.EditText; After editing I want the next child node to go to EditText. How can I make the app wait until the first child editing is finished before setting the next child to EditText? ...Dan'l

Delphi x64 (Seattle) seems to ignore alignment directives.

Delphi x64 (Seattle) seems to ignore alignment directives.  I'm pretty sure someone has already asked a question about this, but I can't find it due to lack of google foo.. All my global vars are aligned by dword (4-byte) boudaries. (Yes, global vars, I know, I'm just testing) Does someone have a link to SO and/or the JiraQP so I can investigate..?   BTW alignment of object fields is fine and the stack aligns fine too.

I'm creating a unit with multiple classes. I have about 50 classes that I could put in individual files, but they are related and relatively small..

I'm creating a unit with multiple classes. I have about 50 classes that I could put in individual files, but they are related and relatively small.. Does anyone know how to use Shift-CTL-C to complete ALL the classes? (I copied the classes from another unit, and I have the method names in the definition, but now I want to complete the classes so I can compile).. Shift-CTL-C only does the class the cursor is in...

Is there a way to create a FireMonkey Component for Android/iOS without creating a Design Package project? Can I mix component with ordinal Delphi code in my application? I don`t want to share this components but I want to make them reusable to use it in my projects :D I don`t need to support desktop platforms once I love to use ARC :D

Is there a way to create a FireMonkey Component for Android/iOS without creating a Design Package project? Can I mix component with ordinal Delphi code in my application? I don`t want to share this components but I want to make them reusable to use it in my projects :D I don`t need to support desktop platforms once I love to use ARC :D I came from Android developement where is possible to create a custom view (component) per Java class and add it the layout without creating an external library, is there some alternative like this in FireMonkey? Thanks a lot, guys :D
Can we get some tutorials on how to convert 3rd party Android and iOS libraries to firemonkey? Would love to translate the facebook SDK and be able to login without taking the user to a webbrowser and re-entering information.

ANN: Meet the new DAC for MySQL v.3.0.4 with refresh record feature!

ANN: Meet the new DAC for MySQL v.3.0.4 with refresh record feature! http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1755 http://microolap.com/products/connectivity/mysqldac/news/detail.php?ID=1755

I like this feature request

I like this feature request {$BEGINOPT R+,Q-} ... {$ENDOPT} https://quality.embarcadero.com/browse/RSP-14045 https://quality.embarcadero.com/browse/RSP-14045

FMX neTabControl - v.0.3.0

Image
FMX neTabControl - v.0.3.0 I just uploaded a new version of my neTabControl. You can get it from here: https://github.com/jkour/neTabControl Here are a few screenshots:

Just wrote a 64-bit version of fillchar.

Just wrote a 64-bit version of fillchar. It's always about 2x 3x faster than the current RTL code. And it should also works under OSX, because PIC is free in x64. I don't have access to every CPU out there, so if anyone want to speed test on their CPU please feel free. If it's slower I'd be really interested. On my CPU (K10+Intel core2) it is faster for any size (even very small sizes). {$ifdef CPUX64} procedure FillCharJB(var Dest; Count: NativeInt; Value: Byte); //rcx = dest //rdx=count //r8b=value asm               .noframe               .align 16               movzx r8,r8b           //There's no need to optimize for count <= 3               mov rax,$0101010101010101               mov r9d,edx               imul rax,r8            //fill rax with value.               cmp edx,32               jl @Below32 @Above32:     mov r11,rcx               mov r8b,7              //code shrink to help alignment.               lea r9,[rcx+rdx]       //r9=end of array        
Has anybody ever tried to replace the DOS executable stub, that prints "This program requires Microsoft Windows" with something more fun? Can this be done with a Delphi program (where the DOS program is maybe written with Borland Pascal?)?

Not my question, but actually quite an interesting problem:

Not my question, but actually quite an interesting problem: How do I add file data to my EXE file at RunTime in delphi Or to phrase it better: How do I store and manipulate data inside the executable? David Heffernan already has posted an answer and rightly suggests not to do it that way. Of course this would also wreak havoc with virus scanners. http://stackoverflow.com/q/36257250/49925?sgp=2

Safe event hooking for Delphi IDE plugins revisited

Safe event hooking for Delphi IDE plugins revisited A while ago I blogged about Safe event hooking for Delphi IDE plugins. I have used this method in GExperts as well as my Delphi IDE Explorer and it worked fine for both plugins. Today I looked at the code again and didn’t like it very much. Yes, it works fine and there aren’t any apparent bugs, but it blatantly violates the DRY (don’t repeat yourself) principle. Back, when I wrote it, my goal was to get something working fast so I could use it for my main goal: Make GExperts and the IDE explorer coexist peacefully within the same Delphi instance, even though they both hook Screen.OnFormChange and Screen.OnControlChange. Today, my goal changed. It’s now: Improve the code. http://blog.dummzeuch.de/2016/03/28/safe-event-hooking-for-delphi-ide-plugins-revisited/
What component suites can do FTP, SFTP and SCP?

Found this android emulator last night and wow its super fast and runs some delphi applications from the playstore, while others do not run. If we could get libhoudini on this, imagine the super fast testing with this !

Found this android emulator last night and wow its super fast and runs some delphi applications from the playstore, while others do not run. If we could get libhoudini on this, imagine the super fast testing with this ! http://www.memuplay.com/ http://www.memuplay.com
RAD Studio needs a solution for Delphi developers to develop web apps. Businesses are moving from desktop apps to web based solutions.   Emb needs a Wysiwig web developer(delphi like) in their portfolio. Something that will convert Delphi code(Firemonkey) into JS that can run on any device, regardless of the processor.  What do you think?

Increase protection of your network connections with improved SecureBridge components version.

Increase protection of your network connections with improved SecureBridge components version.  https://goo.gl/zxUDQn https://goo.gl/zxUDQn

Olá pessoal essa é minha duvida

Olá pessoal essa é minha duvida AlertBody: Texto da notificação; tem como exibir no AlertBody:  com o código JavaScript veja o exemplo abaixo??? exemplo:    AlertBody: '

I cannot reach CodeCentral.

I cannot reach CodeCentral. Is it down? Has it moved? .... Oh, I see, this was already reported. (Google+ search didn't show it)

MS Word .docx viewer on Android.

Image
MS Word .docx viewer on Android. 100% native Delphi code. http://delphihtmlcomponents.com/FMXWord.apk

Can someone with WinAPI and Delphi voodoo knowledge please proofread this blog entry and see if the core of this article makes sense?

Can someone with WinAPI and Delphi voodoo knowledge please proofread this blog entry and see if the core of this article makes sense?  I'm esp. curious if the the selection of snippets out of the original source for the article is correct. https://compilerintrinsics.wordpress.com/2016/03/27/altering-delphi-applications-without-access-to-the-source-code/ https://compilerintrinsics.wordpress.com/2016/03/27/altering-delphi-applications-without-access-to-the-source-code
Title

Originally shared by TRichView

Image
Originally shared by TRichView We are close to the release of a new set of reporting components, Report Workshop. We are implementing direct support for popular third-party DB VCL components. Tell us which DB components you use, and we will try adding them in Report Workshop Please answer here or in the topic http://www.trichview.com/forums/viewtopic.php?t=7234 #vcl   #db   #database   #delphi   #trichview

Three weeks ago we had the ExtremeDelphi event in São Paulo-SP! Check the complete English report with pictures. Many thanks to our sponsors! http://tkssoftware.com/victory/extreme-sp/

Three weeks ago we had the ExtremeDelphi event in São Paulo-SP! Check the complete English report with pictures. Many thanks to our sponsors! http://tkssoftware.com/victory/extreme-sp/ http://tkssoftware.com/victory/extreme-sp

BaseNcodingDelphi is a rewritten version of DelphiBaseNcoding (Now Deprecated) with a more "Object Oriented View" in mind.

BaseNcodingDelphi is a rewritten version of DelphiBaseNcoding (Now Deprecated) with a more "Object Oriented View" in mind. BaseNcodingDelphi is a Library for encoding of binary data into strings using base32, base85, base128 and other algorithms. https://github.com/Xor-el/BaseNcodingDelphi https://github.com/Xor-el/BaseNcodingDelphi

Here is a Library I ported that makes byte size representation in code easier.

Here is a Library I ported that makes byte size representation in code easier. TByteSize is a utility "record" that makes byte size representation in code easier by removing ambiguity of the value being represented. TByteSize is to bytes what System.TimeSpan.TTimeSpan is to time. https://github.com/Xor-el/ByteSizeLibPascal https://github.com/Xor-el/ByteSizeLibPascal

Hello all

Hello all, Been pretty busy with school stuffs so have not really had time to code. Had some free time recently and decided to make good use of it. I made some improvements to some of my open source libraries. here is a summary of them. 1.  xxHashPascal I made two variants of the library, one with reference counting and the other without. I also made the library compatible with Free Pascal. Added Unit Tests. https://github.com/Xor-el/xxHashPascal 2.  EmailValidationPascal I also made two variants of this library, one using Zero- Based String Index for Mobile compilers and the other using the regular one based Index. I also made the library compatible with Free Pascal. Added Unit Tests. https://github.com/Xor-el/EmailValidationPascal https://github.com/Xor-el?tab=repositories

Hello guys

Hello guys, Can anyone recall which Delphi version refactored format settings globals into TFormatSettings? I think it was XE or XE2, not very sure

I cannot connect to http://cc.embarcadero.com/

I cannot connect to http://cc.embarcadero.com/ Is there a special known reason for this or is just my ISP broken? This is the current curl log curl -v -L http://cc.embarcadero.com * Rebuilt URL to: http://cc.embarcadero.com/ * Trying 204.216.225.17... * Connected to cc.embarcadero.com (127.0.0.1) port 80 (#0) > GET / HTTP/1.1 > Host: cc.embarcadero.com > User-Agent: curl/7.43.0 > Accept: / > < HTTP/1.1 302 Found < Cache-Control: private < Content-Type: text/html < Location: /Default.aspx < Server: Microsoft-IIS/8.5 < X-AspNet-Version: 2.0.50727 < X-Powered-By: ASP.NET < Date: Sat, 26 Mar 2016 20:55:42 GMT < Connection: close < * Closing connection 0 * Issue another request to this URL: ' http://cc.embarcadero.com/Default.aspx ' * Hostname cc.embarcadero.com was found in DNS cache * Trying 204.216.225.17... * Connected to cc.embarcadero.com (127.0.0.1) port 80 (#1) > GET /Default.aspx HTTP/1.1 > Host: cc.embarcadero.com

Any hints?

Any hints? The reason why I'm asking is that both ways are used in GExperts and I would like to consolidate this to just one. But which one? http://stackoverflow.com/q/36238614/49925?sgp=2

Does anybody know how the "Extract Interface" refactoring works?

Does anybody know how the "Extract Interface" refactoring works? I click on it and nothing happens :) A

Hi

Hi I have decided, finally, to try out interfaces. I read about it for few weeks and today I was ready to start coding. Well, I got stuck pretty fast. I was planning to replace a base class - derived class technique with an interface. The problem I have is it seems that when the interface is implemented thru a TComponent, you need to implement yourself the TInterfacedObject and prevent the reference counting in few area. Is it what I need to do or am I missing something. It seems so easy to do it with TInterfacedObject but not as easy if you still what it to be a component. What is the right way to implement an interface with a component? Is it to create 2 classed, one from TComponent only and one from TInterfacedObject? and then the component creates the interface? Any examples would be great. Thank you Marco

Originally shared by Gnostice.com

Originally shared by Gnostice.com #Gnostice #XtremeDocumentStudio #Delphi 2016 R5 released! Gnostice is pleased to announce the release of XtremeDocumentStudio Delphi 2016 R5. With this release, we struck out few more to-do items with regard to support for rendering PDFs. Tiling graphics pattern rendering is now supported and Type3 font rendering is optimized. There are also other enhancements and fixes included. For the next release, we have taken up rendering of other graphics patterns and general text rendering items connected with FireMonkey. For more information and the full release notes, please go to: http://www.gnostice.com/XtremeDocumentStudio_Delphi.asp?rr=92 http://www.gnostice.com/XtremeDocumentStudio_Delphi.asp?show=history&rr=73 To download free trial versions and EXE demos, please go to: http://www.gnostice.com/XtremeDocumentStudio_Delphi.asp?show=downloads&rr=74 For purchasing options, please go to: http://www.gnostice.com/XtremeDocumentStudio_Delphi.asp?show=bu

I want to store some passwords in a database.

I want to store some passwords in a database. I encrypt the password using a simple xor encryption. As soon as I save the encrypted password to the database the password is truncated at, as it seems to me, random length. Using plain text files everything works just fine, no truncation. Am I missing something obvious here? I don't need any fancy encryption routine, the passwords are not very sensitive :) Any links/tips would be appreciated.

Originally shared by Gnostice.com

Originally shared by Gnostice.com Gnostice PDFtoolkit VCL updated - rendering Type3 fonts and patterns We are happy to announce the release of PDFtoolkit VCL 5.0.0.266. In this release, we have introduced support for rendering Type3 fonts and tiling graphics patterns, and applying multiple digital signatures on a PDF. It also include several other enhancements and fixes. We also introduced a really cute feature for printing: Print current view. This is an API on the PDFViewer where you can zoom into the area you want to print and then call the PrintCurrentView method. This will print only the visible region of the page or several pages (whatever is visible) in vector format. You can select multiple pages and get them to print on a single sheet of paper on the printer. The new printer demo shows this new capability. We continue the work of implementing complete support for the PDF specification and enhancing the product to enable you to get things done with PDF documents. For more info

The Bad Delphi Code Competition - winners announced!

The Bad Delphi Code Competition - winners announced! There were some very creative and really terrible entries. Read the post for seven of them, plus the winners! Not to be clickbait, but the kind of code some people wrote (and the ingenuity it showed) may surprise you... https://parnassus.co/delphi-bad-code-competition-results-winners/ https://parnassus.co/delphi-bad-code-competition-results-winners

Working with Android on a Barcodescanner with Datawedge and get Data with Intent:

Working with Android on a Barcodescanner with Datawedge and get Data with Intent: To get that intent-receive working ... 1.) i'm using the broadcastreceiver from Baris Atalay: brsatalay.blogspot.com.tr/2014/10/delphi-android-broadcast-receiver.html 2.) add following scripts to your formcreate: myreceiver.RegisterReceive; myreceiver.Add(' org.mein.intent.name '); 3.) create your onReceive event as follows: procedure Tform1.myreceiverReceive(Context: JContext; Intent: JIntent); begin // use a Thread !! important tThread.CreateAnonymousThread(procedure begin internal_ReceiveIntent(Context, Intent); end).start; end; procedure Tform1.internal_ReceiveIntent(Context: JContext; Intent: JIntent); var vInput:String; begin if ansisametext(JStringToString(intent.getAction), ' org.mein.intent.name ') then begin vInput:=JStringToString(intent.getStringExtra(StringToJString(DATAWEDGE_DATA_STRING))); vInput:=trim(vInput); // you have received som

Hello!

Hello! I need some help identifying the best way to generate licenses for a system of applications I am doing. There won't be any trials for these, so basically there should be two types of license: rent and purchase. Rent is meant for re-sellers whereas purchase is meant to be done from me. Before you go on a rant that there is no trial version, please be aware that every user, 100% of the time, with NO EXCEPTION will have been exposed to those they want for some time before doing the purchase, so they will know quite well what their capabilities are and will have interacted with them.  I was thinking to use some form of UIID, but I am open to suggestions. Thanks! A
In Rad Studio 10 Seattle, when you invoke code completion, why doesn't it select the first item in the list? Is there an option to select it? It did it in XE5. I'm used to just pressing to make it show up in the editor.

Originally shared by David Berneda

Image
Originally shared by David Berneda New feature in Dashboards !, templates can now include Layout definitions. These can be simple, or complex combinations by nesting layouts inside other layouts. Dashboards can then use these custom layouts for panel positioning (grids, charts, controls, etc), for both VCL / FMX and HTML web transparently. An example of a custom nested layout at the picture below: "name": "Special", "items": [ { "name": "top", "items": [ { "name": "0", "align": "top", "height": "50%" }, { "name": "1", "nested": "2x2" } ] }, { "name": "2", "align": "right", "width": "50%", "nested": "3 Rows" } ] When specifying size (width, height) as perce

Just in case anyone missed this announcement! Stefan Glienke is Embarcadero MVP of the Year for 2015.

Just in case anyone missed this announcement! Stefan Glienke is Embarcadero MVP of the Year for 2015. Originally shared by Jim McKeeth As a way to acknowledge some of the hard work and amazing contributions each of our MVPs provides we are starting a new MVP of the Year program. It is already a few months into 2016, but I would like to start by recognizing our MVP of the year for 2015,… http://delphi.org/2016/03/embarcadero-mvp-of-the-year-for-2015-stefan-glienke/

Just in case anyone missed this announcement! Stefan Glienke is Embarcadero MVP of the Year for 2015.

Just in case anyone missed this announcement! Stefan Glienke is Embarcadero MVP of the Year for 2015. Originally shared by Jim McKeeth As a way to acknowledge some of the hard work and amazing contributions each of our MVPs provides we are starting a new MVP of the Year program. It is already a few months into 2016, but I would like to start by recognizing our MVP of the year for 2015,… http://delphi.org/2016/03/embarcadero-mvp-of-the-year-for-2015-stefan-glienke/

My congrats go to Stefan Glienke as MVP of the Year -2015! Kudos! Way to go!

Image
My congrats go to Stefan Glienke as MVP of the Year -2015! Kudos! Way to go! PS Sorry, previous image was cropped. Reposted. :)

Hi Guys, i'm having problems with an android-app.

Hi Guys, i'm having problems with an android-app. I have different threads and i have to know within my procs/funcs if i'm in mainthread or not, so i have decided to create following proc: procedure RunSynchronized(vMethod:TThreadProcedure); var vt:boolean; begin vt:=false; if tThread.CurrentThread<>nil then begin if (tThread.CurrentThread.ThreadID<>MainThreadID) then begin vt:=true; end; end; if tThread.Current<>nil then begin if (tThread.Current.ThreadID<>MainThreadID) then begin vt:=true; end; end; if vt=false then begin vmethod(); end else begin tThread.Synchronize(nil, vmethod); end; end; so i can use: RunSynchronized(procedure begin do something here; end); Is this the correct way? It seems that i have under Seattle 10 with android sometimes problems getting MainThreadId because some calls are causing a app hang ...

Just FYI, another summary of links: http://blog.marcocantu.com/blog/delphi-blog-week-40.html

Just FYI, another summary of links: http://blog.marcocantu.com/blog/delphi-blog-week-40.html http://blog.marcocantu.com/blog/delphi-blog-week-40.html

Hi all

Hi all, I've posted a couple of times from +Simon Stuart's account, and have been asked multiple times to create an account of my own so people can talk directly with me about the projects I'm working on. Well, here's my Google+ account (finally).

Can someone explain to me why the "new" Emba site has 2 areas for questions/discussions, e.

Can someone explain to me why the "new" Emba site has 2 areas for questions/discussions, e.g. http://community.embarcadero.com/answers and http://community.embarcadero.com/forum When are you supposed to use which and for what? The 2 areas seem to have overlapping subject areas so it's not exactly obvious which one is supposed to use. Additionally, why is the question (in the Answers section) I posted yesterday, not showing up under "My Questions", even though I can locate it by going to the root level answers link ( http://community.embarcadero.com/answers )? Is is broken (?!!) or am I missing something? (And why does the "new" forums have a 50 character limit on the subject? This is too small, and none of the other areas have such a small limit...) http://community.embarcadero.com/answers

Can someone explain to me why the "new" Emba site has 2 areas for questions/discussions, e.g. http://community.embarcadero.com/answers and http://community.embarcadero.com/forum

Can someone explain to me why the "new" Emba site has 2 areas for questions/discussions, e.g. http://community.embarcadero.com/answers and http://community.embarcadero.com/forum When are you supposed to use which and for what? The 2 areas seem to have overlapping subject areas so it's not exactly obvious which one is supposed to use. Additionally, why is the question (in the Answers section) I posted yesterday, not showing up under "My Questions", even though I can locate it by going to the root level answers link ( http://community.embarcadero.com/answers )? Is is broken (?!!) or am I missing something? (And why does the "new" forums have a 50 character limit on the subject? This is too small, and none of the other areas have such a small limit...) http://community.embarcadero.com/answers

Bookmarks 1.5 and Navigator 1.3.2 released!

Bookmarks 1.5 and Navigator 1.3.2 released! Two new releases at once, wow! There's some useful new stuff here. * Navigator now lets you drop a caret bookmark (if you have Bookmarks installed) when you go somewhere. This means you can go to the uses clause, type in a new unit, and press Escape to go right back to where you were when you realised you needed to add a unit. This is a small tweak but extremely useful for a quick workflow. ** More updates to Navigator are planned; I know it's been a while since the last major release. * Bookmarks has an optional syntax highlighted code preview in the dockable Bookmarks window. * The entire dockable window list's look and feel is now configurable. Turn on and off whatever elements you want * The shortcuts for next and previous bookmark (Ctrl+Shift+LeftArrow and RightArrow) used to cycle only in the current unit. You can now change this to cycle among all bookmarks in all open files. * For both products, a number of other tweaks an

I wander if anyone can help ?

I wander if anyone can help ? I have an Android function generating check sum of string. public String calculateCHKsum(String data) { byte bytes[] = data.getBytes(); Checksum checksum = new CRC32(); // update the current checksum with the specified array of bytes checksum.update(bytes, 0, bytes.length); // get the current checksum value String enc = String.format("%08X", checksum.getValue()); return enc; } I am sending the file to Delphi checking the check sum with function MD5(const Data: string): string; var idmd5: TIdHashMessageDigest5; hash: T4x4LongWordRecord; begin idmd5 := TIdHashMessageDigest5.Create; try result := idmd5.AsHex(idmd5.HashValue(Data)); finally idmd5.Free; end; end; Obviously the number are not exact. one is 8 bytes the other is long C62EF121 << android 686F15EA8F0F12F5C3B05BED6CB3EBF5 <<< delphi. Using Delphi 7. Any way to solve except making my own crc?

Can anyone help with this question?

Can anyone help with this question? http://stackoverflow.com/q/36156303/113069?sgp=2 http://stackoverflow.com/q/36156303/113069?sgp=2

Can anybody help me with this question about TLBs and registration free COM in Delphi applications?

Can anybody help me with this question about TLBs and registration free COM in Delphi applications? http://stackoverflow.com/questions/36154325/how-to-create-a-manifest-file-for-tlbs-which-are-used-for-remote-com-objects-onl

Found an issues with TestInsight.

Found an issues with TestInsight. Tests were failing in DunitX, but not when using TestInsight. Problem was I had a number of test cases with the same name.DunitX still rand them, but TestInsight only ran the last one. Obviously my fault as I should really have named all the tests properly, but even so  it would have been better if TestInsight either ran the test anyway - or flagged up an error.

Found an issues with TestInsight. Tests were failing in DunitX, but not when using TestInsight. Problem was I had a number of test cases with the same name.DunitX still rand them, but TestInsight only ran the last one.

Found an issues with TestInsight. Tests were failing in DunitX, but not when using TestInsight. Problem was I had a number of test cases with the same name.DunitX still rand them, but TestInsight only ran the last one. Obviously my fault as I should really have named all the tests properly, but even so  it would have been better if TestInsight either ran the test anyway - or flagged up an error.

Hi Colleagues

Hi Colleagues, We've just released another beta, which supports Android native UI design for Delphi projects (as it does for iOS/Mac OS).  If someone feels "true-native" not only look, but behavior does matter when using Delphi for mobile development, we'd be glad to present TurboCocoa. Comments/critisizm are highly appreciated! Let's make Delphi build absolutely UX-authentic mobile apps: this time for Android. http://www.turbococoa.com/

Hey everyone

Hey everyone, has someone used the Inclinometer3D sensor on Android 6.0+ and Delphi Seattle? I've got the Nexus 5X and when executing the official gyroscope demo the rectangle is going totally crazy. It seems to me, there is a bug inside the Delphi implementation of android sensors. I took a look at older source code from XE7 (in my DX trial it's not available): But when accessing the TiltX, TiltY, TiltZ values there, every time the sensor event queue is requested. Keeping in mind that the device is still moving, while getting TiltX, TiltY and TiltZ, those values may come from different sensor events. So they can not be consistent anymore. Besides that I had to compile the gyroscope demo with sdk 24.4.1 and ndk 10e. Another problem seems to be the UpdateInterval, which is on Android 6.0+ at least 18019 microseconds. Values less than will lead to freaky data again. The last problem I've detected, is that the Rotation Vector Sensor (= Inclinometer3D) still got some gyro drift

Threads and UI

Image
Threads and UI I have a feeling that sometimes, something, somewhere is trying to UI things from a non-UI thread. Naturally, this is something we strive to avoid - but with all the injection of handlers - and literally hundreds of places where someone could think "surely, it would be clever to update that status label now" - it is a bit of a grunt task to review all the code. So, before embarking on such a review quest, my question is: Which symptoms could arise from touching UI from a non UI thread? AV? Deadlocks? Temporary freezes? Donald Trump? I am seeing temporary freezes (20+ seconds) in the UI. The background threads are all looking active, doing and logging their stuff. My first thought was a lock contention - but I log all locks that fail - and the log shows nothing of the sort, so I am in a bit of a pickle here.

Blog post: Introducing MARS-Curiosity: a new REST library for Delphi #REST

Blog post: Introducing MARS-Curiosity: a new REST library for Delphi #REST http://www.andreamagni.eu/wp/2016/03/introducing-mars-curiosity-a-new-delphi-rest-library/ http://www.andreamagni.eu/wp/2016/03/introducing-mars-curiosity-a-new-delphi-rest-library/

The Delphi Open Tools API Book is here....

The Delphi Open Tools API Book is here.... http://www.davidghoyle.co.uk/WordPress/?p=1143

Hello!

Hello! Many moons ago, somebody here was talking about a class hierarchy where he'd to choose an algorithm based on some data. The disucssion was very interesting and I don't remember the chap's name. It had to do with images, does anybody remember? I need it for our project. Thanks! A

http://community.embarcadero.com/blogs/entry/inheritancetree-fmx-r101

http://community.embarcadero.com/blogs/entry/inheritancetree-fmx-r101 http://community.embarcadero.com/blogs/entry/inheritancetree-fmx-r101

I've just published a new OTA article on getting help for a keyword in the IDE when the IDE's help has no information by bring up a dockable browser with an internet search.

I've just published a new OTA article on getting help for a keyword in the IDE when the IDE's help has no information by bring up a dockable browser with an internet search. http://www.davidghoyle.co.uk/WordPress/?p=1106

Atanas Popov blogged about the South African Delphi education thing.

Atanas Popov blogged about the South African Delphi education thing. http://community.embarcadero.com/article/news/16215-paving-the-way-for-computer-education

Published the third part of this serie about the use of MVC with Delphi.

Published the third part of this serie about the use of MVC with Delphi. We present now our ORM classes generator. This piece of code is going to be very important in our project, but it can be used as a separate piece of code in a lot of circumstances. Included the first battery of Unit Tests. Remembering us what is our objective of implementing MVC in our project: "Construct code without errors that demonstrates itself that all the functionalities have been proven and then protects these functionalities over the changes made over time" https://sencille.wordpress.com/2016/03/21/3-sencille-mvc-orm-generator-tests/ https://sencille.wordpress.com/2016/03/21/3-sencille-mvc-orm-generator-tests/
What tools are you Delphi developers using for developing database driven web clients?
Just a shout out to Vincent Parrett at FinalBuilder for customizing some license files for me.  It was certainly not expected to tweak a new purchase on a Sunday, but surely appreciated!  I purchased 6 more licenses for other devs under my account and he individualized them for me after the fact.  Amazing service.  BUY FINALBUILDER.
Help, sin and cos  como hacer un aplicacion en delphi que muestre, seno, coseno , tangente y sus inversas?.

Hello!

Hello!  I have come across a situation where I think that mixing objects and interfaces is necessary and not dangerous. Here is my current situation: I have a unit where I have IService declared in the interface section and TService declared in the implementation. IService implements two methods: NewCommand and NewLocalCommand. Both return the same ICommand interface. The essential distinction between them is that a local command is generally visual and bound to the client software, whereas a non-local command, instead, corresponds to a remote call. They are generally used for different purposes but they are both commands, so it is right and proper that they would get the same interface. Now, the problem is that I do want a distinction in the implementation, so I have split base classes both referring to a common ancestor and I have two separate registers made up of different enumerations associated to the correct base class types.  So, I need to add commands to these registers, so I a

Control the real world via a Android app! Demonstrating simple Android app made with Delphi that uses very few lines of code to light up a lamp!

Control the real world via a Android app! Demonstrating simple Android app made with Delphi that uses very few lines of code to light up a lamp! https://youtu.be/SgNIWtaviOY https://youtu.be/SgNIWtaviOY

TPriorityQueue for Delphi?

TPriorityQueue for Delphi? Does anyone know of an efficient implementation of a Priority Queue for Delphi (ideally using generics)? There seems to be a couple of old libraries (e.g. SysTools and EZDSL), which I don't think use Generics and I'm not confident will be kept up to date. What I'd like is a TPriorityQueue which has a comparator and takes care of keeping the queue in order. I'm a little surprise System.Generics.Collections doesn't have it - Steve

Is this what you aspect from debugger? (#D10Seattle)

Is this what you aspect from debugger? (#D10Seattle) Debug this code following execution step by step: var   L : TDictionary ;   I : Int64;   S : String; begin   L:=TDictionary .Create;   try     L.AddOrSetValue(1,'aaaaa');     S:='';     for I in L.Keys do         S:=S+L.Items[I];  // <--- executed two times? NO   finally     L.Free;   end; It seems that the higlighted line is executed two times but its not. I suppose that the second time is related to the end of the for loop but this is a little bit misleading.

Passive WIFI.

Passive WIFI.   If this product gets to the market, it will blow BLE out the water.  Be a huge boost for IOT.  Take note Emb. http://www.wired.com/2016/03/future-wi-fi-10000-times-energy-efficient/ http://www.wired.com/2016/03/future-wi-fi-10000-times-energy-efficient

I'm having a problem with my build machine since I have moved to Delphi 10 Seattle. The build machine is producing different results to the IDE despite using MSBuild on the build machine and setting the correct configuration. It does the same thing on my machine, so it's not related to something on the machine. The differences I can see so far are:

I'm having a problem with my build machine since I have moved to Delphi 10 Seattle. The build machine is producing different results to the IDE despite using MSBuild on the build machine and setting the correct configuration. It does the same thing on my machine, so it's not related to something on the machine. The differences I can see so far are: 1) Executable size is different. 39MB command line MSBuild, 35MB IDE build. 2) I get an integer overflow error in the executable produced from the command line whereas this doesn't happen from the executable in the IDE. They are clearly two different executables. 3) A COM DLL when built in the IDE is 22mb whereas it is around 59mb when built on the command line. A little further investigation shows that it is actually adding debug information into the DLL DESPITE debug information being off in the release configuration. If I set the "put debug info in a separate TDS file, I then get the same 22mb file plus a 36mb TDS file. T

New experimental FastMM version was committed to https://github.com/gabr42/FastMM4/tree/Locking_Improvements.

New experimental FastMM version was committed to https://github.com/gabr42/FastMM4/tree/Locking_Improvements . New in this version: - Slightly simplified code in FastFreeMem path for small blocks. - Added debugging function LogReleaseStackUsage (has to be enabled by defining DebugReleaseStack). - Replaced GetStackSlot with a better-hashing version (turned out to make a difference in the field). - Added a low priority release stack cleanup thread (frees memory that could get "stuck" in release stacks when a thread exits). All changes were also merged into https://github.com/pleriche/FastMM4/tree/Locking_Improvements . Please test & report! https://github.com/gabr42/FastMM4/tree/Locking_Improvements

A. Bouchez Can you help me?

A. Bouchez Can you help me? This encryption thing is kicking my ass, mostly on the C# side. Here are my Delphi algorithms for encoding and decoding using AES: EncryptFunc := function(const aPassword: String; aClearText: string): string begin Result := TAESCBC.SimpleEncrypt(aClearText, aPassword, True, True); end; DecryptFunc := function(const aPassword: string; aClearText: string): string begin Result := TAESCBC.SimpleEncrypt(aClearText, aPassword, False, True); end; end; These work marvelously on Delphi with Base64 encoding on the way in and on the way out. But C# -- not so much luck. Can you provide any guidance at all on how to decrypt things on the C# side? Any help at all would be appreciated very much.
Anyone know how to create waterfall layout like pinterest?

Primož Gabrijelčič

Primož Gabrijelčič How do I get the currently running thread in OTL? You mention here there is a function in OTL: http://stackoverflow.com/questions/155560/is-there-a-function-in-delphi-to-get-the-current-executing-thread   However I can't seem to find it in the source.... http://stackoverflow.com/questions/155560/is-there-a-function-in-delphi-to-get-the-current-executing-thread

Delphi XE doesn't have TEncoding.ANSI, but it does have:

Delphi XE doesn't have TEncoding.ANSI, but it does have: class function GetEncoding(CodePage: Integer): TEncoding; overload; static; class function GetEncoding(const EncodingName: string): TEncoding; overload; static; Can I get the equivalent of TEncoding.ANSI with TEncoding.GetEncoding(CP_ACP); ?

Hello!

Hello!  I am trying to reach  Sergey Tkachenko . I got questions about RVMEdia. Anybody knows if he's in here? Thanks

Why do modal Delphi forms not receive WM_SYSCOMMAND when the user clicks the task bar button?

http://stackoverflow.com/q/36059601/49925?sgp=2

WTF lazarus

WTF lazarus The code generation in lazarus fpc is just as broken as the Delphi one. Case in point: function Point(x,y: cardinal): TPoint; inline; begin   //UInt64(Result):= UInt64(y * (1 shl 32)) + x;   Result.x:= x;   Result.y:= y; end;  unit1.pas:44                              pt:= Point(x,y); 89d8                     mov    eax,ebx 4863c0                   movsxd rax,eax 48b9ffffffff00000000     mov rcx,0xffffffff 4821c8                   and    rax,rcx 48b900000000ffffffff     mov rcx,0xffffffff00000000 4821c9                   and    rcx,rcx 4809c1                   or     rcx,rax 4863d2                   movsxd rdx,edx 48c1e220                 shl    rdx,0x20 48b800000000ffffffff     mov rax,0xffffffff00000000 4821c2                   and    rdx,rax 48b8ffffffff00000000     mov rax,0xffffffff 4821c1                   and    rcx,rax 4809d1                   or     rcx,rdx 48894df8                 mov    QWORD PTR [rbp-0x8],rcx Is fpc writing war & peace here?  However with a

Is anybody aware of a component to show decision trees ... like

Is anybody aware of a component to show decision trees ... like http://treeplan.com/wp-content/uploads/2015/06/treeplan-decision-tree-diagram.gif If there is not such a thing ... any ideas as a basis for development? http://treeplan.com/wp-content/uploads/2015/06/treeplan-decision-tree-diagram.gif

Really Seattle is so better/stable/fast ... than XE8?

Image
Really Seattle is so better/stable/fast ... than XE8? After a crash of the Seattle Android debugger, this is what I get when I try to open a datamodule with a bunch of stylebooks (multiple styles to use/assign at runtime). No way out: restarted the IDE and the whole Seattle VM many times.... any help would be really appreciated.

Sadly, It's been a while since Stefan Glienke stopped pulling rabbits from the hat using Delphi

Sadly, It's been a while since Stefan Glienke stopped pulling rabbits from the hat using Delphi http://delphisorcery.blogspot.com

Given the recent problems with Embarcdero.com's website, have you disabled the Welcome Page within your Delphi IDE? See: http://wiert.me/2016/03/14/delphi-disable-or-change-your-welcome-page-to-not-use-the-embarcadero-site-as-that-site-has-been-hacked-twice-this-weekend/

Given the recent problems with Embarcdero.com's website, have you disabled the Welcome Page within your Delphi IDE?  See: http://wiert.me/2016/03/14/delphi-disable-or-change-your-welcome-page-to-not-use-the-embarcadero-site-as-that-site-has-been-hacked-twice-this-weekend/

Has anyone experience with Honeywell Dolphin Black 75e devices ? Specially with the laser barcode reader ?

Has anyone experience with Honeywell Dolphin Black 75e devices ? Specially with the laser barcode reader ? I plan to purchase this device.

Anyone else think that Embarcadero should migrate EDN to something that actually functions reasonably? Like any CMS ever?

Anyone else think that Embarcadero should migrate EDN to something that actually functions reasonably? Like any CMS ever? The current site seems to be some custom ASP/.NET solution. It is really quite odd.

Guys, can anybody reproduce this error on Win7, Win8?

Image
Guys, can anybody reproduce this error on Win7, Win8? Public link: https://docs.google.com/document/d/1RlT9LMkPfmeXFGfyZrAlnoLe6f8-2-33TNAL8aKgUX0/edit?usp=sharing QC link: https://quality.embarcadero.com/browse/RSP-13959 UPD: 1. If you are using CustomizedPreview you MAY provide your own event handlers. And you may use standard ones 2. Standard drawing uses function TCustomForm.GetFormImage for work 3. That's exactly how demo works: https://sourceforge.net/p/radstudiodemos/code/HEAD/tree/branches/RADStudio_Seattle/Object%20Pascal/VCL/Taskbar/MDI/ 4. I've noticed even some more weird behavior inside TTaskbar.DoWindowPreviewRequest. There is a call to TTaskbar.GenerateFormImage with default height and width (0, 0) and of course it won't draw itself in this case. 5. I tried to change "High-DPI support" and "Use Windows theme" options without success.

Blog post "Writing a Windows Shell Extension" at http://blog.marcocantu.com/blog/2016-03-writing-windows-shell-extension.html

Blog post "Writing a Windows Shell Extension" at http://blog.marcocantu.com/blog/2016-03-writing-windows-shell-extension.html http://blog.marcocantu.com/blog/2016-03-writing-windows-shell-extension.html

Stefan Glienke I'm starting to use DSharp (which depends on Spring4D), mostly for the Treeview Presenter and Data Binding features. Would you suggest the master branches or the1.2 brances? I use XE4 FWIW. Thanks.

Stefan Glienke I'm starting to use DSharp (which depends on Spring4D), mostly for the Treeview Presenter and Data Binding features. Would you suggest the master branches or the1.2 brances? I use XE4 FWIW. Thanks. https://bitbucket.org/sglienke/dsharp/src/ad7c5983505f0117f1347f92d2bb96c07bdfda94/Samples/DelphiTage/TreeviewPresenter/?at=master

Is anyone here working with SAP connectivity solutions?

Is anyone here working with SAP connectivity solutions? I'm particularly interested in the SAP ICF, Business Connector, and NetWeaver API.  What are the best options for Delphi here? Essentially, we need to both push and pull data to/from SAP (not yet sure which product/version specifically).  I have found SAP Connect from gs-soft, but wondering what else is available.

I'm having trouble finding info on this issue.

I'm having trouble finding info on this issue.  How do I use a C++Builder package in a Delphi project?  This is with RAD Studio Seattle. I've created a 32-bit package with C++Builder called (let's say) ParamHelperProj with a (let's say) TParamHelper class and installed it in the IDE.  I can see it listed in the installed packages list.  It's both a runtime and designtime package.  I create a new Delphi project and I'm lost.  What do I put in the uses clause to get the TParamHelper class?  What all do I need to do to access this package from Delphi? Thank you in advance, -- Michael

I'm having trouble finding info on this issue. How do I use a C++Builder package in a Delphi project? This is with RAD Studio Seattle.

I'm having trouble finding info on this issue.  How do I use a C++Builder package in a Delphi project?  This is with RAD Studio Seattle. I've created a 32-bit package with C++Builder called (let's say) ParamHelperProj with a (let's say) TParamHelper class and installed it in the IDE.  I can see it listed in the installed packages list.  It's both a runtime and designtime package.  I create a new Delphi project and I'm lost.  What do I put in the uses clause to get the TParamHelper class?  What all do I need to do to access this package from Delphi? Thank you in advance, -- Michael

Platform eXtended Library (PXL) is a cross-platform framework for developing 2D/3D video games, interactive and scientific applications. It aids the developer with mathematics, hardware control, resource management, displaying real-time graphics and text, handle user input and network communication capabilities.

Platform eXtended Library (PXL) is a cross-platform framework for developing 2D/3D video games, interactive and scientific applications. It aids the developer with mathematics, hardware control, resource management, displaying real-time graphics and text, handle user input and network communication capabilities. This library is based on a well-known Asphyre framework, supersedes all previous releases and is under continuous development. It requires Embarcadero Delphi or FreePascal / Lazarus. Multiple desktop and mobile platforms are supported, along with native hardware support for compact singleboard computers including devices such as Raspberry PI, Intel Galileo, BeagleBone Black among others. http://asphyre.net/products/pxl

R2build is a free build automation solution to establish your daily build / continuous integration system in a very easy way . It includes, but is not limited to, build in actions for email notification, FTP, various installer packaging tool, Java/C++/Ant/Nant/.Net/Delphi/C++Builder, and various source control tools. You can also create your own action to support more tools.

R2build is a free build automation solution to establish your daily build / continuous integration system in a very easy way . It includes, but is not limited to, build in actions for email notification, FTP, various installer packaging tool, Java/C++/Ant/Nant/.Net/Delphi/C++Builder, and various source control tools. You can also create your own action to support more tools. http://www.aurumation.com/

I have been tasked with finding and choosing an encryption library for Delphi.

I have been tasked with finding and choosing an encryption library for Delphi. One of the main criteria is that it work with C#/.Net -- i.e., that something encrypted with Delphi be decrypt-able with C#/.Net, and vice versa. I've also been tasked with, once the library is chosen, selecting an encryption algorithm. Again, it needs to work seamlessly with C#/.Net Leadership seems inclined to use Turbopower's LockBox, but then this brings the question of Version 2 versus Version 3. I confess to only limited knowledge of encryption, and so am asking for the wisdom of you fine people to help me. Any advice on where to get started? Any advice on various Delphi libraries that should be C#/.Net friendly? Your assistance in this matter is greatly appreciated.

I have been tasked with finding and choosing an encryption library for Delphi. One of the main criteria is that it work with C#/.Net -- i.e., that something encrypted with Delphi be decrypt-able with C#/.Net, and vice versa.

I have been tasked with finding and choosing an encryption library for Delphi. One of the main criteria is that it work with C#/.Net -- i.e., that something encrypted with Delphi be decrypt-able with C#/.Net, and vice versa. I've also been tasked with, once the library is chosen, selecting an encryption algorithm. Again, it needs to work seamlessly with C#/.Net Leadership seems inclined to use Turbopower's LockBox, but then this brings the question of Version 2 versus Version 3. I confess to only limited knowledge of encryption, and so am asking for the wisdom of you fine people to help me. Any advice on where to get started? Any advice on various Delphi libraries that should be C#/.Net friendly? Your assistance in this matter is greatly appreciated.

FMX multi device application, this is what happens every, say, ten minutes in the editor to my project source (editor takes away the A of Application.Run and put a double A in front of the two Application.CreateForm !!).

Image
FMX multi device application, this is what happens every, say, ten minutes in the editor to my project source (editor takes away the A of Application.Run and put a double A in front of the two Application.CreateForm !!). Yesterday it did another oddity,  adding a second P in front to PROCEDURE reserved word, in the implementation of some methods (main form).Fixed recreating by scratch the whole project. Seattle with update 1, without any plugin, a couple of components installed... I'm going crazy..any help or workaround?

An e-mail arrives from IDERA titled:

An e-mail arrives from IDERA titled: SQL Security Management Best Practices - Whitepapers from Pinal Dave & IDERA Kind of ironic really.

Originally shared by David Berneda

Image
Originally shared by David Berneda Automatic Dashboard using data from a web provider (Quandl.com). A small template defines where is the data (in a TeeBI store or external), and how should it be rendered, in this example as a grid and a chart panels. Data is automatically analyzed to detect special kinds of values like Financial, and in this example dates are reversed and in yyyy-mm-dd format. This example (optional) minimal code is: BIVisual1.Template := TBITemplate.FromText( Memo1.Lines ); BIVisual1.Generate; Identical code works in VCL and FMX Firemonkey, and rendering to plain HTML for the web with no other dependencies than TeeChart Javascript: var Web : THTMLRender; Web:=THTMLRender.Create; BIVisual1.Generate(Web); Web.HTML.SaveToFile('mypage.htm');

MSBuild: Compiling and generating an Android APK file

MSBuild: Compiling and generating an Android APK file I was wondering if someone can help with my issue. I have a multi platform application done in Seattle. I have written a batch file to compile for the various platforms. This is working well. The issue is that when I want to create a APK file using the .DEPLOYPROJ file, nothing gets done, as it seems that none of the variables required for the build file is set. Has anyone one done this? Regards Stiaan

Does anybody knows how i get a student licence of Delphi XE10 Enterprise?

Does anybody knows how i get a student licence of Delphi XE10 Enterprise? I have a new student here in my company who completes a four year course of study. We call this "Berufslehre" here in switzerland. He works half on the company and the other half he studied in a college. I tryed to find out where i can get a "student" licence, but my local dealer has no idea about it.

Why there needs to be a middle ground between the no threading or indentation of Google+, and the full threading and indentation of the EMBT forums.

Image
Why there needs to be a middle ground between the no threading or indentation of Google+, and the full threading and indentation of the EMBT forums. :P The example is from this link (which at the time was the most recent comment): https://forums.embarcadero.com/thread.jspa?messageID=806213#806213

Does anybody know how the new positioning of Embarcadero will affect All-Access-Customers?

Does anybody know how the new positioning of Embarcadero will affect All-Access-Customers? Will nothing change and we will get the DB tools from Idera or will we be offered a conversion plan to a normal RAD Studio or Delphi subscription? Marco Cantu - do you have information on that?

Originally shared by Jeroen Wiert Pluimers

Originally shared by Jeroen Wiert Pluimers This weekend, the Embarcadero web site was hacked by AnonCoders. Not once (see also G+ link and DelphiPraxis link and image) but at least twice (see also G+ link and image and Delphi Praxis link and image) where the initial hacked simple text “Hacked By… http://wiert.me/2016/03/14/delphi-disable-or-change-your-welcome-page-to-not-use-the-embarcadero-site-as-that-site-has-been-hacked-twice-this-weekend

Hi All

Hi All I am busy converting a vcl app to run on a Windows 10 tablet.  Is there a way in Delphi to display and hide the windows keyboard?  I want to display the keyboard when an edit box is pressed. Thanks

Thank you to everyone who entered the Bad Delphi Code Competition. Entries are now closed.

Thank you to everyone who entered the Bad Delphi Code Competition. Entries are now closed. I’ll be looking at the entries (together with Roman Yankovsky, who kindly donated a copy of FixInsight as an additional prize) probably over the next week. Look out for a blog post and winner announcement soon. https://parnassus.co/bad-delphi-code-competition-entries-closed/ https://parnassus.co/bad-delphi-code-competition-entries-closed/

Hello

Hello, I have a Delphi application residing on a third part Windows VPS service; all users have access to this application via RDS/Active Directory. The application needs to acknowledge who the user is (RDS User Login ID maybe ?) but I don't know how to achieve this. Can you point out any documentation/library or do you have any code snippet ? Many thanks Alberto

Hey guys

Hey guys, In FireMonkey for Android the complete application runs on just one Activity instance? All the FireMonkey forms are mapped to be showed on only one Activity (FMXNativeActivity)? In the AndroidManifest.xml I can see only one Activity declared, I thought it created an activity for each form hence we can desire to add different configurations such as for handle files via intents (the share functionality on Android depends on AndroidManifest configuration but I can only change it for MainActivity and in a share scenario I would love to start the application in a specific screen for dealing with file handling). :D
What are my options with Delphi 10 Seattle to connect Android to a remote mySQL database? Is there connectivity built in to Delphi (Firedac) or do I need to use a third party driver for this? Thanks!

Hello

Hello, I was hoping anyone can help me with a Modalform with textinput's that should handle textevents for TEdit in Firemonkey Android? see below, TMyForm is a simple TForm. like this, with 2 buttons and 3x TEdit's. The formStyle is Popup, not Normal (standard) TMyModalForm = class(TForm) Edit2: TEdit; Edit1: TEdit; Edit3: TEdit; Button1: TButton; Button2: TButton; private { Private declarations } public { Public declarations } end; if I run this code, in an onclick event. dlg := TMyModalForm .Create(nil); dlg.ShowModal(procedure(ModalResult : TModalResult) begin if ModalResult = mrOK then begin // any work can be done here afterwards end; end); the form is nicely shown. but there is no focus on the TEdit boxes. The keyboard does not show up. Anyone any idea how to get the TEdit working this way? (or any other way..) Thanks

I just launched Delphi 10 Seattle and received the following Windows Security Alert. Upon further investigation of the the Windows Firewall I noticed that the two public Embarcadero inbound rules were blocked but the two private rules were allowed.

Image
I just launched Delphi 10 Seattle and received the following  Windows Security Alert .  Upon further investigation of the the Windows Firewall I noticed that the two public Embarcadero inbound rules were blocked but the two private rules were allowed. I just blocked the two private Embarcadero inbound rules and Delphi 10 Seattle launched fine.  Given the recent hack of the Embarcadero site, I feel better having the two private Embarcadero inbound rules blocked. Are there any unintended consequences that could result from keeping the two private inbound rules blocked?

Hijacked again... Oh dear 😳

Image
Hijacked again... Oh dear 😳

I guess that by now many people are aware that parts of the Embarcadero website have been hacked. I know it will take time to work out what has happened, and I am very much looking forward to hearing from Embarcadero with an explanation in due course. I am naturally concerned about the security of passwords.

I guess that by now many people are aware that parts of the Embarcadero website have been hacked. I know it will take time to work out what has happened, and I am very much looking forward to hearing from Embarcadero with an explanation in due course. I am naturally concerned about the security of passwords. I would be very much relieved if I were to be told that Embarcadero had hired in outside and expert help in order to investigate what has happened. As many people have pointed out, there has been a long history of poor security from the internet facing aspects of the business, and I don't have a lot of faith in the in-house IT admin of Embarcadero. This latest incident only serves to strengthen that view. Let's hope that we get a good response from Embarcadero and that they go some way to rebuilding all the trust that such events erode. Marco Cantu

Random question: why aren't pointers or references regarded as an ordinal type? This would allow you to switch on objects including controls, for example

Random question: why aren't pointers or references regarded as an ordinal type? This would allow you to switch on objects including controls, for example, case Sender of radioOne : ...'; radioTwo : ...; end; Currently, using case on any reference or pointer gives the error, "E2001 Ordinal type required". In Delphi, "Ordinal types are the predefined types Integer, Char, WideChar, Boolean, and declared enumerated types" (although this should perhaps say all integer types, since it includes ShortInt, Byte, NativeUInt, etc as well.) An ordinal type in general is "a data type with the property that its values can be counted. That is, the values can be put in a one-to-one correspondence with the positive integers." (From Wikipedia.) The thing is, pointers seem to fit nicely into that classification. Is there a theoretical, language, or compiler reason I'm not aware of why a pointer is not regarded as ordinal?

Reminder: the Bad Delphi Code Competition ends tomorrow! Spend your weekend writing the worst code you can.

Reminder: the Bad Delphi Code Competition ends tomorrow! Spend your weekend writing the worst code you can. https://parnassus.co/bad-delphi-code-the-competition/ https://parnassus.co/bad-delphi-code-the-competition

someone else has this message of Delphi?

Image
someone else has this message of Delphi? Hacked By AnonCoders ~ Cyber Caliphate

Anyone uses these FMX components?

Anyone uses these FMX components? Many of them should be useful for mobile dev (ads, in app payments, social. ...)., ending, maybe?, in a shorter time to market.  Any input is appreciated! http://www.jvesoft.com/wp/

www.embarcadero.com is hacked??? ☺

www.embarcadero.com is hacked??? ☺ http://www.embarcadero.com

Calculating Offsets into the Delphi editor buffer

Calculating Offsets into the Delphi editor buffer The animated GIF in my previous post shows how the new AutoTodo expert in GExperts works. Unfortunately it turned out later that, again, I had overlooked a Unicode issue. If the editor buffer contains any Unicode characters, the offsets for inserting the todos where off by one for each of these characters, so the todos were inserted in the middle of the source code rather than at the empty blocks. http://blog.dummzeuch.de/2016/03/12/calculating-offsets-into-the-delphi-editor-buffer/

Is there a function that converts the character offset in a multi line string to line and column index?

Is there a function that converts the character offset in a multi line string to line and column index? Say I have a string s and a string list sl: sl.Text := 'abc'#13#10'defgh'#13#10'i'#13#10'jklm'; s := sl.Text; or as text: abc defgh i jklm I have the offset of the character 'g' (=9) into that string but I want to get the index of the line containing that character in sl[] (=2) and the position of the character in that line (=4). I would have expected TStringList to have a method for this, but I can't find it. Google also didn't help, probably I was unable to find the correct search terms for this. I'm going to implement it myself now, but I am sure somebody else already has done so.

As i just recently found this G+ group i might post it here as well.

As i just recently found this G+ group i might post it here as well. Incorrectly translated header translations in default VCL units. I wonder if those will ever get fixed. http://stackoverflow.com/questions/32547130/correcting-header-translations-signatures-in-standard-units http://stackoverflow.com/questions/32547130/correcting-header-translations-signatures-in-standard-units

Well I'll be a son of a -

Well I'll be a son of a - I'm finally getting my feet wet with Seattle and I thought I would do some GetIt exploring - my first visit and I've got a question or two. Lo and behold I see some favorites: VirtualTree - is this the same as VirtualTreeView originally created by Mike Lischke? Along with that I see MustangPeak VirtualShellTools and EasyListView Has anyone here used these? I'm assuming since they are listed in GetIt they are functional in Seattle? What do they mean source-only What is TurboPack What are some of your favorites?