Jump to content

FPiette

Members
  • Content Count

    1200
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by FPiette

  1. FPiette

    How to run D2007

    The license is the "keys" that are used to register the product, the media is not a license. Maybe if you contact Embarcadero sales producing the proof of purchase they will give you access to the keys? Only them can help you legally.
  2. FPiette

    FTPS Passive Mode

    Would be nice if you can write a short document explaining step by step what has to be done so that even C++ Builder newbies can install ICS easilly. This document would be added to the readme file.
  3. FPiette

    FTPS Passive Mode

    We always wanted someone giving feedback with C++ builder so that installation goes as smooth as with Delphi. Should not be to difficult because ICS is source code only.
  4. FPiette

    Floating point arithmetics

    Floating point numbers are a difficult subject. To have a better idea, read this article: http://rvelthuis.de/articles/articles-floats.html Be sure to have a look at the references at the end of the article. FPU Control Word can also be affected by components or libraries and then change the behavior. Look at this documentation http://docwiki.embarcadero.com/RADStudio/Sydney/en/Category:Floating-Point
  5. FPiette

    Floating point arithmetics

    The IDE and dcc32 are the same compiler so using the same compiler switch should result in the same code. I suspect - as it is often the case - that you extracted the code for a more complex application and there is something interfering that you didn't see. That's why I asked you to create a minimal example reproducing the problem. Now you have the code and you have to test the result with both the IDE et dcc32.
  6. FPiette

    Floating point arithmetics

    OK, now compile your sample with Delphi IDE and with DCC32 and share the results.
  7. FPiette

    Floating point arithmetics

    Please show a complete minimal reproducible example project.
  8. I still don't understand. Do you mean a company offering a service like what Embarcadero has implemented for Delphi registration? The OP is looking for a component to integrate in his own software and which contact some remote service to validate software registration?
  9. What is a software registration company?
  10. FPiette

    Excel to DBGrid

    Export the Excel sheet as a CSV file which is a text file that you can easily parse with Delphi. Or automate Excel from your Delphi application to get the cells. Probably other solutions exists.
  11. You have an array of word. Each array cell has to be a word, that is a 16 bit unsigned integer (0..65535). When you try to assign 73232, you are outside of the range 0..65535 giving the error you see. When you assign word(73232), you ask the compiler to convert 72232 to a word (will simply be truncated to the lower 16 bits) and it works.
  12. FPiette

    SysUtils, AnsiString

    You could create your own function MyStrLCopy() which simply call the original one. If you make it inline, then it will be as fast.
  13. FPiette

    UDP sending and receiving

    WSocketReceive.Port := '0'; This is clearly wrong. Use a valid port number. procedure TMainForm.WSocketSessionAvailable(Sender: TObject; ErrCode: Word); begin // This is never called MemoReceive.Lines.Add('Port: ' + WSocketReceive.Port); end; UDP is a sessionless protocol.
  14. I don't know if it will help you but recently I wrote an application to display radiography images which are huge (more than a CD for a single image). I had to load the image in a 2D array much like BMP does and then handle parts of that bitmap according to the zoom factor selected by user (mouse wheel or button or keyboard, doesn't matter) and pan (mouse drag, cursor keys, doesn't matter). The computation shrink or stretch the part of selected image to create a bitmap that can fit on screen. I made a CPU computation (works well but not that fast for the gigantic images) and also on GPU (Stay fast). I must admit that this is not simple code. Nor it is very complex.That's more or less what Google is doing for its satellite images. Unfortunately I can't share the code since it is copyrighted. But I can discuss the topic if you have questions.
  15. There is annual developer survey going on on Stack Overflow. Delphi is in the language list, now we need Delphi developers answering the survey and ticking Delphi to show it is relevant. https://meta.stackoverflow.com/questions/407914/take-the-2021-developer-survey
  16. I suggest that one of you create a new topic to discuss MQTT.
  17. FPiette

    TTouchKeyboard layout

    Sorry but it looks you have an English layout. What did I miss in your post?
  18. FPiette

    Using VMWare: what files remain on host?

    You have to consider the content of your VM exactly like you would consider it if it was installed on a separate physical machine connected to the same LAN.
  19. Search the web for a tutorial about Delphi Exception Handling.
  20. It is better you open a new message thread for that other subject.
  21. FPiette

    Outlook Server Execution Failed

    On that computer, using RegEdit, search if the key "HKEY_CLASSES_ROOT\Outlook.Application" exists. There could also be version specific keys such as "HKEY_CLASSES_ROOT\Outlook.Application.16".
  22. FPiette

    Is there any way to install delphi 10.4 package into Delphi 10.3?

    You have to recompile the 10.4 package source code with 10.3 hoping that the code doesn't use any new feature.
  23. FPiette

    Do bug fix patches really require active subscription?

    That is at least partly wrong. Google can found a page or file only if the is a link to it or it is submitted to Google or is a the file each website has for all robots. Google has no way to find the existence of a file not mentioned anywhere. In HTTP, a directory cannot be listed. Now that the link has been mentioned in this forum, it could be indexed by Google (No idea if this forum is indexed by Google).
×