FredS
Members-
Content Count
418 -
Joined
-
Last visited
-
Days Won
4
Everything posted by FredS
-
I disabled all Experts, and this is reproducible on both Windows 7 and 10.. FYI: The original error is from a larger project and had a bulleted list in the remarks section.. As for clean install; the Win10 is clean the Win7 an upgrade, both 10.4.2 Pro.
-
There are no international characters that should be (ANSI): /// <summary> /// Shift+Ctrl+Alt allows access to Custom.Ini /// </summary> /// <remarks> /// </remarks>
-
Apparently I have a new marketable skill, crashing the LSP server.. This is unbelievable, can someone verify that these steps are reproducible? New VCL Project Add an event handler for 'KeyDown' Paste this DocInsight text Save Hover your cursor over the implementation of 'KeyDown' exception class : EOleException exception message : Stack overflow. thread $f4c: 514f25e9 +89 xmlrtl270.bpl Xml.XMLDoc 2071 +1 TXMLNode.GetIsTextElement >> stack will be calculated soon unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs; type TForm1 = class(TForm) /// <summary> /// Shift+Ctrl+Alt allows access to Custom.Ini /// </summary> /// <remarks> /// </remarks> procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); private { Private declarations } public { Public declarations } end; var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin ShowMessage('LSP at its best!'); end; end.
-
That and now outright crashes while the 'calculating..' popup appears to freeze up.
-
An installer overwrote changes I made to a component. During app compile the Error was clearly marked (nice), but after Reverting to my Git version the Error was still there. How does one solve this? Do you have to reload the project again?
-
FYI: Switching configuration back and forth refreshes CodeInsight.
-
THEY try and lull you into a sense of security, then when you deploy.. 🙂
-
As I read that its for Linux and Browsing path only:
-
Nope, all my Builds are clean. I figured out there was an issue due to that a couple of years ago and built a 'clean.cmd' that is triggered via 'Build Tools' I have not, because that is exactly what I was trying not to do. Sure seems that making a change then undoing it is the only way to force a Refresh at this point..
-
Sure, that's how the Error shows up because it parses all on opening and coding..
-
Come on, don't be so negative.. it only took from D2006 till now to get here with ErrorInsight..
-
Nothing to do with Git. CodeInsight correctly marked an error I updated the file at fault, the IDE asked if it should reload that file - OK Error still marked Did a Build all Error still marked How to refresh CodeInsight?
-
10.4.2 installer deletes all GetIt packages, but does NOT RE-INSTALL!
FredS replied to David Schwartz's topic in General Help
Just wait until patches are delivered via DOS 🙂 -
Continuation of the topic “RAD Studio 10.4 Installation problems”
FredS replied to oliwe's topic in General Help
After copying over bds.exe I got as far as attempting to use Build Groups but that failed with: Module not found: dcc32270.dll Once again a copy from an Online install fixed that.. C:\>dir /s dcc32270.dll Volume in drive C is Windows Volume Serial Number is 4437-4848 File Not Found -
10.4.1 wasn't compatible so neither will 10.4.2
-
10.4.1 DCUs are compatible with 10.4.2, else I couldn't have built my projects..
-
Yes, that was done a couple of months ago when I had GetIt issues.. But that was an RDP mapped drive not a standard one which with a 6 Gig file could be the issue. So far all testing looks pretty good, an exception of API not found during startup (Windows 7) but compile speed is down to Rio speed again and CodeInsight seems to be working... including.. gulp.. ErrorInsight 🙂
-
Continuation of the topic “RAD Studio 10.4 Installation problems”
FredS replied to oliwe's topic in General Help
Same here just now using the Off-line installer on Windows 10. The only AV is the M$ one.. and definitions where updated less than an hour ago. --------------------------- Setup --------------------------- Unable to execute file: C:\Program Files (x86)\Embarcadero\Studio\21.0\bin\bds.exe CreateProcess failed; code 2. The system cannot find the file specified. --------------------------- OK --------------------------- -
Removing Hints & Warnings — Specifically, "H2443 Inline function"?
FredS replied to Steve Maughan's topic in Delphi IDE and APIs
Right, it will simply NOT inline that function and that means there is a Jump.. inline is faster.. ..more on those for Rio -
Not sure yet.. Tried using the GOF file with the installer from a mapped drive and got a tsclient error. So that doesn't work, was never tested or maybe its because I still use Windows 7..
-
Remembered I added this for a self updater. But I can't say its fully tested yet the remark sounds correct: class function TDirectoryHelper.HaveControlledFolderAccess(const Path: string): Boolean; {$REGION 'History'} // 04-Jan-2019 - 'Controlled Folder Access' won't return an error nor an Invalid Handle // those checks are here in case the path is bad or doesn't exist. // The only indication is that the file is not created {$ENDREGION} var LFile: string; h: THandle; begin LFile := TPath.Combine(Path, TGuid.NewGuid.ToString + PERIOD + TGuid.NewGuid.ToString); h := CreateFile(LFile.ToPchar, GENERIC_READ or GENERIC_WRITE, 0, nil, CREATE_NEW, FILE_ATTRIBUTE_HIDDEN or FILE_FLAG_DELETE_ON_CLOSE, 0); if (h = INVALID_HANDLE_VALUE) then Exit(False); Result := FileExists(LFile, False); CloseHandle(h); end;
-
For protected folders you are fighting the builtin security system.. it's like a builtin Firewall, you only know your call didn't work and most likely froze you never get an explanation why..
-
Vielleicht Interessant: Zum Corona Quiz
-
I just ran the compiled demo for InjectAPI and that still worked on a freshly installed Windoze 20H2. But you can't have a DLL with forms only Kernel32 and User32 API. This means you will need to hack some communication with an app. But let me warn you, I was surprised that it worked especially since the Binaries where not signed. This is oodles more restrictive today than it was 20 years ago 🙂 hope that helps
-
Check your paths, sometimes Delphi starts comparing same named DCUs built with different compiler directives.