Jump to content

Vandrovnik

Members
  • Content Count

    560
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Vandrovnik

  1. Vandrovnik

    Structure Panel empty - how to get Embarcadero support?

    Probably the same problem as in Project Window https://quality.embarcadero.com/browse/RSP-27182 It is reported, but when it will be fixed...
  2. Vandrovnik

    OpenType file API?

    What about DirectWrite? It should support OpenType fonts.
  3. Vandrovnik

    Random Access Violation?

    Does AV happen on one computer, or all? Every query, or just some (with parameters? with string result? with only integer result? etc.)?
  4. Vandrovnik

    Random Access Violation?

    But he wrote that error happens in external .dll when he opens a query, not in his code.
  5. Installing components after each IDE update is a pain for me, so I created a .bat script, which recompiles all components (Win32 runtime, Win64 runtime, Win32 design time). It writes a list of created .bpl files to a text file. The only manual part then is to add them to the IDE: Component, Install packages, Add, paste the path to the .bpls. I still did not try to add all bpls in one step, may be it works :-), but I enter them one by one.
  6. Vandrovnik

    Delphi 10.3.3 Problems with x64-Debugger

    I have not seen this problem, but I also almost do not debug Win 64 apps, because it is much slower on my PC. So I debug 32 bit versions and just occasionally test 64 bit versions.
  7. Vandrovnik

    Smaller custom component between design & Running mode

    I guess in the IDE, you draw for example 12 px box, but whole IDE is scaled by Windows, so that it is displayed as 24 px (example). In running application, if your application is HDPI enabled, than Windows does not do the scaling. So original checkbox is drawn 24 px, because it is able to do it by itself, but your component is drawn 12 px, because it does not calculate proper size.
  8. Vandrovnik

    Delphi Rio IDE hangs again and again

    Can you compile to one big .exe for debugging and to packages only for release?
  9. Vandrovnik

    Connection string encryption

    I think till now they store database password in plain text in a config file and now they want something better, so that their users cannot read password from it. If they store password xored with a secret key, it would help against "normal" users. If they do not want to store that secret key in .exe, they can generate it on the fly - for example, using a random number generator set to a specific seed and obtaining generated values. It will not be hacker-proof, but it will be curious-user-proof, which is probably good enough for a legacy application.
  10. Vandrovnik

    Connection string encryption

    Soji wrote "legacy application", I think it is not a mobile app, but a desktop one, which connects directly to a database.
  11. Vandrovnik

    Connection string encryption

    Hmm, and this API service will have to store password for the database somewhere... And his original application will have to store password for the API service somewhere, so now he has to store two passwords 🙂
  12. Vandrovnik

    Delphi Rio IDE hangs again and again

    If you had to power off the computer, I would suspect hardware. While I do see frozen IDE +- two times a week, I have never to reboot PC - it is enough to run Task Manager and kill BDS there. Did you move some components from the old PC to the new one? Harddisk? Network card...?
  13. I have usually seen a WOL-related checkbox also on the tab "Power Management", but when it works now, it probably does not need to be touched 🙂
  14. About Wake on LAN: I have not seen PC without WOL support for at least 15 years... But as far as I know, in Windows, WOL must be enabled in network adapter's properties.
  15. Vandrovnik

    THostName delphi seattle

    I use IBX components to connect to Firebird. In 64-bit version of my application, it loads client library from ibclient64.dll (it is defined in IBX.IBHeader.pas). Client library must be 64-bit. Client library may need other DLLs (such as MSVCR100.dll...).
  16. Vandrovnik

    Exception.CreateFmt vs. CreateResFmt

    "fairly easy" 🙂 In VirtualProtect calls, hard-coded value "4" - isn't it better to use sizeof(pointer) instead, so that it is safe in 64-bits too? Or this code is for 32-bits only?
  17. Vandrovnik

    Frequent compilation errors

    There is a switch in Option - you can try, whether it makes any difference: "Optimization in source code file access for large projects through a unit cache, particularly when residing on remote drives. The feature is controlled by a new IDE option at Tools > Options > IDE > Compiling and Running > Enable unit directory cache, and is on by default. " What about an antivirus? Years ago at school sometimes antivirus started to scan a file, locked it, and some applications complained about the file being inaccessible... It was always on a network drive.
  18. Vandrovnik

    Could not load OpenSSL library.

    Does OpenSSL DLL depend on some other DLL(s)?
  19. Vandrovnik

    Feature: ParentFont? Yes, but...

    I remember how long it took me to change the old "MS something" to "Tahoma", because all bold/colored labels had ParentFont=false. So yes, I think this would be useful.
  20. Vandrovnik

    Stop IDE from writing unit names all by itself ?

    May be it will be easier to define empty System.Actions unit for Delphi XE than to fight with Delphi RIO (put it in a directory, where XE will search, but RIO will not).
  21. Vandrovnik

    Generics and Classes on Windows 2000 = OOM

    New versions of compiler may use new functions in Windows API, that are not present in Windows 2000. So application will start and then complain about missing something (or start and immediatelly die silently).
  22. Vandrovnik

    Set a PC environment based on a Country name..

    And what data type do you use? https://en.wikipedia.org/wiki/Year_2038_problem
  23. Vandrovnik

    ANDROID64 Conditional compiling

    Is there a way how to obtain all defined symbols (like ANDROID, DEBUG etc.) and have them displayed during compilation? It would be nice if we put something like {$ShowDefinedSymbols} in source file and defined symbols would appear in messages from the compiler...
  24. Vandrovnik

    tMainmenu, imagelist, high-dpi

    Hello, see https://community.idera.com/developer-tools/b/blog/posts/new-in-rad-studio-10-3-high-dpi-image-list-for-windows K.
  25. Vandrovnik

    Squint and read: CreateFormFromStings

    They could create method with correct name and for some time keep the bad one in place too, just marked as deprecated... Just if there were a will to fix things.
×