Jump to content

FPiette

Members
  • Content Count

    1168
  • Joined

  • Last visited

  • Days Won

    16

Everything posted by FPiette

  1. FPiette

    Registration Limit

    Then contact your sales representative, preferably the one which sold you the license and explain why you need more licenses.
  2. FPiette

    Registration Limit

    Which kind of license do you own ?
  3. FPiette

    Minimum Viable Product (MVP)

    Your list is long and are just title. For each item in your list, please explain a little bit your own opinion, at least with 600 words each.
  4. FPiette

    Minimum Viable Product (MVP)

    I suggest you start the discussion by exposing what is your own opinion. Then we can comment on it.
  5. It is advised to use UIntPtr to cast a pointer to an unsigned integer. Note that System.pas make UIntPtr an alias for NativeUInt. This means it is not your problem. I suggest you build a very small (preferably console mode) sample program which reproduce the issue so that we can reproduce your error, understand what is wrong and tell you what to do.
  6. To send the "binary" information to the server, you must call TypeSet or TypeSetAsync.
  7. I'm the original author of ICS software. I live in Belgium. There are a lot of contributors from a lot of countries. It is free software available only in source form. There is no company behind it. There is no ECCN nor ECN nor anything equivalent.
  8. FPiette

    C++ to Delphi conversion problem

    If we know the driver editor, we could search for you the correct SDK, documentation, header files and so on. I asked the hardware because I thought you were using a terminal like Zeller EFTPOS terminal.
  9. FPiette

    C++ to Delphi conversion problem

    For using with Delphi, you should ask for C SDK, not a C++. C and C++ are two very different beasts. By the way, what is your target hardware? And where the Header files you showed extract are coming from?
  10. Latest Mosquito update is dated 2023-09-18.
  11. FPiette

    C++ to Delphi conversion problem

    It is likely that the SDK you are using has some sample programs. To compile the samples, you can download Microsoft Visual C++ Community Edition which is free: https://visualstudio.microsoft.com/fr/vs/community/
  12. FPiette

    C++ to Delphi conversion problem

    Are you able to compile a working test program in VC++? If yes, the you'll be able to see the size of every field member and offset from start of structure. Then you can define Delphi record with same member names and offset from start or record. The offset is very important: compiler have rules to align field/record and in Delphi you'll probably end up using "packed record" and add dummy data to reproduce VC++ field alignment. For the char pointer, debugging your test application, you'll see if data is ascii or unicode and use the proper Delphi pointer type.
  13. TCanvas is a kind of API for a drawing surface. It encapsulate drawing primitives like line or text. A TCanvas is a property of some other graphics component, for example an image component. This is at that component level that you must handle onClick. This being said, you should better explain what you need and what you already have, preferable with some code sample. If you explain correctly, chaces are that you get a helpful answers.
  14. I strongly recommend to use madExcept during development. It will catch - among other things - access to already freed object or memory which can cause what you see.
  15. At runtime, I need to discover the structure of a MySQL table (Field names, types, sizes and more]. FireDAC TFDMetaInfoQuery component is supposed to do that but it doesn't work as expected. I got this error message: [FireDAC][Phys][MySQL]-339. A meta data argument [table type name] value must be specified. Don't tell me to use the auto-created fields.
  16. FPiette

    How to use FireDAC TFDMetaInfoQuery component?

    That was it. Thanks.
  17. FPiette

    How to use FireDAC TFDMetaInfoQuery component?

    Just a single line: FDMetaInfoQuery1.Open; TFDMetaInfoQuery is connected at design time to a TFDConnection. The same connection is used for several TFDQuery and every request works file. Extract from the DFM: object FDMetaInfoQuery1: TFDMetaInfoQuery Connection = FDConnection1 MataInfoKind = mkTableTypeFields TableKinds = [tkTable] SchemaName = 'MySchema' Left = 328 Top = 64 end
  18. FPiette

    Delphi on Surface Pro with Qualcomm CPU?

    OK, you are tempted. But IMO that is a non-sense.
  19. FPiette

    Delphi on Surface Pro with Qualcomm CPU?

    According to Microsoft, most Win32/Win64 applications runs on the Surface Pro having an ARM processor. Of course there is an emulation layer to run Intel machine code on an ARM processor and there is probably a performance penalty. Tom's Guide reviewed two Surface Pro 9 : one with Intel i7-1255U and one with ARM SQ3. Intel configuration is largely superior to ARM configuration. There is only one area where ARM is better: battery life. This was expected given the lower performance of the ARM processor. If you plan to buy Surface Pro 9, pay attention to various configurations there are not at all equals!
  20. Is it a basic setup using default options and folders? Anything added after setup, like libraries, components, experts, addons and similar?
  21. To be clear, the question is not about Delphi installer. The elevated privileges are requested when running the IDE, after installation. Or is it me that did not understood the question ?
  22. I have the same UAC setting as you but I don't have any issue with the IDE requesting elevated privileges. There is something suspect on your system. Don't relax UAC settings!
  23. FPiette

    VCL Form Designer Zoom

    Using latest Delphi (12.1), you can open a new edit window (right click on the tab and select "New edit window". Then in the window which is opened, you see your source code and you can switch to design mode by clicking on "design" tab located bottom right of the edit window. Now, you see the form editor. It is still embedded in the designer window but it is bigger than in the main IDE window yet still not full screen. You can enter a feature request in Embarcadero Quality Portal. If you do, publish the reference here.
  24. FPiette

    LOCKED FILE

    Never! Which database are you using? Which database access component are you using?
  25. FPiette

    LOCKED FILE

    IMO it is not a good idea to unlock an locked file. Usually, a program lock a file because it is doing operation on the file which requires an exclusive access. Unlocking the file without shutting the program down will probably result in corrupted file or file in an inconsistent state when you access it (for example copy the file elsewhere).
×