Jump to content

Jacek Laskowski

Members
  • Content Count

    267
  • Joined

  • Last visited

  • Days Won

    2

Jacek Laskowski last won the day on October 16 2022

Jacek Laskowski had the most liked content!

Community Reputation

57 Excellent

About Jacek Laskowski

  • Birthday 08/16/1973

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

3917 profile views
  1. Renaming private (existed in implementation section) procedure/function parameters does not propagate to the procedure body. Please try edit this function and change InString to something other. function StrToIdBytes(const InString: string): TIdBytes; var ch: Char; i: Integer; begin SetLength(Result, Length(InString)); i := 0; for ch in InString do begin Result[i] := Ord(ch); inc(i); end; end;
  2. Jacek Laskowski

    Structured Difference Viewer added to MMX Code Explorer

    Process Monitor with filter: result is not SUCCESS 15:14:02,9686712 MMX_SDV.exe 7608 CreateFile C:\Windows\Prefetch\MMX_SDV.EXE-C22AB698.pf NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Attributes: n/a, ShareMode: None, AllocationSize: n/a 15:14:02,9692724 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\System32\wow64.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9696735 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\System32\wow64win.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9701432 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\System32\wow64cpu.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9705388 MMX_SDV.exe 7608 CreateFile C:\Windows\System32\wow64log.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9727291 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\winspool.drv NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9730834 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\winspool.drv FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9747241 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\sechost.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9769192 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.exe.Local NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9772908 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\comctl32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9781272 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\version.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9784119 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\version.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9793129 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\netapi32.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9799320 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\netapi32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9804474 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\netutils.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9811045 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\netutils.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9815691 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\srvcli.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9820002 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\srvcli.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9824942 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\wkscli.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9828137 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\wkscli.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9833001 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\SHFolder.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9836609 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\shfolder.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9843890 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\apphelp.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9849440 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\AppPatch\sysmain.sdb FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9872487 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\imm32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9881468 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\imm32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9886826 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\imm32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9911259 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\WindowsShell.Manifest FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:02,9937350 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.pl-PL NO SUCH FILE Filter: MMX_SDV.pl-PL 15:14:02,9939015 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.pl NO SUCH FILE Filter: MMX_SDV.pl 15:14:02,9940577 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.en-US NO SUCH FILE Filter: MMX_SDV.en-US 15:14:02,9941802 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.en NO SUCH FILE Filter: MMX_SDV.en 15:14:02,9943194 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.PLK NO SUCH FILE Filter: MMX_SDV.PLK 15:14:02,9944376 MMX_SDV.exe 7608 QueryDirectory C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.PL NO SUCH FILE Filter: MMX_SDV.PL 15:14:02,9970411 MMX_SDV.exe 7608 CreateFile C:\Windows\SysWOW64\rpcss.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9971933 MMX_SDV.exe 7608 CreateFile C:\Windows\SysWOW64\rpcss.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9986440 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\wtsapi32.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:02,9997924 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\wtsapi32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0003313 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\WINSTA.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:03,0008270 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\winsta.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0043491 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\uxtheme.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:03,0050350 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\uxtheme.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0062632 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\pl-PL\user32.dll.mui FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0073723 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\Globalization\Sorting\SortDefault.nls FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0141024 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\Registration\R00000000007e.clb FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0148925 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\WindowsCodecs.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0387725 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.exe.Local NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:03,0390254 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\winsxs\x86_microsoft.windows.c..-controls.resources_6595b64144ccf1df_6.0.7600.16385_pl-pl_57651e9fc65047a4\comctl32.dll.mui FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0424186 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\Fonts\StaticCache.dat FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0655592 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\ole32.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:03,0839244 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\MMX_SDV.exe.Local NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:40,1728374 MMX_SDV.exe 7608 CreateFile C:\Users\Jacek\AppData\Local\Programs\Raabe Software\MMX\15\imageres.dll NAME NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a 15:14:40,1733848 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\imageres.dll FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection: 15:14:40,1736702 MMX_SDV.exe 7608 CreateFile C:\Windows\SysWOW64\pl-PL\imageres.dll.mui NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: , Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a 15:14:40,1737425 MMX_SDV.exe 7608 CreateFile C:\Windows\System32\pl-PL\imageres.dll.mui NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: , Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a 15:14:40,1738264 MMX_SDV.exe 7608 CreateFile C:\Windows\SysWOW64\pl\imageres.dll.mui NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: , Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a 15:14:40,1738828 MMX_SDV.exe 7608 CreateFile C:\Windows\System32\pl\imageres.dll.mui NAME NOT FOUND Desired Access: Generic Read, Disposition: Open, Options: , Attributes: n/a, ShareMode: Read, Delete, AllocationSize: n/a 15:14:40,1739956 MMX_SDV.exe 7608 CreateFileMapping C:\Windows\SysWOW64\en-US\imageres.dll.mui FILE LOCKED WITH ONLY READERS SyncType: SyncTypeCreateSection, PageProtection:
  3. Jacek Laskowski

    Structured Difference Viewer added to MMX Code Explorer

    I get error after open Viewer and trying close it by X button. And now only killing the process can close Viewer app. Delphi 10.3 and Windows 7.
  4. Jacek Laskowski

    IDE search and regular expressions

    Does a files search from within the IDE (shift+ctrl+F), with Regular Expression enabled, support multi-line searches? I tried for an hour and did not get anything. For example, I would like to find all public var sections located between interface and implementation in units. Can the IDE do this?
  5. Jacek Laskowski

    Delphi IDE on AMD cpu?

    I'm working on Ryzen 5900X, the computer after switching from i7 3770 got such wings that I close the windows to keep it from flying away 😉 I work in a virtual machines (vmware), currently I have 2 machines open. The system on the host is Ubuntu, which has very low requirements and low overhead. The ram usage (including the two virtuals) is currently at 10 GB (and I have Firefox open with many tabs, Slack, Telegram and many background services). I strongly recommend AMD
  6. Is it possible to automatically convert the entire Firebird database from win-1250 to UTF-8 encoding? Are there any tools for this purpose? Or using backup/restore?
  7. Jacek Laskowski

    AES and different result length

    Yes, you're right... it's about the padding. I didn't specify it explicitly and the default was used, hence there is a difference in the two libraries. Thanks!
  8. I am testing the DEC library and the AES algorithm (Rijndael). To check the correctness of the result I use other sources of ciphertext. And I encountered a small problem. I used two online generators and wrote a script in Python, but the results (ciphertext) has different length in each of them: #devglan #B623A479FC657E31F219287CD191075575B2FB56485D0C22E9168A2BF2289C7165CDA67586A486E14115C754ABA158A84A8C3B521E0DF87505D77649A8F1CB52A03D41E205849F28BCA2DE189A9C65CDB648DBC9F7D49AF2F1704B491E9E2DE6FC357ADC8E15733394C3C75B45570AE77A2A6CB6CC4418A558A78313C0C16478A7D61538B88B486BCAE89235D8FCEEB8 #domain tools #B623A479FC657E31F219287CD191075575B2FB56485D0C22E9168A2BF2289C7165CDA67586A486E14115C754ABA158A84A8C3B521E0DF87505D77649A8F1CB52A03D41E205849F28BCA2DE189A9C65CDB648DBC9F7D49AF2F1704B491E9E2DE6FC357ADC8E15733394C3C75B45570AE77A2A6CB6CC4418A558A78313C0C16478 #python #B623A479FC657E31F219287CD191075575B2FB56485D0C22E9168A2BF2289C7165CDA67586A486E14115C754ABA158A84A8C3B521E0DF87505D77649A8F1CB52A03D41E205849F28BCA2DE189A9C65CDB648DBC9F7D49AF2F1704B491E9E2DE6FC357ADC8E15733394C3C75B45570AE7 The common part agrees, but what are the extra bytes? #devglan: https://www.devglan.com/online-tools/aes-encryption-decryption #domain tools: http://aes.online-domain-tools.com/ Python script: import pyaes, binascii key = b'01234567012345670123456701234567' plaintext = 'Some short description with looooooooong additional data like polish diacritical chars... łóżźćęół and digits 0123456789' encrypter = pyaes.Encrypter(pyaes.AESModeOfOperationCBC(key)) ciphertext = encrypter.feed(plaintext.encode('utf-8')) print('Encrypted:', binascii.hexlify(ciphertext).upper()) Initialization vector is set to 16 zeroes.
  9. Jacek Laskowski

    Casting pointer to TBytes

    Simplified version of the question: is it possible to pass a memory area (pointer) to a method that accepts an array of bytes (TBytes) without copying? If it's not possible, there's no trick, that's too bad. I'm looking for another solution. Thanks for the help...
  10. Jacek Laskowski

    Casting pointer to TBytes

    I have a method (from external code) that takes an array of TBytes as a parameter: procedure Something(const aData : TBytes); and I need to pass to it a (read-only) memory area, allocated by GetMem(). Is it possible to cast this to TBytes (or some other trick) without copying the memory to a separate variable of type TBytes?
  11. Jacek Laskowski

    When will IDE Editor support more fonts?

    See my discovery in other thread about rendering fonts...
  12. Jacek Laskowski

    MMX 15.0.18 - font bug

    I don't think I've written anywhere, but with me practically 99% of classes implement the interface, so there is always an interface behind the class and problems with moving methods to the beginning of the class were ALWAYS present in classes implementing the interface. Yes: I am very happy that I will enter 2021 without this frustrating affliction Happy New Year!
  13. Jacek Laskowski

    MMX 15.0.18 - font bug

    Unfortunately, after editing many methods, the problem appeared again, so this value has no effect 😞
  14. Jacek Laskowski

    MMX 15.0.18 - font bug

    Perhaps the line width is important for this problem. I had 140, now I set 80 and for now the situation has not repeated, I will test for some time, although I want 140 eventually.
×