Jump to content

Lars Fosdal

Administrators
  • Content Count

    3416
  • Joined

  • Last visited

  • Days Won

    113

Everything posted by Lars Fosdal

  1. Lars Fosdal

    Creating ActiveX

    What kind of app will be hosting the ActiveX component? The future of ActiveX is a bit iffy.
  2. Are there changes to the theme resources since 10.3.0?
  3. What about https://github.com/RRUZ/delphi-ide-theme-editor ?
  4. Lars Fosdal

    Styled DBGrid OnDrawDataCell

    What if you call Inherited before drawing the rect? I see that in some of my code I only do my custom drawing if State = [].
  5. Lars Fosdal

    Styled DBGrid OnDrawDataCell

    Have you tried without the lock/unlock? You are after all already inside a grid on draw event. A possible workaround could be to do an invalidate on the grid after a drag/drop. Also - how a mod 2 = 0 can draw every three rows, is a bit of a mystery đŸ˜‰
  6. The link above contains the general ISO for Delphi / RAD Studio for license hoders. You need to be logged in, and possible have a subscription? Not sure about the last bit. The Community Edition (CE) of Delphi can be found here: https://www.embarcadero.com/products/delphi/starter/free-download Are you on CE or Pro|Enterprise|Architect?
  7. Have you checked the integrity of the ISO image? CertUtil -hashfile <filename.iso> <MD2|MD4|MD5|SHA1|SHA256|SHA384|SHA512> i.e. CertUtil -hashfile delphicbuilder10_3_3_7899_nt.iso MD5 The output should match the MD5 signature in http://cc.embarcadero.com/item/30896 Personally, I prefer the Web Installer.
  8. Control Panel | System | Advanced System Settings | Environment Variables System Variables | Path
  9. Did you use the .ISO installer or the web installer? The length of the path environment variable can be a problem. Check that there are no old and obsolete paths filling it up.
  10. <Images of General Custer flashing by...>
  11. Lars Fosdal

    Access violation at address in module rtl260.blp

    Is it live at design-time? (I have nothing but bad experiences with that and prefer to NOT do that) Is the data source originally used when designing still available?
  12. Lars Fosdal

    Windows product ID (from the registry)...

    Which version of PowerShell? I recommend installing PS Core 6 while waiting for 7. Faster and richer. From your Windows Powershell command line, run: iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI" Note that PS Core 6 runs on Linux and MacOS too.
  13. Lars Fosdal

    Windows product ID (from the registry)...

    You can also validate your findings through PowerShell PS C:\> Get-ComputerInfo | select WindowsProductName, WindowsVersion, OsHardwareAbstractionLayer WindowsProductName WindowsVersion OsHardwareAbstractionLayer ------------------ -------------- -------------------------- Windows 10 Enterprise 1809 10.0.17763.737
  14. Lars Fosdal

    Using Expressions in the Group By Clause in Interbase

    An alternative could be using a temp table for the inner select?
  15. Lars Fosdal

    Using Expressions in the Group By Clause in Interbase

    I've not used Interbase, but if follows std SQL, it could be something like this? SELECT HIREDMONTH, EMPLOYEECOUNT FROM ( SELECT extract (month FROM HIRED_DATE) AS HIREDMONTH, count(*) AS EMPLOYEECOUNT FROM employee ) AS Table1 GROUP BY HIREDMONTH, EMPLOYEECOUNT
  16. Have any of you tried these ARM development kits with AOSP and Delphi? https://www.96boards.org/product/hikey960/ https://www.96boards.org/product/hikey970/
  17. Lars Fosdal

    HiKey 960 / 970 ARM development kits?

    I guess that takes the 960 off the table. The 970 mentions supporting Google Android NN neural network computing framework, which means it is Android 8.1 (API level 27) or above.
  18. Lars Fosdal

    Service Location Protocol API pascal unit?

    Not sure if helpful at all, but could https://sourceforge.net/projects/openslp/ be wrapped with C++Builder for consumption in Delphi?
  19. Lars Fosdal

    Import .NET Assembly list is empty

    https://docs.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac
  20. I'd start by identifying for certain which drivers that are being used by the two clients.
  21. MARS (Multiple Active Result Sets on the same connection) doesn't work without the advanced clients, IIRCC. https://docs.microsoft.com/en-us/sql/relational-databases/native-client/features/using-multiple-active-result-sets-mars?view=sql-server-ver15
  22. In https://support.microsoft.com/en-us/help/201978/how-to-use-printer-device-fonts there are some clues to doing device font substitution, but if that doesn't work out, I am afraid that you have to raise the issue with the maker of the printer.
  23. Is there a TrueType version of the built in printer fonts available anywhere? It could be that the MS canvas handling fails to get font info for the built in fonts, if the fonts don't exist in the Windows font registry. Installing the TrueType may help?
  24. If FetchAll is not used, and there is more than the default row limit number of rows, RecordCount may show the same as the row limit (f.x. 50). This means that if you use a for loop for var n:= 1 to RecSet.RecordCount do begin // ... process RecSet.MoveNext; end; You may only get the first 50 records, and not the actual number. That could possibly lead to this situation where the RecSet is "unfinished". It is safer to use while not RecSet.EoF do begin // ... process RecSet.MoveNext; end; which will fetch more chunks of 50 rows until all rows have been fetched - or use FetchAll đŸ˜›
Ă—