

Rollo62
Members-
Content Count
1950 -
Joined
-
Last visited
-
Days Won
25
Everything posted by Rollo62
-
Not sure if CData Firedac covers all features what you need, but its possible to connect Salesforce.
-
What ScriptEngine to choose ? DwScript, PascalScript, FastScript, TmsScripter, HtmlScripter
Rollo62 replied to Rollo62's topic in FMX
Oh well, yes. I didn't had that on the screen, sorry. @Alexander Sviridenkov The problem that I have HtmlScripter not on the screen is, that there are no really "scripter only" samples available. Just I read the documentation, that looks very promising. When I want to check out the samples I find nothing, only part of much more complex demos, like reports. Would be a great idea to add some simple to complex "scripter only" samples, to better understand up to where I can go from here. (simple function, Delphi interaction, GUI components, standalone IDE, debugging, ...). -
What ScriptEngine to choose ? DwScript, PascalScript, FastScript, TmsScripter, HtmlScripter
Rollo62 replied to Rollo62's topic in FMX
@Arnaud Bouchez Thanks, thats what I think about DwScript too. PascalScript seems also to be supported well, the licens is as-is, and should be open for any projects. Do the commerial engines perform better or worse in some regards, is there any comparison, benchmark available ? -
Regarding backups I would also take GitHub into account. For a few bucks, about 50 to 60 USD per year, you get a perfect project storage. Imagine how many hard drives you need for storage in this year.
-
I think 0 ... 500 is not correct. Your ABmp seems to have 501 pixel with in the first place. Maybe forgot to set with-1 and height-1 in tue caller of the function ?
-
Does this help ? https://en.delphipraxis.net/topic/3316-problems-with-fmxcameracomponent-sample/?do=findComment&comment=27607
-
The "trick" here seems just to play, and measure the time. private func playSound() { ... self.interval = Date.timeIntervalSinceReferenceDate //<==== Measure before AudioServicesPlaySystemSoundWithCompletion(self.soundId) { [weak self] in self?.soundFinishedPlaying() //<==== Start playing } ... } /// Called when AudioService finished playing sound private func soundFinishedPlaying() { self.isPlaying = false let elapsed = Date.timeIntervalSinceReferenceDate - self.interval //<==== Measure elapsed time let isMute = elapsed < 0.1 //<==== !! Decide here whether it was muted or not ... }
-
[Fmx, Livebinding] TListview uses FMX.Bind.Editors, Sources are missing
Rollo62 posted a topic in FMX
Hello there, I was trying to integrate some features of the ModernListView from here into my projects. It all looks very good, until I got to that point where a form uses Livebinding to populate the Listview. This worked well before, and I would like to keep that, otherwise I need to rework much more than desired. Since ModernLV makes changes to the FMX.ListView.pas it gives the following error message: F2051 Unit Fmx.Bind.Editors was compiled with a different version of FMX.ListView.TCustomListView Yes, pretty clear;: But I've expected to find FMX.Bind.Editors.pas in my source folders, but I cannot find it So FMX.Bind.Editors seems to be secret module, hardcoded in the DCU binaries somewhere. I used an extended TListView approach before, extended by two measures: 1. Extending the TListView class by some variables I need, using an interposer class 2. A helper for adding the missing functionality This approach worked well, and I have never have seen any issues or a message like above. So this approach changed the binary DCU version, since I didn't touch FMX.ListView.pas directly. With the ModernListView approach, there is a patched FMX.ListView.pas file needed, which of coarse changes the DCU version. I could try to get back to the 2-step verson like above, but I don't know yet if all changed might be in (probably not). Do you have any suggestions howto handle this, best of all if FMX.Bind.Editors would be available somewhere ? Since I have implemented my changes in a few projects already 80%, it would be really nasty to switch back. Ok, its already quite late, maybe tomorrow I can see some light on this issue ... -
[Fmx, Livebinding] TListview uses FMX.Bind.Editors, Sources are missing
Rollo62 replied to Rollo62's topic in FMX
As an addition to this topic: I just stumbled about a great article from Jitendra Kumar regarding the deeper explanations to this type of error F2051 Unit Abc was compiled with a different version of Xyz http://delphiprogrammingdiary.blogspot.com/2019/04/f2051-unit-s-was-compiled-with.html Thanks for that nice summary 👍 -
Are there any news about SmartInspect open-source schedule ?
Rollo62 posted a topic in Software Testing and Quality Assurance
Hi there, it should be changed to open source in Q3 https://blog.gurock.com/smartinspect-open-source/ -
Right, the last reasonable project I have seen here. https://www.delphipraxis.net/203346-texte-richedit-suchen-und-markieren.html#post1457012 There is not much for RichText, thats why I try to move to HtmlEditor in my projects.
-
Automated Way to Detect Interface Breaking Changes
Rollo62 replied to Larry Hengen's topic in General Help
Maybe you could globally register unit versions. -
Are there any news about SmartInspect open-source schedule ?
Rollo62 replied to Rollo62's topic in Software Testing and Quality Assurance
Ok, Anyway, new traction in the project is also good news. -
Delphi 10.3.3/10.4 IDE Editor on VMware speed issue
Rollo62 replied to c0d3r's topic in Delphi IDE and APIs
@Wil van Antwerpen Ok, if thats regarded off-topic I won't get deeper here too. Only so far that two MacBooks 2013, 2018 behaved exaclty the same, maybe I find some time to check current Vm11.5.6, if this is improved. At least I know who I could ask if I see such strange behaviour again 👍 -
Delphi 10.3.3/10.4 IDE Editor on VMware speed issue
Rollo62 replied to c0d3r's topic in Delphi IDE and APIs
Would be good to get your opinion here, since I've disabled 3D for a good reason. In one of the former versions of VmWare Fusion (1-2 versions earlier), it crashes the whole VmWare HOST reproducable, only by openening any 3D app, even MsPaint 3D. (VmWare Fusion, MacBook Pro, VmWare, Host Catalina, Guest Win10 190x, ...) Have you recognized same behaviour ? I have not tested with latest version, as I don't need 3D at the moment. -
You can try what I explained before. Has same issues as you described, re-creating solved those issues. That means very likely the project and its libraries where not updated to 10.4, you can also try project manager "revert to default", but I always rebuild a new project, which is most reliable. Has not much to do IMFO with threads.
-
[Fmx, Rx10.4 Patch 3] Anybody working productively with this patch ?
Rollo62 posted a topic in Cross-platform
Hi there, are you able to work with yor projects on Patch 3 on mobile (Android, iOS) ? I've tried a while, but then moved back to Patch 2, which works more or less on Android with API-level 29. That was my main goal why I ported my apps to Patch 3. What are your experiences with that patch on different platforms ? -
SynEdit replacement for Delphi 10.1 Berlin / editor wanted for source code (not Delphi)
Rollo62 replied to Mr. Daniel's topic in VCL
I would prefer the more active one -
Since there were several questions that this sample doesn't work, I checked myself again. Indeed, it seems to be broken, out-of-the-box. I did the following to get it running: - re-create the project under Rx10.4 - add the Main unit to the project - check the Project/Forms tab, the main form should be auto-created - Removing all unnecessary permissions and entitlements, keeping just Camera permission - For some reason in uMain.pas, this line needed to be added. I have not cxhecked the orginal file again, but maybe there was some non-standard form creation. //21.08.20 added var CameraComponentForm : TCameraComponentForm; - For testing before, I moved the first creation, until the Camera shall be really started. This shouldn't be necessary, but I did that for testing to decouple the actions a little, und keep it in my final. That means you have to press START twice, 1. Get Resolutions, 2. Start camera procedure TCameraComponentForm.FormCreate(Sender: TObject); begin //21.08.20 PermissionsService.RequestPermissions([PermissionCamera], AccessCameraPermissionRequestResult, DisplayRationale); ... procedure TCameraComponentForm.btnStartCameraClick(Sender: TObject); begin //21.08.20 Try get resolutions here at first if cbResolutions.Items.Count = 0 then PermissionsService.RequestPermissions([PermissionCamera], AccessCameraPermissionRequestResult, DisplayRationale) else //only then start the camera with 2nd click PermissionsService.RequestPermissions([PermissionCamera], ActivateCameraPermissionRequestResult, DisplayRationale); end; Et voilâ, camera is working for me. I made some comments already, that I think the non-working samples and demos are a MAJOR SHOWSTOPPER, especially for new customers. If Embarcadero is making a trial, and CE version, they should better take most care that all samples will run out-of-the-box. If new customers trying new tools are a little bit like me, I will DROP the new tools immediately if I cannot get the basic demos and hello worlds running without major quirks. Thats my proof or quality for any software or tool. So its Embarcadero's marketing decision, not mine.
-
What about libVLC, PasLibVlc ?
-
PyScripter reached 1 million downloads from Sourceforge
Rollo62 replied to pyscripter's topic in I made this
@pyscripter Sometimes Im wondering what made Python so popular in the first place. Now I know, it was PyScripter IDE -
Not quite sure what you're doing right now, changing your code or TMS code, or what. But the TDictinary is maybe worth to replace by Spring4D dictionary, to circumvent such errors..
-
@wva Now re-installed all that, but still no luck. XCode doesn't recognize my device. The command shows which should be OK I guess. I think that I did this on Windows VM, so I'm not sure how this was before re-install. Sorry, too many VM's running, and too late in the evening Anyway, I did the complete clean install. If you have still some tips what to change in the .vmx file, would be great. Otherwise I have to move to real hardware now, as VM debug is broken.
-
@wva Thanks for the hints. Indeed this command doesn't show the "usbarbritator". But that is missing also in earlier VM's, which is still working perfectly fine with my USB devices. Anyway, I will try to re-install the VmWare. What I don't get is your note "... download the full installer ...". When I make a normal update, via the check for updates, do I get a different installer then ? I've never had seen any difference there.
-
August 2020 GM Blog post
Rollo62 replied to Darian Miller's topic in Tips / Blogs / Tutorials / Videos
Bold is Old. Not sure if this matches the newest trends in ORM, we'll see.