GpDelphiUnits
GpDelphiUnits copied to clipboard
A collection of my open sourced Delphi units
Would it be possible to make this function compatible with Unicode Delphi version: `OleCheck(CoCreateInstance(CLSID_ShellLink, nil, CLSCTX_SERVER, IID_IShellLinkW, shellLink));` instead of `OleCheck(CoCreateInstance(CLSID_ShellLink, nil, CLSCTX_SERVER, IID_IShellLinkA, shellLink));` Same for DSiCreateShortcut and DSiEditShortcut...
If I had a commandline parameter like /folder:"C:\folder\with spaces" GpCommandlineParser has a issue. The right value of this parameter was "C:\folder\with spaces" (of course without quotes) but GpCommandlineParser identify this...
Unable to compile GpSharedEvents.pas.
As you can see GpSysHookCommon.pas is missing from the file list.
Sometimes a target class can have a public property of a custom enumeration type which is set from a string value from a command line. E.g. type TLogLevel = (llTrace,...
Hello, FSharedMemory := TGpSharedMemory.Create('MySharedMemory1234', 1024, 4096); if i set the MaxSize parameter (default = 0) it works. Any ideas ? Thank you
From : https://code.google.com/p/omnithreadlibrary/issues/detail?id=79 What steps will reproduce the problem? 1. On systems with more than 32 logical processors, OmniThread library doesn't start because of range check errors in AffinityMask functions...
``` In Unit GpHugeF.pas the class (and some functions) use a Buffer-Offset. But this offset is defined as DWORD. Is there any possibility in X64 and very large files (I...
``` In Unit GpHugeF.pas the method OffsetPtr calculate a address in DWORD. This will fail in x64 and high pointers. Suggestion is ... function OffsetPtr(ptr: pointer; offset: DWORD): pointer; begin...
``` What steps will reproduce the problem? 1. Compile DSiWin32 with D2009 What is the expected output? What do you see instead? C:\Dev\Delphi\Lib\OmniThreadLibrary\src\DSiWin32.pas(6396,53): error E2003: E2003 Undeclared identifier: 'SizeOf' What...