I have several Free programs out for Search and Rescue , which keep showing up a "false positive" for some kind of virus.
As a result, in the last 6 months or so, it has become nearly impossible for people to install my programs.
Firefox blocks the installation package on download.
Microsoft windows 10 tries to block it with both an anti-virus system followed by a Certifcate problem (I have no certificate as I cannot afford the huge yearly fees).
Yesterday I got a panic call from a New Zealand Search and Rescue organisation, that suddenly on all their computers the main program litterally dissapeared while they where using it, including the Icon of the desktop. Right in the middle of a life-and-death Operation.
So, somewhere in my 250,000 lines of source code is something which generates a sequence of bytes in the Executable which triggens some anti-virus programs.
- How can I locate the exact position of this sequence in the executable?
- How can I somehow reverse engineer (de-compille) the executable to the point that I can then locate where in the Source code the problem is?
Is it possible to change WebApplication.ShowNotification background color?
I know that the background color changes accordingly the AType parameter (2nd parameter passed to the function).
Is it possible to override this?
I feel stupid to have to ask this after all these years programming, but I never got this properly sorted out.
I have a Form which is opened with ShowModal.
There is a Cancel button and an OK button.
The Modalresult Cancel button is set at design time to mrCancel.
But the Modalresult of the OK botton cannot be set to mrOK because I need to be able to break out of it, and let the user correct all invalid settings on the form.
So:
OkBtn.Modelresult = mrNone;
Form.OkBtnClick();
begin
if SomethingWrong then
begin
ShowMessage(Fix it!);
OkBtn.Modelresult := mrNone;
exit; // Form should NOT close
end else
begin
All okay, Close Form with Modalresult mrOK;
OkBtn.Modelresult := mrOK; // Nothing happens...
Form.Modalresult := mrOK; // has no effect
CLose; // Does NOT close with mrOK.
end;
This does not work.
What is the correct way to deal with a Modal form in such a way that the final Modalresult is mrOK but while still working it is possible to intercept the OKBtn from closing the form?
I am getting lots of attemps to login to my server. I have the IP address, but would like to display in the Debug Log the reverse DNS name of the offending IP.
I just found the IdDNSResolver, but cannot seem to find an example of a reverse DNS looklup (IP4).
When using TIWButton.Image.WebFontClass to create icon button, adjusting some property of the button (Css, Visible, Enabled) asynchronously will make the icon disappear.
To replay, create a IW project
1) In IWAppForm, add font awesome to contentFile (https://cdnjs.cloudflare.com/ajax/libs/f...me.min.css).
2) Add 2 TIWbutton.
3) 1st button set TIWButton.Image.WebFontClass to 'fa fa-plus'.
4) 2nd button create OnAsyncClick Event.
Code:
procedure TIWForm1.btnBugAsyncClick(Sender: TObject; EventParams: TStringList);
begin
// TIWControlImage for icon button break if change any of the below one in async
btnIcon.Css := 'test';
// btnIcon.Visible := not btnIcon.Visible;
// btnIcon.Enabled := not btnIcon.Enabled;
end;
- For sample attached (IWButtonBug.zip), click on bug button to replay the issue