Jump to content

Rollo62

Members
  • Content Count

    1675
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by Rollo62

  1. Rollo62

    10.4.1 Released today

    Yeah, thatshot in my eye directly too, looking forward to check this out.
  2. I'm still testing porting from 10.3.1 to 10.3.2 In one FMX project for Macos, when just opening and compiling the working project, I've got some messages when compiling under Macos64 (Of coarse it works well under all other platforms). 1.) This message is strange, because the Imports folder is not there at all, not even the 20.0\ folder, because I installed the IDE under d:\Prj\... Under d:\Prj\Embarcadero\Studio\20.0\Imports I have that folder (which is almost empty, just a subfolder with one VCL related file "\Idl\StdVCL.idl". 2.) Its strange because of the reference to kernel32.-dll I have searched my settings, compiler, linker, deployment, registry, but I'm not lucky and couldn't find where these locations are maybe set. My BDSCOMMONDIR environment variable points to a folder close: C:\Users\reg_w\OneDrive\Dokumente\Embarcadero\Studio\20.0, but thats working at all other platforms. Then I decided to completely migrate via an new, empty project, like I described here: Create new FMX app, removed orignal unit1 and added my units from the old project. So now I got a more informative message, but still similar: compiling OK, linking failed The empty project runs, but when I add my units, something went wrong. I'm not recalling to have anything affecting linking in my code, but I haven't checked that yet. Which screw could I turn to remove this linker error, I hope somebody has a clue ? Edit: As usual, just when I prepare and sended a thread, it hits me in the face what this could be. The folder seems to be related to Spring4D .. To get Spring4D compiled, I used the following addition to switch to PUREPASCAL, which seemed to compile fine. I'M using the development branch, from not too long ago (2 weeks), haven't checked for changes. {$I Spring.inc} {$IFDEF MACOS64} // <--Addition {$DEFINE PUREPASCAL} {$ELSE} {.$DEFINE PUREPASCAL} {$ENDIF MACOS64} unit Spring.Events; So probably I have to c heck what happens with Spring4D in my Macos64 tests ... How can I switch S4D to Macos64 in the right way ?
  3. Hi there, I'm looking for a scripting engine in my projects, and since I had last time contact with scripting this is some years ago. I would like to check out the pros and cons of the solutions, to find the best fitting match for me. Since paxCompiler seems gone by Apex, this is maybe out of sight now, but I'm not so sure about that. DwScript is not available on mobile, as far as I know. DwScript is somewhat available in different forks (so it seems), not sure which one is the right one to choose. Maybe the list of engines is nit final, please let me know if there is something missing. What I'm looking for is a script engine that has the following features (I've put the most important in bold) usage for some base analysis and event control lightweight very stable well supported and documented Pascal supporting multiple languages would perfect, but not a main criteria (JS, C++, C#, Basic) Multiple platforms Win, Macos, Linux, iOS, Android is a must have supporting full language support is nice to have, but not a must (I can skip the special stuff I would say). performance (not that critical, but should be able to process dynamic protocols behaviour reasonable well ) memory footprint good, active community Free to use in commercial products I hope you can bring some light in this dark forest of possibilities, and share some experiences.
  4. Yes, I'm aware of that too. But it looks too freaky to me (.so, .dylib, ...), and not sure if this is just a proof-of-concept, or a well maintained library. I think I better look to the existing solutions, so far I'm checking PascalScript and HtmlScripter (since I have that in subscription anyway). Both looks very capable, and will probably do more than I will ever need.
  5. Rollo62

    looking for UI design ideas for tracking a process

    Beside all the structural discussions behind, I'm a huge fan of color information in a UI, like o Prepared o On-boarded o In Progress o On hold / problem / issue o Waiting for more info o Pending signoff o Completed  Which is able to give you in a dashboard the information of the situation immediately. All green lights is a no-brainer, it took only milliseconds to recognize this state.
  6. Hi there, I used a TListview with Text and Detail already some versions ago, mainly for iOS and Android. Representation is like Text / Detail line side by side, while the detail can be multiline text. Usually this looked centered, well arranged I used a CrLf as linebreak by default, and all the time that worked well. Now I realize that the display looks different, since it shows an empty line at the center: / Detail line 1 Text / <empty line> / Detail line 2 When I moved from CrLf to Lf as linebreak, the display seems OK again. So CrLf seems to add two linebreaks, instead of only one (which is understandable on non-windows platforms). So I ask myself, since this was OK earlier with CrLf too, has something changed in the linebreak separation of text in iOS ? Unfortunately I cannot really say since when this was going wrong, for sure Rx10.1/2/3 was OK. Maybe only in the newer versions, I guess, this happened.
  7. Rollo62

    Salesforce Integration

    Not sure if CData Firedac covers all features what you need, but its possible to connect Salesforce.
  8. 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, ...).
  9. @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 ?
  10. Rollo62

    Securing your data over time

    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.
  11. Rollo62

    Draw TBitmap

    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 ?
  12. Rollo62

    Can use Camera with Rad Studio 10.4

    Does this help ? https://en.delphipraxis.net/topic/3316-problems-with-fmxcameracomponent-sample/?do=findComment&comment=27607
  13. Rollo62

    silent phone mode

    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 ... }
  14. 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 ...
  15. 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 👍
  16. Hi there, it should be changed to open source in Q3 https://blog.gurock.com/smartinspect-open-source/
  17. Rollo62

    RTF components or simple RTF editor?

    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.
  18. Rollo62

    Automated Way to Detect Interface Breaking Changes

    Maybe you could globally register unit versions.
  19. Ok, Anyway, new traction in the project is also good news.
  20. @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 👍
  21. 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.
  22. Rollo62

    Problems with FMX.CameraComponent Sample

    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.
  23. 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 ?
  24. Rollo62

    Problems with FMX.CameraComponent Sample

    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.
×