Jump to content

FPiette

Members
  • Content Count

    1200
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by FPiette

  1. FPiette

    10.4.1 Update

    @Darian Miller I your blog post, you said: That is something I repeated so many times to so many people with one more advice: if source is not available, don't by that component. And I often add this advice: never use prebuilt packages or dcu from 3rd party component, always rebuild everything, at least once to be sure you have everything required and know how to rebuild. When you have several 3rd party component, create a project group with all projects required to rebuild all components, including your own component. Then when a new Delphi version comes, you can easily rebuild and reinstall everything within minutes. As you mentioned in your blog post:
  2. FPiette

    git workflow question

    Maybe a direct question would be better in front of your message. Maybe everybody have no time to read such a long text 😉
  3. FPiette

    10.4.1 Update

    Those are components, not add-ons.
  4. FPiette

    10.4.1 Update

    I would not say "any" but "most" 😉 Which add-ons are you using?
  5. FPiette

    10.4.1 Update

    Installing 10.4.1 involves an uninstall of 10.4. There are two options: 1) you uninstall 10.4 before installing 10.4.1 2) you run 10.4.1 installer which will uninstall 10.4, letting you the choice to keep your settings. Maybe you used option 1.
  6. FPiette

    10.4.1 Update

    It is likely that those add-ons will work. I only use one and it works. You could contact every add-on maker if their add-on works with 10.4.1. To test, I suggest you first install 10.4.1 in a virtual machine and if everything is OK for you, then update your development machine. If you cannot use a virtual machine, or a physical machine elsewhere, then do a full backup of your computer before updating. You'll be able to restore your backup. Much less convenient than a VM, I agree. Or be optimist: install 10.4.1 and if you've got problem, reinstall previous version. Please be aware that the number of installs you are allowed to do is limited! After to much install, you'll have to contact Embarcadero to ask them for more installations.
  7. FPiette

    COM: OleCheck() in polling

    CoInitializeEx should be called only once. Better place is at program startup.
  8. FPiette

    Securing your data over time

    It is possible to have some kind of fireproof safe. In a company I worked for, they have such a safe.
  9. FPiette

    SmtpReady

    The component is not ready because it is still busy with previous request. Maybe an event which triggers email send is right after the previous, before the first email is already sent. Coul be several reasons: 1) the previous email takes long time because the recipient server do not respond fast 2) when sending an email, it don't finishes because of some error You should probably log (ICS has logging facility or you can write log lines to a text file, easy) all events and steps that occurs in your application and see if it is correct. Waiting for readiness in a wait loop is not the best idea. It is much better to use events. The event which triggers the email sending should push that info into a queue, check if the smtp component is done with previous email and fetch the next email from the queue. If not ready, just do nothing. When the component event tells it has finished sending an email, it checks the queue for the next mail to be sent and do it if there is one or just do nothing. Using vent everywhere is the key to success!
  10. FPiette

    Securing your data over time

    Are you doing backups now? Are you using RAID? Most today's mainboards have a basic RAID controller and if yours don't have one, buy one: it is not expensive at least for a basic version. High end version have a battery backup as well so that in case of power loss, the current duplication will continue and cache will be written to disk. Here we speak about source code, but today, almost everyone save his photos on hard disk as well. And many lost everything because they don't have a backup. Personally, I don't reuse SD card: I keep them as backup.
  11. FPiette

    Securing your data over time

    Please read what I said again. If you move 3rd party component it is likely you have to update their path, depends on the components and how you add it to your projects. Think about taking a backup on a regularly schedule. All disk will fail one day! Also think about using disk mirroring (RAID1) or other kind of RAID. With RAID (except RAID0), all you data is duplicated so even when a disk fails, you still have your data. Just replace the failed disk and go.
  12. FPiette

    Moving Projects Folder

    If you have constructed your projects correctly, that is with relative paths, then you can simply copy your "projects" directory elsewhere.
  13. FPiette

    ICS for Linux?

    I wonder why you need xRDP. Didn't you install the GUI for Ubuntu? I have a full Ubuntu desktop that I can see as a window on my Windows 10 and I can do anything in the Linux OS. I also have network shares between Windows and Linux, both directions to easy access to files. On the attached screen dump, you see VMWare workstation running Ubuntu and showing Ubuntu GUI. You can also see part of Delphi IDE.
  14. FPiette

    RTF components or simple RTF editor?

    Try this: http://svn.code.sf.net/p/radstudiodemos/code/branches/RadStudio_XE6/Object Pascal/VCL/RichEdit/ For unknown reason, Embarcadero removed that demo for later Delphi versions.
  15. FPiette

    ICS for Linux?

    I have no experience with Hyper-V: I am using VMWare Workstation on top of Win10 to run Overbyte webserver and wiki under Ubuntu 18.04. I use that version because it is the most recent LTS (Long Term Support) for Ubuntu. I have not tried to install PAServer on that version. If you don't want to invest in VMWare Workstation, you can use VMWare Player which is a free version lacking snapshot. You can replace snapshot by copying the vmdk file.
  16. FPiette

    Twsocket Tcp Client miss some packets

    I think since TWSocket exists for 24 years, if this bug exists, we should have already seen it. I think is is likely the code you wrote which is wrong. But I can tell... 1) Could you please show relevant code 2) How do you know that it is no a sever issue 3) Before writing you own code, check with one of the samples
  17. Would be nice if you translate all your comments in English.
  18. FPiette

    RTF components or simple RTF editor?

    There are plenty of Delphi sample program using TRichEdit which is an RTF editor.
  19. FPiette

    best library for camera grabbing

    In the past, I have used a lib from michael@grizzlymotion.com. The units are VFrames.pas and VSamples.pas. I don't remember where I found it but a little search show those two links of interest. https://github.com/MakeMagazinDE/GRBLize https://stackoverflow.com/questions/19726643/how-to-get-a-snapshot-from-a-webcam-with-delphi7-using-vframestvideoimage Using this code, I get raw frames from the camera, then I use FFMpeg tool to compress rawframes with the required codec to produce anyone of the ffmpeg video format. I invoke FFMpeg command line, feeding it with a pipe. My Delphi program write to the pipe and FFMpeg read the pipe. FFMpeg is available from https://ffmpeg.org/download.html You do need the source code. Prebuild executable is enough since you'll pipe the frames into the utility. To pipe data, I use my own code. I wrote a blog article: http://francois-piette.blogspot.com/2013/04/inter-process-communication-using-pipes.html
  20. FPiette

    Free Resource Builder Utility?

    OK, it should work. How to configure the IDE so that it calls RC.EXE instead of BRCC32.EXE?
  21. FPiette

    Free Resource Builder Utility?

    BRCC32 cannot handle ico files with 24 bits RGB.
  22. FPiette

    best library for camera grabbing

    Maybe you should tell us more about the intended application.
  23. I have not seen algorithm implementation, but one possible cause is that in your implementation, you accumulate very small floating point value and at some point the accumulated value becomes very large (or the initial value is that large). At that moment, accumulation doesn't work anymore. What very small and very large means depends on the floating point precision you used. This means that how you implement the algorithm matters! Compiler will not change anything, the issue comes only from the floating point precision you use (The number of significant digits).
  24. That was good in your previous run but you called "Mail" instead of "MailFrom".
  25. You should start the next mail at MailFrom stage.
×