Posts

Showing posts from September, 2016
Hello. I am in need to design the hierarchy of classes (up to 10 classes), and I am looking for some UML-like tool for this, which would generate the code at the end. There was ModelMaker long time ago (and we licensed it), but right now it's a one-time task, so I'd use something simpler and preferably free. Any suggestions, please?
We crossed 8,000 members.

Hi

Image
Hi i am having issue to save PDF file to MS SQL Table, with following code and i am getting error (Error image has attach) please kindly some one help me to solve the issue, thanks procedure TEmployProfile.AdvGlassButton6Click(Sender: TObject); var FileName: string; FileStream: TFileStream; BlobField: TBlobField; const SBlobFieldName: string = ''; begin FileName := ''; if OpenDialog1.Execute then FileName := OpenDialog1.FileName; if FileName = '' then Exit; FileStream := TFileStream.Create(FileName, fmOpenRead); QDocument.Open; try QDocument.Insert; BlobField := QDocument.FieldByName('EMPDOCUMENT') as TBlobField; BlobField.LoadFromStream(FileStream); QDocument.Post; finally FileStream.Free; end; end;

dzMdbViewer 1.0.2 released

dzMdbViewer 1.0.2 released http://blog.dummzeuch.de/2016/09/30/dzmdbviewer-1-0-2-released/

A new blog has been posted:

Image
A new blog has been posted: Delphi and iPhone helping vision impaired people http://www.tmssoftware.com/site/blog.asp?post=362 Assemble this cool iPhone app powered with Delphi 10.1 Berlin and the TMS FMX Cloud Pack in 15 minutes!

Blog post "Resuming the DelphiRazor Library Project" at http://blog.marcocantu.com/blog/2016-september-delphirazor-resuming.html

Blog post "Resuming the DelphiRazor Library Project" at http://blog.marcocantu.com/blog/2016-september-delphirazor-resuming.html http://blog.marcocantu.com/blog/2016-september-delphirazor-resuming.html

Hi

Hi Can you tell me how can i save PDF file to MS SQL Table in Delphi 10.1 ?

Does anyone have experience using the APIs at https://market.mashape.com/spoonacular?

Does anyone have experience using the APIs at https://market.mashape.com/spoonacular ? I am trying to POST some data and use the Response. They do not have a Pascal example. I think I have used Indy10 to post. However, all the POST examples show the URL with a "/dosomething.php" or something similar. Then the HTTP component adds a "?name=value&one=two&" and so on for all the headers and data. The API call I want to use does not have this, " http://spoonacular-recipe-food-nutrition-v1.p.mashape.com/recipes/visualizePriceEstimator " When I send the request it sends ...Estimatorx-mashape-key=xxxxxx... The response is "missing key". Can someone show me how to do this? Win 10, Delphi XE7 Pro. https://market.mashape.com/spoonacular/recipe-food-nutrition

Hello guys

Hello guys, Some days ago I started a project aiming decrease the gap in the integration between Delphi and Objective-C, it is the first time I own an iPhone device (it was a gift, I am a poor guy :P) and my first contact with Delphi wrapping Objective-C APIs, it is pretty good however the integration between the two languages is not pleasant, using TOCGenericImport and TOCLocal is not much beautiful. The idea here is consume Objective-C APIs in a more friendly way, using the max of Delphi code possible :D It is hosted here ( https://github.com/fofoflylandia/Raco ) in very very early phase, at this time it is just an experiment. If you are interested on it, please let me know :D Thanks in advance and thanks for Chris Rolliston and David Nottage for answering my question here :D

how to find document in mongodb collection, if i have ObjectID as string?

how to find document in mongodb collection, if i have ObjectID as string? i tried some variants, but without success .Match('"_id" : ObjectId("57EB7FD37E58C0C489BFF6F2")') and .Match .BeginObject('_id.$oid') .Add('$eq', '57EB7FD37E58C0C489BFF6F2') .EndObject both does not work.....
8,000 Delphi Developers community members count has passed! Congratulations!

A new version of our ORM framewok for Delphi has been released with several new features!

Image
A new version of our ORM framewok for Delphi has been released with several new features! What's new in TMS Aurelius v3.4.0.0: http://www.tmssoftware.com/site/aurelius.asp?s=history TMS Aurelius is part of TMS Business Subscription: http://www.tmssoftware.com/site/bipack.asp Users with an active license to TMS Business Subscription receive TMS Aurelius v3.4 free.

Originally shared by David Berneda

Image
Originally shared by David Berneda #TeeChart World maps can now be rendered in 3D (VCL: GDI, GDI+, OpenGL and Firemonkey: all platforms). Very fast rotation and zoom

Jeg ønsker å komme i kontakt med en utvikler som har erfaring med å integrere et system mot Altinnportalen.

Jeg ønsker Ã¥ komme i kontakt med en utvikler som har erfaring med Ã¥ integrere et system mot Altinnportalen. Logge inn, sende skjemaopplysninger og hente kvittering. Gjelder særlig innsending av lønnsopplysninger og mva. Ønsker 100% Delphikode. Kontakt post at teltec no

Title

sorry my starter and I still use Delphi 7 I am confused how to lock the main menu .. if not logged in then the main menu can not be used ... how its Delphi code

Lasse has released new version of TBCEditor.

Lasse has released new version of TBCEditor. Lately he has been included pretty good optimizations also. For some cases it's faster than SynEdit (With big file, keep in mind that SynEdit has "native" pascal code highlighters and TBCEdit has dynamic highlighting) If you have need for syntax highlighting or already use one, you really should check this out. And I think it would be good choice even if you do not need highlighting at all. https://github.com/bonecode/TBCEditor/releases/tag/v1.7.0 PS. not my project ;) https://github.com/bonecode/TBCEditor/releases/tag/v1.7.0

so

so, how to get last inserted mongo documents, objectID ?

Hi any one can tell me any tool that i can Convert VB Projects to Delphi ?

Hi any one can tell me any tool that i can Convert VB Projects to Delphi ? Thanks

Hello everybody.

Hello everybody. Is someone here who Can help me with Delphi and sqlite? I have a Memo field with lots of Text but I cannot get it to work with any field Type. I get an Error that there is no converter. Thanks in advance Frank
Steffen Nyeland i can not comment on your post re DnD.

I've been playing around with Berlin for a couple of days. These sessions is about finding out about a lot of changes and additions since XE2 (i use XE7 too, but only "like" XE2 because i could not upgrade some of the needed libraries).

I've been playing around with Berlin for a couple of days. These sessions is about finding out about a lot of changes and additions since XE2 (i use XE7 too, but only "like" XE2 because i could not upgrade some of the needed libraries). It's a lot of fun catching up on RTL, VCL and what 3rd Party Libs i could afford. So i'm starting small projects and checking out published properties a lot. 1. Is there a keyboard shortcut for the ellipsis button in the Object Inspector? The button brings up collection and other kinds of design-time editor windows / dialogs. 2. Is there a IDE plugin or something that will keep the active row in the Object Inspector after i clicked and used a collection editor? Why; When i click (example "Columns" property in TDBGrid) to edit a collection the collection gets focused in the "Structure" view, that changes the content of the Object Inspector and when i close the editor the active row is the first again. It's ki

Originally shared by TRichView

Image
Originally shared by TRichView We updated Report Workshop to version 1.2 In this update, we concentrated on integration with ScaleRichView. A new demo project is available: WYSIWYG report designer using FireDAC (based on ScaleRichView editor). Additionally, we added report designer demos using MicroOLAP's DAC for MySQL and PostgresDAC Web site: http://www.trichview.com #trichview #reportworkshop #vcl #delphi #reporting #mysql #postresql #miroolap Pavel Golub Aleksander Andreev

Hi

Hi, I have a problem getting the data from the source node in a virtual treeview OLE dragNdrop operation - between processes. I have a VCL form with a TVirtualStringTree and a TMemo - and the objective is to be able to drag one node to another, and on the drop take some of the source nodes data and manipulate the target nodes data. Within the same application no issues, but when doing this between processes - I do not seem to able to get data from the DataObject as I would expect. I do not want to add or insert nodes in target tree - just have access to both my source and my target nodes. An example of one of my tries for the DragDrop event: var Data: PString; Node: PVirtualNode; begin if Source<>nil then // within same process begin Data := TVirtualStringTree(Source).GetNodeData(TVirtualStringTree(Source).FocusedNode); Memo1.Lines.Add('Source data: '+ Data^); end else begin // between applications Node := Sender.AddChild(nil); // temp node

Do i have the sources for FireDAC?

Do i have the sources for FireDAC? It was impossible to Google the answer. So i opened the feature-matrix PDF. I'm using Professional w/o any "packs". I can only find: Source code of the included database drivers [ C2 D2 ] ... FireDAC source code [ C4 D4 ] Numbers are footnotes, heres the ledger: X2 = Optional with FireDAC Client/Server pack in Professional editions X4 = Limited to local connections in Professional editions, remote connections optional and part of the FireDAC Client/Server pack I think they meant D2 for the second entry. Bummer. From the look of it FireDAC looks very capable. If it's not as buggy and incomplete as other stuff [ehrm... another topic, another forum] then i'm impressed. But w/o sources i won't touch it.

Does anyone know how (or tried to, or succeeded in) integrating/using Windows 10 stylus/inking support in Delphi...

Does anyone know how (or tried to, or succeeded in) integrating/using Windows 10 stylus/inking support in Delphi (Seattle or Berlin, say)? As mentioned for example here: https://msdn.microsoft.com/en-gb/magazine/mt590975.aspx https://blogs.windows.com/buildingapps/2016/08/04/the-ink-canvas-and-ruler-combining-art-and-technology/#roJQT2vmleATLFSq.97 From a user perspective in Anniversary edition there's been some refinements as well apparently, not sure if this also applies to developer API's...: http://www.windowscentral.com/here-are-three-biggest-features-windows-ink-windows-10-anniversary-update http://www.windowscentral.com/here-are-three-biggest-features-windows-ink-windows-10-anniversary-update

Does anyone know how (or tried to, or succeeded in) integrating/using Windows 10 stylus/inking support in Delphi (Seattle or Berlin, say)?

Does anyone know how (or tried to, or succeeded in) integrating/using Windows 10 stylus/inking support in Delphi (Seattle or Berlin, say)? As mentioned for example here: https://msdn.microsoft.com/en-gb/magazine/mt590975.aspx https://blogs.windows.com/buildingapps/2016/08/04/the-ink-canvas-and-ruler-combining-art-and-technology/#roJQT2vmleATLFSq.97 From a user perspective in Anniversary edition there's been some refinements as well apparently, not sure if this also applies to developer API's...: http://www.windowscentral.com/here-are-three-biggest-features-windows-ink-windows-10-anniversary-update http://www.windowscentral.com/here-are-three-biggest-features-windows-ink-windows-10-anniversary-update

Hi

Hi, We have developed a desktop GUI application using Embarcadero Delphi XE6. It is Multi tier application using DBExpress, DataSnap technology. We face poor performance, memory leaks, system crash, and unstable application server problems. Originally it was developed in Delphi 5. Using Midas, bde connectivity, multi tier architecture. It was fine and supported 70 concurrent users. Later we migrated to Delphi XE2 DataSnap, and the problem is started. We asked to upgrade to XE6. But the problem is yet not solved. We are looking for experts / consultants to review our application’s design, to improve the performance and stability. Also we want to develop a Delphi DataSnap REST application server and html 5 clients to support mobile and web browsers. Please reply me to make further discussions and to make arrangements to review our application. With regards J. Faridh faridh.jmr at gmail.com skype faridh.jmr

Hello!

Hello! Anybody knows of a component/class set implementing a text chat system? I am looking to avoid reinventing the wheel if possible. Simple systems are fine, but of course the more features the better :) I doubt there's anything free, but how about low cost? Anybody knows anything? Thanks! A

At the moment, I'm looking for justification (if any) for using a service like Kinvey for push notifications for mobile devices. Take the example where there's an existing DB of customers, and you're (probably) able to associate one or more devices with each customer by adding a table that links them.

At the moment, I'm looking for justification (if any) for using a service like Kinvey for push notifications for mobile devices. Take the example where there's an existing DB of customers, and you're (probably) able to associate one or more devices with each customer by adding a table that links them. Apparently Kinvey does the "push work" for you (i.e. sends push notifications to iOS and Android devices), however it looks like you still need to build the list of customers and their devices anyway so that it knows where to send them. I figure I could extend TBackendPush and just do the push to Apple and GCM myself. Of course this all entails extending a backend service (or building one). Would there be any advantage here in using something like Kinvey?

Is it me or does the TImageList in FMX Berlin (Starter) fail to load the appropiate Icon-Layer and instead always...

Is it me or does the TImageList in FMX Berlin (Starter) fail to load the appropiate Icon-Layer and instead always loads the first? I have a multiresolution-icon and i only get the x16 Layer. I need the x32 layer. EDIT: Is customsize x32 correct then? (and then loading the icon) EDIT2: Okay it seems to be impossible to load the x32 layer. Exported a x32 png (-.-). But WHY does the TButton resize it to x16? All i want is a x32 picture on ab button, centered.

Is it me or does the TImageList in FMX Berlin (Starter) fail to load the appropiate Icon-Layer and instead always loads the first? I have a multiresolution-icon and i only get the x16 Layer. I need the x32 layer.

Is it me or does the TImageList in FMX Berlin (Starter) fail to load the appropiate Icon-Layer and instead always loads the first? I have a multiresolution-icon and i only get the x16 Layer. I need the x32 layer. EDIT: Is customsize x32 correct then? (and then loading the icon) EDIT2: Okay it seems to be impossible to load the x32 layer. Exported a x32 png (-.-). But WHY does the TButton resize it to x16? All i want is a x32 picture on ab button, centered.

Hi for my Application i am using TStyleManager.TrySetStyle('Glossy');

Hi for my Application i am using TStyleManager.TrySetStyle('Glossy'); if need to use Different style for another form how can i change ? i am using Delphi XE 10.1 Berlin Please advice, thanks

When people use abbreviations, stuff is confusing:

When people use abbreviations, stuff is confusing: function StripBra( AStr: string ): string;

Ann: NexusDB Embedded Free now available via GetIt

Ann: NexusDB Embedded Free now available via GetIt Good news, everyone! :) Marco Cantu has just informed me that the NexusDB Embedded Free edition is now available in 10.1 Berlin via GetIt (10 Seattle and XE8 updates still to come). Thank you Marco for pushing it through!

Native Firemonkey vector country flags.

Image
Native Firemonkey vector country flags. https://github.com/changguangyu/FiremonkeyVectorCountryFlags
Ok, I have two datasnap web services , where I'm using two different ports (I have it in an ini file, and when each service starts, I set the port in the ServiceStart event). On Windows 7, I can install and start both services. On Windows Server 2012, if the first installed service is running, the second one can't be installed (gets an error saying the port is already in use). If I stop the first one, I can install the second one, but I cannot run both services at the same time. Any ideas? It is strange that it works fine in Windows 7 and not Windows server 2012.

Can somebody help me how to Set up a Small Database app with a loopkupfield? Maybe also showing how to bind a checkbox to a db Bit field and simultaneously to the visibility control of another field?

Can somebody help me how to Set up a Small Database app with a loopkupfield? Maybe also showing how to bind a checkbox to a db Bit field and simultaneously to the visibility control of another field? Maybe somebody has an example app with some explanations. Or maybe a link to a website where I can read into the matter. Thanks in advance

Is it a bug or a feature ?

Image
Is it a bug or a feature ? When a ActionList state is asSuspended, any change on the Action items do not affect the associated components (like Enabled), and when you switch the ActionList state to asNormal, the state is out of sync.

Delphi generics TObjectList does have the Extract(const Value: T): T; method.

Delphi generics TObjectList does have the Extract(const Value: T): T; method. But what about Extract(Index: Integer). I a lot of the cases the index is known and it makes no sense to search again and again for the pointers.

Delphi generics TObjectList does have the Extract(const Value: T): T; method. But what about Extract(Index: Integer). I a lot of the cases the index is known and it makes no sense to search again and again for the pointers.

Delphi generics TObjectList does have the Extract(const Value: T): T; method. But what about Extract(Index: Integer). I a lot of the cases the index is known and it makes no sense to search again and again for the pointers.

I found that Delphi generics TObjectList with an attached TComparer behaves very strange.

I found that Delphi generics TObjectList with an attached TComparer behaves very strange. I struggle into that problem while switching my code from normal TObjectList to TObjectList . The heavy to understand background is the fact that the Remove(const Value: T) suddenly uses "undocumented" the TComparer and not the pointer. That works fine as long as there are not "key doubles" in the list. I know this sounds rather technical and I have prepared a small sample to make the problem visible. RunTest(False) works RunTest(True) fails Perhaps I should stop using TObjectList .Create(const AComparer: IComparer ; AOwnsObjects: Boolean) --- unit uTest; interface uses classes; type TPerson = class(TObject) public Name: string; RecID: integer; constructor Create(AName: string; ARecID: integer); end; TMyTest = class(TObject) procedure RunTest(AAddComparer: boolean); end; implementation uses system.Generics.Collections, system.Generics.Defaults, sysUtils; procedure TM

I found that Delphi generics TObjectList with an attached TComparer behaves very strange. I struggle into that problem while switching my code from normal TObjectList to TObjectList.

I found that Delphi generics TObjectList with an attached TComparer behaves very strange. I struggle into that problem while switching my code from normal TObjectList to TObjectList . The heavy to understand background is the fact that the Remove(const Value: T) suddenly uses "undocumented" the TComparer and not the pointer. That works fine as long as there are not "key doubles" in the list. I know this sounds rather technical and I have prepared a small sample to make the problem visible. RunTest(False) works RunTest(True) fails Perhaps I should stop using TObjectList .Create(const AComparer: IComparer ; AOwnsObjects: Boolean) --- unit uTest; interface uses classes; type TPerson = class(TObject) public Name: string; RecID: integer; constructor Create(AName: string; ARecID: integer); end; TMyTest = class(TObject) procedure RunTest(AAddComparer: boolean); end; implementation uses system.Generics.Collections, system.Generics.Defaults, sysUtils; procedure TM

Hello guys

Hello guys, I am playing with ObjectiveC and Delphi, it is very fun however I am stuck with a problem. In the ObjectiveC side I have: NSError *error = nil; if ([context canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error]) {} I have already wrapped this method in the following way: LAContext = interface(NSObject) ['{8F6B7D53-83A8-43D3-B6C2-116068C382CE}'] function canEvaluatePolicy(policy: LAPolicy; error: PNSError): Boolean; cdecl; end; PNSError = ^NSError; I am getting Access Violation all the time I try to extract the content of this pointer. My code is: var Context: LAContext; canEvaluate: Boolean; Err: PNSError; ErrorMessage: string; begin Context := TLAContext.Create; canEvaluate := Context.canEvaluatePolicy(LAPolicyDeviceOwnerAuthenticationWithBiometrics, Err); ErrorMessage := NSStrToStr(TNSError.Wrap(Err).localizedDescription); With this code I am not able to see the content of "Err&q

I am looking for ideas on how to have a Delphi (Windows) application force the installation of a device driver.

I am looking for ideas on how to have a Delphi (Windows) application force the installation of a device driver. I am deploying the application , the .inf and .cat files in a zipped archive. I want non-technical users to launch the app and have it take care of installing a USB to serial device driver.
I am looking for ideas on how to have a Delphi (Windows) application force the installation of a device driver. I am deploying the application , the .inf and .cat files in a zipped archive. I want non-technical users to launch the app and have it take care of installing a USB to serial device driver.

I thought this was an interesting read:

I thought this was an interesting read: https://hackernoon.com/the-decline-of-stack-overflow-7cb69faa575d#.1tu3d0y26 https://hackernoon.com/the-decline-of-stack-overflow-7cb69faa575d#.1tu3d0y26

Another question re TImageList and Buttons. How do I adjust the position of an image that I have placed in a TButton (or Speedbutton)?

Image
Another question re TImageList and Buttons. How do I adjust the position of an image that I have placed in a TButton (or Speedbutton)?

When I add an image (32x32) to a TListImage it appears smaller (I think 16x16) when I add that image to a Button or SpeedButton. It also knocks out the background color which I can live with but I need to increase the size of the image on the buttons. In the attached screenclip the middle image is the original size shown in a TImage (32x32). Any ideas?

Image
When I add an image (32x32) to a TListImage it appears smaller (I think 16x16) when I add that image to a Button or SpeedButton. It also knocks out the background color which I can live with but I need to increase the size of the image on the buttons. In the attached screenclip the middle image is the original size shown in a TImage (32x32). Any ideas?

First steps with REST and JSON

First steps with REST and JSON This is my first try to do something with REST and JSON. The server side is provided by the Delphi Dabbler SWAG archive the client is written with Delphi 10.1 Berlin. http://blog.dummzeuch.de/2016/09/25/first-steps-rest-json/

Today I finally got to documenting Free Pascal development for Ubuntu Phone. The first article is about writing console mode applications. Next one will cover GUI development with Lazarus. I am very excited as I also managed to solve the problem with OSK (on-screen keyboard) inside a GTK app running directly on the phone (not via Libertine). Stay tuned.

Today I finally got to documenting Free Pascal development for Ubuntu Phone. The first article is about writing console mode applications. Next one will cover GUI development with Lazarus. I am very excited as I also managed to solve the problem with OSK (on-screen keyboard) inside a GTK app running directly on the phone (not via Libertine). Stay tuned. today's first article available here: https://kriscode.blogspot.tw/2016/09/freepascal-development-for-ubuntu-phone.html

Hi

Image
Hi I need Help on Some coding , i am using Delphi XE 10 Berlin with MS SQL 2012 Express, please check the attach Image and really appriciate your support, thanks

Introducing asymmetric encryption, also known as public-key cryptography, with the SynEcc Open Source unit for Delphi 5 up to Delphi 10.1 Berlin!

Introducing asymmetric encryption, also known as public-key cryptography, with the SynEcc Open Source unit for Delphi 5 up to Delphi 10.1 Berlin! Feature set complete public/private keys generation, ECDSA certificates and digital signature, and ECIES encryption. Also works under Linux with FPC. http://blog.synopse.info/post/2016/09/24/Public-key-Asymmetric-Cryptography-via-SynECC

Can anyone tell me if Andreas' current IDE Fixpack works with the latest patch for Berlin?

Can anyone tell me if Andreas' current IDE Fixpack works with the latest patch for Berlin?

Hello guys

Hello guys, I am surfing problem when tring to wrap Objective-C APIs. I have followed the steps described here http://delphiworlds.com/2013/10/adding-other-ios-frameworks-to-the-sdk-manager/ , unfortunately without any success. All the time I run the code I get the error message: "ObjectiveC LAContext class could not be found". Strange is that I can see the LocalAuthentication folder inside Embarcadero\Studio\SDKs\iPhoneOS10.0.sdk\System\Library\Frameworks. I am trying to use Touch ID from my FireMonkey app, I got the wrapper from https://bitbucket.org/allesbeste/delphi-touchid-wrapper-for-delphi . Recently I have received a iPhone device to work with. The code works nice when targeting the Simulator however for real devices it doesn't work I don't know what I am doing wrong :( Debugging the app I realized the LocalAuthentication module was not loaded even I adding it to the SDK Frameworks, the entire output is here https://gist.github.com/horaciojcfilho/365bd8d509e7f
Ive managed to make the Component tab into the old Component toolbar. Any idea how to set it back to the Component tab?

I've tried to show the data using the rest by using the json web service. Now how where I create action save or add data. Do create a new web service post-api action

Image
I've tried to show the data using the rest by using the json web service. Now how where I create action save or add data. Do create a new web service post-api action

http://www.kouraklis.com/2016/09/how-to-build-and-deploy-a-delphi-osx-project-from-the-command-line/

http://www.kouraklis.com/2016/09/how-to-build-and-deploy-a-delphi-osx-project-from-the-command-line/ http://www.kouraklis.com/2016/09/how-to-build-and-deploy-a-delphi-osx-project-from-the-command-line/

Realistic Custom Shaders With HLSL In Direct3D With Delphi 10 Berlin FireMonkey On Windows

http://www.fmxexpress.com/realistic-custom-shaders-with-hlsl-in-direct3d-with-delphi-10-berlin-firemonkey-on-windows/

I have the following issue: When adding a new unit to a Delphi project the IDE always adds the new unit at the end of the uses clause.

I have the following issue: When adding a new unit to a Delphi project the IDE always adds the new unit at the end of the uses clause. This is a issue since after the last unit there is a ';' instead of a ','. The problem is that when I'm working with several branches in my vcs and adding new units in every branch it is difficult to merge them at the end of the day. That's why I'm looking for an IDE add in that allows to automatically sort the units of a project. Has someone heard about this functionality?

I'm looking for an algorithm that converts a list of integers (for instance of pages to be printed) from this form:

I'm looking for an algorithm that converts a list of integers (for instance of pages to be printed) from this form: 1,2,3,4,6,7,8,13,14 into 1-4,6-8,13-14 and back. My Google foo fails me as I get to way too complex stuff like http://stackoverflow.com/questions/283299/best-compression-algorithm-for-a-sequence-of-integers Anybody having something like this lying around? http://stackoverflow.com/questions/283299/best-compression-algorithm-for-a-sequence-of-integers

David I out, Nick H in... o_O

David I out, Nick H in...  o_O   Did Marco C pulled a palace coup? :-)))   ....would now NexGen Delphi would turn even more NexGen? :-D http://community.embarcadero.com/blogs?view=entry&id=8901

Can somebody help me, with firemonkey and LiveBindings?

Can somebody help me, with firemonkey and LiveBindings? I need to use a ComboEdit to show the user a Name to be selected. I have a table that stores First and Last name and an ID as Primary Key. In my main table I have different fields and one is the Integer field as Foreign Key to the Name Table. Now I want to bind the ComboEdit to show the Name but store the ID in the main Table. I have been looking for examples for this, but could'nt find anything. I am using Delphi 10.1.1 Berlin Update 1. Thanks Frank

Wow, this parses:

Wow, this parses: property DepartmentName: string index 0 string read GetCustomDataX; Note the extra "string". Found this in an old piece of code so it must have been uncaught by the compiler for quite a while.

In comment of Jim McKeeth 's "How big is your Delphi project?" (http://community.embarcadero.com/blogs?view=entry&id=8890 which does not allow comments).

Image
In comment of Jim McKeeth 's "How big is your Delphi project?" ( http://community.embarcadero.com/blogs?view=entry&id=8890 which does not allow comments). Largest binary here is 1.57 millions lines, full build in about 15 seconds, with optimizations and detailed map file (without map file, build takes 12 seconds). This is with XE 32bits. ...and this is with an "old" AMD Phenom II CPU. Compile times are definitely one of the reasons I keep using Delphi. Hopefully compiler speed will be a renewed focus for future Delphi versions!
Congratulations to Nick Hodges​, but whats with the duplicate posts, people :D

I have a project which I opened and the IDE does a very strange thing.

I have a project which I opened and the IDE does a very strange thing. The compiler doesn't recognise the changes I make in the code unless I Clean and then compile/build the project again. After the changes, it points me to lines and content from the previous edits. Has anyone experienced this before? Knows how to fix it? Is there a switch or something?

Nick Hodges has returned...[edited]

Nick Hodges has returned...[edited] http://community.embarcadero.com/blogs?view=entry&id=8901

I am pulling my hair out trying to get the IDE connected to mySQL via FireDac. Here is what I have tried:

Image
I am pulling my hair out trying to get the IDE connected to mySQL via FireDac. Here is what I have tried: 1. Downloaded mySQL and extracted 32bit libmysql.dll 2. Copied it into the Windows/System32 folder 3. Added Windows/System32 to path 4. Edited the FDDrivers.ini file and added: [MySQL] VendorLib=c:\Windows\System32\libmysql.dll What am I missing here? I can use MyDac and I connect very easily. But I am in a situation now where I can not use any third party components and must use the built in FireDac in Delphi. Help please!

http://community.embarcadero.com/blogs?view=entry&id=8901

http://community.embarcadero.com/blogs?view=entry&id=8901 http://community.embarcadero.com/blogs?view=entry&id=8901

Breaking news

Breaking news http://community.embarcadero.com/blogs?view=entry&id=8901

http://community.embarcadero.com/blogs?view=entry&id=8901

http://community.embarcadero.com/blogs?view=entry&id=8901 http://community.embarcadero.com/blogs?view=entry&id=8901

http://community.embarcadero.com/blogs?view=entry&id=8898

http://community.embarcadero.com/blogs?view=entry&id=8898 http://community.embarcadero.com/blogs?view=entry&id=8898
Is there a way to mark a piece of code so the "Source Formatter" (Ctrl-D) in Delphi skips it during formatting?

A few lines of the car game #delphi #embarcadero

A few lines of the car game #delphi #embarcadero FireMonkey TRectangle, TFloatAnimation only. https://twitter.com/haruyuk/status/778963839668727809

Hello guys

Hello guys, How do I inherit a Objective-C class from Delphi and make it compatible to use in the Objective-C side? Thanks a lot :D

A new blog has been posted: TMS VCL Cloud Pack v3.7 introduces new level of seamlessness to access cloud data

A new blog has been posted: TMS VCL Cloud Pack v3.7 introduces new level of seamlessness to access cloud data http://www.tmssoftware.com/site/blog.asp?post=361 http://www.tmssoftware.com/site/blog.asp?post=361
Anyone know how to connect mobile aplication with delphi to mysql?

"multi device preview" gives that error "invalid imagelist index"

"multi device preview" gives that error "invalid imagelist index" i got this error still XE7. Do you have why?

We're pleased to announce the availability of TMS FNC UI Pack v1.5.0.0 with 9 new components! FNC=VCL+FMX+LCL

Image
We're pleased to announce the availability of TMS FNC UI Pack v1.5.0.0 with 9 new components! FNC=VCL+FMX+LCL http://www.tmssoftware.com/site/tmsfncuipack.asp - New: TTMSFNCGridDatabaseAdapter, adapter to connect the TTMSFNCGrid to any database - New: TTMSFNCToolBarPopup, popup version of the TTMSFNCToolBar - New: TTMSFNCScrollBar, fully configurable scrollbar - New: TTMSFNCResponsiveList, responsive design list control ( http://www.tmssoftware.biz/download/manuals/TMSFNCResponsiveListDevGuide.pdf ) - New: TTMSFNCSearchList, multi-column list with optional categorized items, pictures and text ( http://www.tmssoftware.biz/download/manuals/TMSFNCSearchListDevGuide.pdf ) - New: TTMSFNCSearchEdit, editable version of the TTMSFNCSearchList - New: TTMSFNCHint, application / form wide HTML formatted hints - New: TTMSFNCListEditor, list editor control - New: TTMSFNCURLBitmapContainer, bitmap container with the ability to download images from an URL

TMS VCL Cloud Pack v3.7 has been released with 8 NEW components! What's new:

Image
TMS VCL Cloud Pack v3.7 has been released with 8 NEW components! What's new: - New: image analysis + OCR, text to speech via Microsoft cognitive services API - New: myCloudData-based cloud dataset component - And much more: http://www.tmssoftware.com/site/cloudpack.asp?s=history

Hello!

Hello! I would've thought that, in the latest incarnations, Indy would automatically create the necessary components to support HTTPs. However, I am getting a 501/Not implemented. Now, I do know that this is supposed to come from the server, BUT if I call that very URL from the browser, I get a JSON response. Well, I get a rubbish response :) but it's still JSON. So it must be coming from Indy. Anybody knows about this? Am I misguided? Thanks :) A

السلام عليكم ورحمة الله وبركاته

السلام عليكم ورحمة الله وبركاته in this release of Delphi Android 3.4 .... 5 function is added to provide communicating with arduino over wifi using ESP8266 Chip https://www.youtube.com/watch?v=D128Tby3B1g https://www.youtube.com/watch?v=D128Tby3B1g

https://youtu.be/Ks35RMgOnXI

https://youtu.be/Ks35RMgOnXI Mulch Touch C++Builder #embarcadero https://youtu.be/Ks35RMgOnXI

Some pictures from PasCon and Delphi Festival 2016. It was a pleasure to meet over 100 developers and many top quality speakers and Delphi experts.

Some pictures from PasCon and Delphi Festival 2016. It was a pleasure to meet over 100 developers and many top quality speakers and Delphi experts. http://www.andreamagni.eu/wp/2016/09/pascon-and-delphi-festival-2016-pictures/ http://www.andreamagni.eu/wp/2016/09/pascon-and-delphi-festival-2016-pictures/

Hmmmmm......There must be an error somewhere...

Image
Hmmmmm......There must be an error somewhere...

I see the ITDevCon is 6th & 7th Oct, not going to make it but was wondering do they show replays ?

I see the ITDevCon is 6th & 7th Oct, not going to make it but was wondering do they show replays ? I see Stefan Glienke will be talking on Dependency Injection which I still haven't looked at and many other topics sound interesting. http://www.itdevcon.it/en http://www.itdevcon.it/en

I find since upgrading 10.1 with Update 1 I can no longer use GExperts.

I find since upgrading 10.1 with Update 1 I can no longer use GExperts. After installing the latest version, I am getting .. PrivateGXMenuActionManager is not nil upon creation GXMenuActions.pas l 122 .. PrivateGXMenuActionManager is nil GxMenuActions l 116 Assertion Failure GxMacroLibrary.pas line 505 Thomas Mueller could this be because of problems in the RAD Studio installation and need a repair, or do you have any other suggestions. I am lost without GExperts. When I did the upgrade, I did get a message about some plugin not being correctly installed during the uninstall stage. I don't know if this is related or not. GExperts had been working find before the Update was installed.

Hello everybody

Hello everybody, after Reinstalling my complete RAD Studio using der downloadable ISO-Image for RAD Studio 10.1 Berlin Update 1 it did not install any Interbase Components anymore. How can I install the interbase. I want to install a small Database which shall be running on Windows Desktop and on Android. Synchronising is supposed to be implemented by my own. I thought using Interbase Database would be OK to store Data until the correct network is available. Can anybody give me some links on how to best implement this? Thanks in advance Greets Frank

Is "Multithreading - The Delphi Way" by Martin Harvey still relevant nowadays to read if not to use at least?

Is "Multithreading - The Delphi Way" by Martin Harvey still relevant nowadays to read if not to use at least? http://www.nickhodges.com/MultiThreadingInDelphi/ToC.html At some point in time it could had been a book but that didn't happen obviously. Thanks to Nick Hodges for hosting this nice piece for so much time. http://www.nickhodges.com/MultiThreadingInDelphi/ToC.html

Originally shared by David Berneda

Image
Originally shared by David Berneda Working hard improving the "GEO" database. Relationships between tables enable using your data in "group by" summary queries, and also to create automatic charts with zero lines of code. Choosing the appropiate map, finding the map polygons using codes (zip, fips, nuts, names, etc) and filling them with your data values is done automatically

Hey guys, I'm posting a link to an unofficial document of mine about PPL (a framework by Allen Bauer) - "Introduction to parallel programming library in Delphi". I wrote it a few years ago, but hadn't published it yet, because it needs (technical) review. The document is in OneDrive and can be freely edited (be constructive, please) with MS word Online or Offline. It has track changes enabled, so using your Microsoft account will leave your name in its history (Credits section is hungry for names :) ).

Hey guys, I'm posting a link to an unofficial document of mine about PPL (a framework by Allen Bauer) - "Introduction to parallel programming library in Delphi". I wrote it a few years ago, but hadn't published it yet, because it needs (technical) review. The document is in OneDrive and can be freely edited (be constructive, please) with MS word Online or Offline. It has track changes enabled, so using your Microsoft account will leave your name in its history (Credits section is hungry for names :) ). The document does not pretend to be detailed, it may contain stale information (it was written for XE7) or it may contain some incorrect technical information. NOTE: The document contains my thoughts, my point of view and my understanding of how PPL is designed and works (after reading parts of its source code). So please do not accept this content as 100% valid. That is currently this whitepaper should not be used as reliable source of information about PPL, nor be rep

I'm trying to execute this callback example from http://cc.

I'm trying to execute this callback example from http://cc.embarcadero.com/item/28288 and it give's me an error when i try to send a notify callback to other client. The Broacast message still ok. Someone knows how to correct this problem? Error: Remote error: VAR and OUT arguments must match parameter type exactly. Note: Used Delphi Berlin http://cc.embarcadero.com/item/28288

I'm trying to execute this callback example from http://cc.embarcadero.com/item/28288 and it give's me an error when i try to send a notify callback to other client. The Broacast message still ok.

I'm trying to execute this callback example from http://cc.embarcadero.com/item/28288 and it give's me an error when i try to send a notify callback to other client. The Broacast message still ok. Someone knows how to correct this problem? Error: Remote error: VAR and OUT arguments must match parameter type exactly. Note: Used Delphi Berlin http://cc.embarcadero.com/item/28288

Berlin (Starter), FireMonkey

Berlin (Starter), FireMonkey I place a TButton, rotation = 20, Form.Quality = High. The button has some aliasing. SHapes (like circles) however render absolutely smooth. Is it normal/a limitation?

Does someone know a component for calculation the needed place on a container if i have amount of packages with different dimensions per package.

Does someone know a component for calculation the needed place on a container if i have amount of packages with different dimensions per package. We need to calculate the needed loading-meters on containers for given packages. Also the container can have different dimensions, i.e. 20" or 40" or custom size... Any tips are welcome.

After installing Delphi 10.1 Berlin Update 1, I cannot start Delphi anymore.

After installing Delphi 10.1 Berlin Update 1, I cannot start Delphi anymore. First error: [Content] Access violation at address 204F6959 in module 'coreide240.bpl'. Read of address 00000011. Second Error [Content] Access violation at address 205FBCE2 in module 'coreide240.bpl'. Read of address 00000000. Anyone else? Marco Cantù? System: Windows 10 incl. Anniversary Update in VMWare VM Delphi 10.1 Berlin removed prior to installation of Update. no plus ones one comment I have tried this twice, with exactly same results.

Does anybody know, if there are downloadable extra Views for devices that can be imported.

Does anybody know, if there are downloadable extra Views for devices that can be imported. I am especially looking for the Devices Galaxy TabS2 9.7 and Galaxy S7/ S7Edge to be used in der devicemanager and the view when creating FMX-Forms. Thanks for help. Greets Frank

Just tried to get a webinar from Embarcadero but it the servers seem to be broken

Just tried to get a webinar from Embarcadero but it the servers seem to be broken Getting - channel-e.embarcadero.com took too long to respond.

Is anybody up for building a collection of code snippets?

Is anybody up for building a collection of code snippets? If you're like me, you've got a folder with some .pas files in it that have snippets of code that just don't fit anywhere. For example, I'll spend some time trying to figure out how to do something, searching around the web and grabbing bits and pieces of things until I've gotten something that works. Then I'll save that code to a file with some comments (if needed) for use later. Sometimes it's just a few lines of code, and sometimes it's an entire class or two. Some of these snippets work their way into a "common.pas" file, but mostly they're not exhaustive enough to become a separate component or library. For instance, I've got some code for when I want to use a TPageControl that has dynamically created TTabsheets that contain some kind of edit control (eg., a TMemo Aligned to Client with certain attributes set), similar to what you'd build a tabbed editor around. This is

(Or Getit Feature Request)

(Or Getit Feature Request) Rant? no, it's a suggestion to specify the correct name of the free components on Getit. I believe Get-it needs another category group for "Free Trials" or mark those as Free-Trial on the thumbnail or description. I'm talking about woll2woll's firepower and infopower. Days ago I try to install them (not knowing nothing about them) and the IDE just stops at loading asking for a serial key and some weird errors/message that I don't remember, I remove both, without testing; today I seek to install them again just to check what was this "free" things then I see in the name of the installer that is a trial "InfoPowerStudioBerlin_trial.exe". I don't like to install trials (because of past bad experiences). If Getit shows the "trial" word I will not try it, or maybe yes, but after investigate more (videos, demos). Thanks!

DevExpress VCL 16.1.4 is out with cool new feature for the ExpressSpreadSheet:

DevExpress VCL 16.1.4 is out with cool new feature for the ExpressSpreadSheet: With VCL 16.1.4, the ExpressSpreadSheet Suite ships with the new Report Designer control (the TdxSpreadSheetReportDesigner component) that allows you to design a report template, bind it to a data source, and generate spreadsheet documents populated with data obtained from the bound data source.

Hello everybody

Hello everybody, can somebody tell me how to update the android SDK in RAD Studio 10.1 Berlin? Also I would like to know how I can get my Galaxy TabS2 and my S7 Edge in the Formviewer, so I can select them in there. Hope someone can help... Thanks in advance Greetings Frank
Andreas Hausladen Can we use your IDE-Fixpack for 10.1 Berlin also for 10.1 Berlin with Update 1 ?

Hi Folks

Hi Folks, Got an issue with a JSON server app. This is a DataSnap REST Project. Using this code to generate a TJSONArray function TServerMethods1.ObjectList: TJSONArray; var i: Integer; lMyObject: TMyObject; begin Result := TJSONArray.Create; for i := 1 to 5 do begin lMyObject := TMyObject.Create('Title ' + i.ToString,i); Result.AddElement(TJson.ObjectToJsonObject(lMyObject)); lMyObject.Free; end; end; Where TMyObjcet is TMyObject = class(TObject) private FNumber: Integer; FTitle: string; public constructor Create(aTitle: string; aNumber: Integer); property Number: Integer read FNumber; property Title: string read FTitle; end; When accessed via a browser I get: {"result":[{"number":1,"title":"Title 1"},{"number":2,"title":"Title 2"},{"number":3,"title":"Title 3"},{"number":4,"title":"Title 4&qu

It's time to renew my subscription. But this year my payment decision is related to the following topic - Parallel Programming Library (#PPL) and some connected questions:

It's time to renew my subscription. But this year my payment decision is related to the following topic - Parallel Programming Library (#PPL) and some connected questions: 1) Will PPL evolve in the next 1-2 versions i.e. will we have missing features like Task Continuation and Cancellation Token support (RSP-13286) etc; 2) Is there a deadline for fixing unresolved (for months) show stopper PPL related QCs? I would like to hear thoughts from Marco Cantù or anyone who has some information.

Anyone noticing that Delphi Berlin 10.1.1 is slower than 10.1, at loading projects and showing forms?

Anyone noticing that Delphi Berlin 10.1.1 is slower than 10.1, at loading projects and showing forms? I feel a big difference after installing the last update. Thanks.

TMS VCL Chart v4.2 has been released with a new helper popup toolbar that offers various functionality such as changing the series type, fill and line color as well a specifying the marker type and label visibility.

TMS VCL Chart v4.2 has been released with a new helper popup toolbar that offers various functionality such as changing the series type, fill and line color as well a specifying the marker type and label visibility. http://www.tmssoftware.com/tmsvclchart Create DB-aware or non DB-aware multi-pane or multi-serie financial & business charts and spectacular 3D Pie charts. Supports Line, Bar, Area, Band, Stacked Bars, Stacked Area, Pie, Donut, OHLC, Spider, CandleStick, Histogram, Bubble, Funnel, Error charts. http://www.tmssoftware.com/tmsvclchart

hi there

hi there, we are using DevExpress components, there is one field TcxCurrencyEdit ( field 1) there is another one on cxGrid which is FooterSummaryValue[i], sum of all values on a colum (field 2) we try to display some indicator if above two fields have the same value then display green otherwise display red. weird thing happens yesterday the color display red, through debug both of fields have the value as 4566996 but when I do (field 1.value - field 2.value) I got the following number: 9.31322574615479e-10 And I googled that number and truns out it's a magic number as 1 GiB to EiB = 9.31322574615479E-10 exbibytes so I don't know what is happend here, I think something to do with field one type is double and field 2 type is variant but even I convert field 2 as double still get the same. can someone please help to figure this out? thanks Justin
Anyone else not able to Install VirtualTreesDD240.bpl through GetIt on latest 10.1 Update 1?

The iOS 10 support is working :D Thanks Embarcadero for the fast support.

The iOS 10 support is working :D Thanks Embarcadero for the fast support. I have used the combination of El Captain + Xcode 8 + iOS 10 and I was able to compile my app. By the end of the month I will try to update to Sierra and see what happen. Pretty happy :D
Hello, I have a problem with an image and its code of invisible color. In the IDE, I load a picture and I indicate the color that is invisible (Lemon = 65280) and everything works. But my problem is when I want to load my image in programming then the invisible color does not. The image appears, but the color appears invisible anyway. Here are my lines of code:   RS: = TResourceStream.Create (hInstance, str, RT_RCDATA);    image1.multiResBitmap.TransparentColor: = 65280;    image1.MultiResBitmap.LoadItemFromStream (rs, 1);    rs.Free;   Does someone has an idea? Thanks in advance. =============== Bonjour, J'ai un probleme avec une image et son code de couleur invisible. Dans l'IDE, je charge un image et j'indique la couleur qui est invisible (Citron = 65280) et tout fonctionne bien. Mais mon probleme, c'est quand je veux charger mon image dans la programmation alors la couleur invisible ne fonctionne pas. L'image apparait mais la couleur invisible apparait quand mem

I'm attempting to use the CFNetwork framework in iOS in order to retrieve the proxy settings, and have the following...

I'm attempting to use the CFNetwork framework in iOS in order to retrieve the proxy settings, and have the following code: uses Posix.Dlfcn, Macapi.CoreFoundation, Macapi.ObjectiveC; const libCFNetwork = '/System/Library/Frameworks/CFNetwork.framework/CFNetwork'; function CFNetworkCopySystemProxySettings: CFDictionaryRef; cdecl; external libCFNetwork name _PU + 'CFNetworkCopySystemProxySettings'; var _Module: THandle = 0; function CFNetworkModule: THandle; begin if _Module = 0 then _Module := dlopen(MarshaledAString(libCFNetwork), RTLD_LAZY); Result := _Module; end; function CFNetworkConst(const Key: string): Pointer; begin Result := dlsym(CFNetworkModule, MarshaledAString(Key)); end; function GetProxyInfo(var AProxy: string; var APort: Integer): Boolean; var LDictRef: CFDictionaryRef; LProxyRef: CFStringRef; LPortRef: CFNumberRef; begin Result := False; LDictRef := CFNetworkCopySystemProxySettings; if LDictRef <> nil then try

I'm attempting to use the CFNetwork framework in iOS in order to retrieve the proxy settings, and have the following code:

I'm attempting to use the CFNetwork framework in iOS in order to retrieve the proxy settings, and have the following code: uses Posix.Dlfcn, Macapi.CoreFoundation, Macapi.ObjectiveC; const libCFNetwork = '/System/Library/Frameworks/CFNetwork.framework/CFNetwork'; function CFNetworkCopySystemProxySettings: CFDictionaryRef; cdecl; external libCFNetwork name _PU + 'CFNetworkCopySystemProxySettings'; var _Module: THandle = 0; function CFNetworkModule: THandle; begin if _Module = 0 then _Module := dlopen(MarshaledAString(libCFNetwork), RTLD_LAZY); Result := _Module; end; function CFNetworkConst(const Key: string): Pointer; begin Result := dlsym(CFNetworkModule, MarshaledAString(Key)); end; function GetProxyInfo(var AProxy: string; var APort: Integer): Boolean; var LDictRef: CFDictionaryRef; LProxyRef: CFStringRef; LPortRef: CFNumberRef; begin Result := False; LDictRef := CFNetworkCopySystemProxySettings; if LDictRef <> nil then try

temperature logger sistem with delphi and arduino. you can look how to build.

temperature logger sistem with delphi and arduino. you can look how to build. https://www.youtube.com/watch?v=7-Ohxe7tH2w https://www.youtube.com/watch?v=7-Ohxe7tH2w
We have some software that plays an alert sound on certain conditions. On the same PC multiple users can login and start the software. Anyone recommend a method to communicate with all VCL apps running for different users on that particular PC to tell each app to turn the alert off. Just after any recommendations. Just about to try FindWindow and PostMessage...

....EMBT "optimized" FastMM to make its leak reporting feature hardly usable for Windows console apps

....EMBT "optimized" FastMM to make its leak reporting feature hardly usable for Windows console apps http://stackoverflow.com/q/39579740/976391

Touchpad Gestures on FMX

Touchpad Gestures on FMX I am trying to make toupad gestures to work on FMX but I seem to miss something. I want to allow two-finger swipe on touchpad. All the videos I've seen about gestures refer to touch screens. Don't they work on Win/Mac? Does anyone have any examples?

The day has come. Test it out. It is early but working!

The day has come. Test it out. It is early but working! http://memnarch.bplaced.net/blog/2016/09/delphinus-commandline-open-for-early-testing/ http://memnarch.bplaced.net/blog/2016/09/delphinus-commandline-open-for-early-testing/

aldias rizaldi: you posted somewhere I can't reply to.

aldias rizaldi: you posted somewhere I can't reply to. Try toggling the "Insert" button :-) [on your keyboard] your post Need help here. I had installed delphi xe7. The first time I type in code its fine. But later, when I type some codes, if the cursor I put in front of a word and I press the space button once, that word not move to the right, but erase the first alphabet and it will erase all the words if I continue pressing the space button. And if I press the enter button, the word not moving down together with the cursor, but only the cursor that moving down. Its not happen in other place (the place where we can type) and when I reinstall it, it back to normal. I hope anyone here can help me so I don't need to reinstall this delphi. Thank you.

I am using Delphi XE7 Pro. During the install, I chose the wrong answer about the Help system. When I press F1, I get "The webpage cannot be displayed" "res://ieframe.dll/unknownprotocol.htm" in the MS Doc Explorer.

I am using Delphi XE7 Pro. During the install, I chose the wrong answer about the Help system. When I press F1, I get "The webpage cannot be displayed" "res://ieframe.dll/unknownprotocol.htm" in the MS Doc Explorer. How can I get the help files back? Thanks...Dan'l

Has anyone here moved from FIBPlus to IBDAC?

Has anyone here moved from FIBPlus to IBDAC? I am moving since FIBPlus died some years ago, but IBDAC lacks some nice features that FIBPlus has. Some features I already ported to IBDAC, but has I move my project source code I find more features missing. It's weird that IBDAC being here for so long, lacks so much features.

aldias rizaldi, you have disabled comments on your help request, so I cannot answer there.

aldias rizaldi, you have disabled comments on your help request, so I cannot answer there. That's not a bug, you just changed from "insert" to "overwrite" edit mode. The default key to toggle between these modes is the "Insert" key. HTH.

aldias rizaldi, you have disabled comments on your help request, so I cannot answer there. That's not a bug, you just changed from "insert" to "overwrite" edit mode. The default key to toggle between these modes is the "Insert" key.

aldias rizaldi, you have disabled comments on your help request, so I cannot answer there. That's not a bug, you just changed from "insert" to "overwrite" edit mode. The default key to toggle between these modes is the "Insert" key. HTH.

Need help here.

Need help here. I had installed delphi xe7. The first time I type in code its fine. But later, when I type some codes, if the cursor I put in front of a word and I press the space button once, that word not move to the right, but erase the first alphabet and it will erase all the words if I continue pressing the space button. And if I press the enter button, the word not moving down together with the cursor, but only the cursor that moving down. Its not happen in other place (the place where we can type) and when I reinstall it, it back to normal. I hope anyone here can help me so I don't need to reinstall this delphi. Thank you.

Hello

Image
Hello, I've a strange bug on a TToolButton It's a Print button, I've changed it's style to tbsDropDown to let the user select another printer. And now, the OnClick event is not always fired. As you can see (or not) in this animation, the button seems to click, but the event is not fired (XPS driver show a dialog box) but sometime it's works perfectly. Under XE3

Is it impossible to re-export generic interfaces in Delphi? The code below won't compile:

Is it impossible to re-export generic interfaces in Delphi? The code below won't compile: //Unit1.pas unit Unit1; interface type MyInterface = interface end; implementation end. //Unit2.pas unit Unit2; interface uses Unit1; type MyInterface = Unit1.MyInterface ; implementation end. When compiling it gives the following errors: [dcc32 Error] Unit2.pas(9): E2508 Type parameters not allowed on this type [dcc32 Error] Unit2.pas(9): E2029 Declaration expected but ';' found My googling has failed me here. It doesn't seem to work for generic classes either.

Subscription Update 1 - RAD Studio

RAD Studio Berlin 10.1 Update 1 Available Blog announcement: http://blog.marcocantu.com/blog/2016-september-radstudio-berlin-update1.html DocWiki Help: http://docwiki.embarcadero.com/RADStudio/Berlin/en/Subscription_Update_1 Features and bug fixes: http://edn.embarcadero.com/article/44715 Installer: http://cc.embarcadero.com/item/30613 (must uninstall RTM first) ISO: http://cc.embarcadero.com/item/30615 (must uninstall RTM first) Offers to buy it (including 10% discount): https://www.embarcadero.com/radoffer http://docwiki.embarcadero.com/RADStudio/Berlin/en/Subscription_Update_1

Strange issue of TTask on Android.

Image
Strange issue of TTask on Android. Tasks executed is more than created??? https://drive.google.com/open?id=0BwdfodaqQm4paDdwUVlTbE9tNTg

I am looking to implement a DO-UNDO functionality in my app--something more than in a simple edit field.

I am looking to implement a DO-UNDO functionality in my app--something more than in a simple edit field. Before I dive in and develop my own, does anyone know if there is anything avail at the moment?

"Breaking Change in TCustomImageList.AddImage"

"Breaking Change in TCustomImageList.AddImage" or "How not to fix bugs" The return value of TCustomImageList.AddImage changed from Seattle to Berlin. Ever since this method exists (which is somewhere between Delphi 5 and Delphi 7) this function returned the index of the newly added image. This has been consistent with the other Add functions in this class and similar ones in other classes. Since Berlin it returns the size of the image list after adding the new image. Obviously this breaks existing code. I have to admit that the documentation mentions exactly this new behavior - and it does this even in Delphi 7. Seems nobody cared about this documentation, perhaps because it would have been a less wise decision to implement this function in the documented way. May be I didn't search hard enough, but I could not find any bug report claiming that the implementation didn't match the documentation, so I am unsure what made someone actually trigger this change. G

Can I get RTTI from an interface reference???

Can I get RTTI from an interface reference??? How to implement this function? function GetRttiFromInterface(AIntf: IInterface; out RttiType: TRttiType): Boolean; https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ https://drive.google.com/open?id=0BwdfodaqQm4pU2lVY0phenJDUjQ

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) OK, I said I would not make another experimental release before Erik releases the official GExperts 1.39 but "Was kümmert mich mein Geschwätz von gestern, nichts hindert mich, weiser zu werden." (supposedly a quote by Konrad Adenauer). So, here we go, a new experimental release. Enjoy and reports any bugs you might find. http://blog.dummzeuch.de/2016/09/18/gexperts-1-38-experimental-twm-2016-09-18-released/

I use FullDebugMode to found memory leak in multithreaded application, but last enigmatic leaks I can't found, FastMM report this as unknown:

I use FullDebugMode to found memory leak in multithreaded application, but last enigmatic leaks I can't found, FastMM report this as unknown: This application has leaked memory. The small block leaks are (excluding expected leaks registered by pointer): 37 - 52 bytes: Unknown x 4 53 - 68 bytes: Unknown x 200 245 - 276 bytes: Unknown x 2 How found what generate this leaks?
like where do I set my dac database hosting in mobile android
I would like to use some Ad platfform for moneterize my app. I DON’T want to use Google Admod. What are the best alternatives and how can implement that solution? any advice?

Hello guys

Hello guys, A man posted a bug report related to my new project (DebugEngine). He said that he can't compile the library because Delphi (XE3) is unable to recognize FinalizeRecord function ! He got : "Undeclared Identifier: 'FinalizeRecord' error". I told him to disable all 3rd party libraries and try call FinalizeRecord function like this: System.FinalizeRecord. After doing that he told me that the same error still exists ! That's very weird ! Does anyone knows what could be the problem ?
Does anybody know (and cares to explain) what is the difference between F7 (Trace into) and Shift-F7 (Trace to next source line) in the Delphi debugger? As far as I can tell, they behave just the same in all situations.

Very poor performance of FireMonkey path compared to WebBrowser. (On Android and IOS)

Image
Very poor performance of FireMonkey path compared to WebBrowser. (On Android and IOS) Any solution? Slide the trackbar at bottom. The zoom of TPath is very laggy on my phone.(LG G Pro2). But the it's smooth on WebBrowser. https://drive.google.com/file/d/0BwdfodaqQm4pMjZ5R0NwMm9VNEk/view

Hi I Install TeeChart Pro to Delphi XE 10.1 Berlin and after that i am getting 2 Errors and i am not able to see Chart Comonent anymore, can you help me to solve the issue, thaks

Image
Hi I Install TeeChart Pro to Delphi XE 10.1 Berlin and after that i am getting 2 Errors and i am not able to see Chart Comonent anymore, can you help me to solve the issue, thaks

Delphi Berlin Firemonkey 32Bit Compiler Error

Delphi Berlin Firemonkey 32Bit Compiler Error [dcc32 Fatal Error] Project1.dpr(6): F2084 Internal Error: URW7715 I cant compile 32bit application, do you know why?

Originally shared by Ivan Revelli

Originally shared by Ivan Revelli A new version of Remode Server is ready for Mac,Windows and Android!!! Whats new: - Extended the web interface, settings and the serail console is integrated in the the Web Admin page - Fixed a problem with camera on the Android version - Fixed problems on uploading files What is: Remode is a Web Server that allows you to access and manage your files and devices remotely . It can be used also by matching to your external devices connected via USB or serial and manage them remotely . Anything that you can do from the web console is available as an API for programmers who can build their systems using Remode exclusively as a bridge between their programs and system devices on which it is installed . For more info and download the apps you can follow this link: http://www.synaptica.info/it/prodotti/remode-developers/ http://www.synaptica.info/it/2016/09/17/new-version-of-remode-server-is-ready-to-download/

Originally shared by Thomas Mueller (dummzeuch)

Originally shared by Thomas Mueller (dummzeuch) GExperts IFDEF Expert support for include files The GExperts IFDEF expert now supports include files. For each include file in the current unit it displays an additional tab containing all symbols defined in that include file with {$DEFINE }, {$UNDEF } and the usual disabled notation of these {.$DEFINE }, {.$UNDEF }. It searches for the include files in the search path of the project and – like the compiler – uses the first one it finds. http://blog.dummzeuch.de/2016/09/16/gexperts-ifdef-expert-support-include-files/

I have a fresh install of 10.

I have a fresh install of 10.1 Berlin, but when trying to compile IDE experts, I am missing ExpertsCreators.dcp from all my library paths. The file was in 10 Seattle, and ExpertsCreators240.bpl is in the bin, but the DCP is nowhere to be found. Has anyone else run into this?
I have a fresh install of 10.1 Berlin, but when trying to compile IDE experts, I am missing ExpertsCreators.dcp from all my library paths. The file was in 10 Seattle, and ExpertsCreators240.bpl is in the bin, but the DCP is nowhere to be found. Has anyone else run into this?

I have a win app in one of my VM which saves files in a folder on my Mac. The resulting folder and files are read-only and I can't change the attributes programmatically.

I have a win app in one of my VM which saves files in a folder on my Mac. The resulting folder and files are read-only and I can't change the attributes programmatically. Anyone knows how can I elevate the attributes? I use the TDirectory.CreateDirectory for the directory and then I copy files from the VM to the Mac by creating a FileStream. Thanks

Have been trying to use MSBUILD with D2007, further to suggestions I received here a few weeks ago. I have D2007 running on Windows 7 64-bit, and when I attempt to build, I get this error message:

Have been trying to use MSBUILD with D2007, further to suggestions I received here a few weeks ago. I have D2007 running on Windows 7 64-bit, and when I attempt to build, I get this error message: error MSB4019: The imported project " C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Borland.Delphi.Targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. So this has proved to be less simple than suggested. I did find the article: http://blog.dummzeuch.de/2013/11/10/delphi-2007-on-windows-8-1/ I edited the rsvars.bat to change Framework64 to Framework, without any concern, as the files do not exist in the 64 bit branch. That lets the build run, but then it dies with 3 hard errors which I have not yet been able to puzzle out. http://blog.dummzeuch.de/2013/11/10/delphi-2007-on-windows-8-1

Commandline is improving.

Image
Commandline is improving. A command i "borrowed" from Nuget: Update Updates all installed packages (for the currently selected delphi) to their most recent versions(if packages provide versions). In this example i first issued "list Installed/updates" to show the current environment and the detected updates. I cut off the log for the Update-Command, which gets quite heavy right now(-verbose seems to be an improvement for later with default to be more silent). But i think you get the idea :) Second screenshot shows the Help. In this case an overview of all available commands (you can get detailed informations by calling help )

https://youtu.be/hJj5cYRtuzk

https://youtu.be/hJj5cYRtuzk https://youtu.be/hJj5cYRtuzk
What is the difference between TVertScrollBox and TFramedVertScrollBox?

Title

how to read getElementById Javascript in Delphi FMX Android anyone have a tutorial or reference thanks...

We are pleased to announce an update to ESBPCS for VCL v6.8.1 - our huge collection of Components and Routines for Delphi 7 through to Delphi Berlin.

We are pleased to announce an update to ESBPCS for VCL v6.8.1 - our huge collection of Components and Routines for Delphi 7 through to Delphi Berlin. This is a free upgrade for registered customers - and includes our subsets: ESBPCS-Lite for VCL, ESBPCS-Calcs for VCL, ESBPCS-Dates for VCL and ESBPCS-Stats for VCL. You can grab trial versions, demos and more info from the site below. http://www.esbconsult.com/esbpcs/ http://www.esbconsult.com/esbpcs

Another report (widget) example - interactive timetable.

Image
Another report (widget) example - interactive timetable. Input and output are a lists of "periods" in XML, like or database (SQL) records, and list of colors (marks).

"Hello, World" one-button mobile app for Android

Image
"Hello, World" one-button mobile app for Android by Delphi + FMX apk - 6.43 mb, unpacked - 23 mb by Delphi + TurboCocoa apk - 2.96 mb, unpacked - 11.8 mb No compression, no cut-off - only native architecture and native controls http://www.turbococoa.com

Using non-standard fonts on Win and Mac

Using non-standard fonts on Win and Mac I am working with a designer now and he is proposing to use a non-standard font type on Win and Mac. Is this good idea? Do I have to install the fonts during the installation or I can do it within the app, like during startup? most likely both. What do you think?

Anyone in touch with Zeljko Marjanovic?

Anyone in touch with Zeljko Marjanovic? I've some updates (and issues) for https://bitbucket.org/ZeljkoMarjanovic/libssh2-delphi But his profiles (there and https://plus.google.com/+ZeljkoMarjanovic77 ) are a bit "quiet". https://bitbucket.org/ZeljkoMarjanovic/libssh2-delphi
Am I mistaken, or is a new release of Rad Studio imminent? 10.2 ?

Originally shared by David Berneda

Image
Originally shared by David Berneda Several improvements in the "geo" BIChart automatic mode, single line of code. BIChart1.Data := MyQuery // <-- pivot-table, dimensions and measures Any polygon or group of polygons can be moved and resized to relocate them to desired positions in the map, eg: Map.USA.Alaska.Resize(0.5); Map.USA.Hawaii.Offset(40,20); The "USA Counties" map has an option to use another series to draw the State boundaries. Many speed-related optimizations in the TeeChart "World" series now deliver much better speed when creating / loading the maps, moving the mouse over shapes, zooming and scrolling. btw: Michigan State is now painted correctly !

There are a few programmers in my company working with Delphi 10.

There are a few programmers in my company working with Delphi 10.1 Berlin and I am one of them and the other programmer is using Delphi 10.1 in a Virtual machine and is having problems with spacing: Inside his C:\Users\Public\Documents\Embarcadero\Studio\18.0 folder his CatalogRepository folder is 16Gb and he has only installed it about a week ago and this is only the 2nd time he has had chance to code inside Delphi 10.1. I thought this seems a bit astronomical so I checked my C:\Users\Public\Documents\Embarcadero\Studio\18.0 folder and it came out at 46.2Gb. The space consumed in mine was nearly all in the PlatformSDKs folder, which is a bit odd given that I am only developing in Windows at the moment and have only touched on Android a little bit to play around. Does this sound familiar to anyone? Is there some kind of setting in the IDE that is responsible for this manic space usage?

There are a few programmers in my company working with Delphi 10.1 Berlin and I am one of them and the other programmer is using Delphi 10.1 in a Virtual machine and is having problems with spacing:

There are a few programmers in my company working with Delphi 10.1 Berlin and I am one of them and the other programmer is using Delphi 10.1 in a Virtual machine and is having problems with spacing: Inside his C:\Users\Public\Documents\Embarcadero\Studio\18.0 folder his CatalogRepository folder is 16Gb and he has only installed it about a week ago and this is only the 2nd time he has had chance to code inside Delphi 10.1. I thought this seems a bit astronomical so I checked my C:\Users\Public\Documents\Embarcadero\Studio\18.0 folder and it came out at 46.2Gb. The space consumed in mine was nearly all in the PlatformSDKs folder, which is a bit odd given that I am only developing in Windows at the moment and have only touched on Android a little bit to play around. Does this sound familiar to anyone? Is there some kind of setting in the IDE that is responsible for this manic space usage?

Delphi 10.1 Berlin. Can not locate on Boolean Fields. What's wrong?

Delphi 10.1 Berlin. Can not locate on Boolean Fields. What's wrong? procedure THauptmenu.BitBtn1Click(Sender: TObject); var lCds : TClientDataSet; begin lCds := nil; try lCds := TClientDataSet.Create(nil); with lCds, FieldDefs do begin Add('test', ftBoolean); end; lCds.CreateDataSet; lCds.Locate('test', False, []); // error: The field 'False' could not be found" finally FreeAndNil( lCds); end; end;

If anyone needs a little reminder of how not to implement a cross-platform library, I can suggest having a look at the Bluetooth library in Delphi.

If anyone needs a little reminder of how not to implement a cross-platform library, I can suggest having a look at the Bluetooth library in Delphi. I'm not thinking of the API design on the whole here, but rather some very unfortunate design deficiencies and implementation decisions. When making cross-platform libraries it is difficult to expose all use-cases. Thus it's important to make allowances for the user to add platform-specific code if needed. Unfortunately, the Bluetooth library couldn't make this any harder if it tried. For example, a TBluetoothAdapter is an abstract class, which is implemented by TWinBluetoothAdapter on Windows. The TWinBluetoothAdapter class has a "radio handle" which is used when accessing the Windows Bluetooth API. Not only is this handle hidden inside the protected section of the class, the TWinBluetoothAdapter class itself is declared in the implementation section of the unit . The same goes for most (if not all) of the implementi
Hi All, is there a FireMonkey cross-platform call to get a full screenshot of one or more monitors / displays? I'd like to use that instead of using compiler directives and platform-specific code.

How do I start creating an application that traces the route that I do on a map, there are some examples?

How do I start creating an application that traces the route that I do on a map, there are some examples? Thank you all.

Before I raise .. can anyone confirm they also get the exception.

Before I raise .. can anyone confirm they also get the exception. New FireMonkey Application. Choose Blank Application. Add a data module. Add a Stylebook on Data Module. Set Default Platform to Premium Style Jet. Add Other Platforms (OSX, iOS, Android) and set each one's Style to the relevant Jet file. Set Use StyleManager to True on Style book. On Form, include Data Module (File->Use Unit..). Add a TVertScrollBox to Main Form and set it's Align to Client. SaveAll F9 - Run and close application. I get an exception 'Invalid pointer operation'. https://drive.google.com/file/d/0B5K-mW6kF-PLMUZGY3FBZEkyOU0/view?usp=sharing

I need help:

Image
I need help: 1) How to migrate ComPort 4.14 to Berlin? 2) To find examples of how to use TurboPower AsyncPro to read scales using to COMx port. I can't find any current examples of how to use it to read the COMx port to read scales in Berlin. Previously (XE7/XE8) I manage to use ComPort to read a scale in serial port. I search for ComPort for Seattle, but not luck. Then I tweak the source project that works previously and I managed to install in Berlin but it has some bugs: When I right clic the component on "Port settings" it trows an error: Access violation at address 0EAFA11C in module 'DsgnCPortDXE10.bpl'. (I need to learn how to use G+ the image goes at the end of this post) I create a program and "works" but when I close the port and then open to continue, the application freezes randomly when the port is closed (rice lake scale). I haven't this issue using the same library with other brand of scale (avery). Both scales works differently the r