Search found 7 matches

by cmartinez
Fri Jun 26, 2020 6:29 pm
Forum: Coding Questions
Topic: PureBasic Trojan detected by Windows Defender
Replies: 18
Views: 4642

Re: PureBasic Trojan detected by Windows Defender

Thanks for the explanations ... and of course I never doubted Fred's honesty... God forbid... this software is proving to be a marvelous discovery for me, and pretty soon I'll be acquiring a professional licence.

Thanks all for the clarification.
by cmartinez
Fri Jun 26, 2020 4:15 pm
Forum: Coding Questions
Topic: PureBasic Trojan detected by Windows Defender
Replies: 18
Views: 4642

Re: PureBasic Trojan detected by Windows Defender

Thank you both for your replies. But my question is, why is a trojan being detected in the first place?
by cmartinez
Fri Jun 26, 2020 3:46 pm
Forum: Coding Questions
Topic: PureBasic Trojan detected by Windows Defender
Replies: 18
Views: 4642

PureBasic Trojan detected by Windows Defender

A few weeks ago I downloaded the demo version of PureBasic from its official website. Now I'm getting this message on the two computers that I have it installed on.

Threat detected: Trojan:Win32/Wacatac.D!ml
Category: Trojan
Details: This program is dangerous and executes commands from an attacker ...
by cmartinez
Thu Jun 25, 2020 6:13 am
Forum: General Discussion
Topic: Filtering keystrokes
Replies: 6
Views: 2453

Re: Filtering keystrokes

Excellent... thank you so much for your help, and thanks for pointing me in the right direction. I'll do as you say and get back here in case more questions pop up. It's too bad this place doesn't have a "Like" button I could press... :wink:
by cmartinez
Thu Jun 25, 2020 5:54 am
Forum: General Discussion
Topic: Filtering keystrokes
Replies: 6
Views: 2453

Re: Filtering keystrokes

Ok, I've just gone through the directories installed along with PureBasic.

One of them's called PureLibraries, so I assume that's what you're referring to. Inside said directory, there's another called Windows\Libraries which is full of *.lib files... I assume said functions can be found in those ...
by cmartinez
Thu Jun 25, 2020 4:10 am
Forum: General Discussion
Topic: Filtering keystrokes
Replies: 6
Views: 2453

Re: Filtering keystrokes

Example for Windows, only takes vowels:

Procedure EditProc(hwnd, msg, wparam, lparam)
oldproc = GetProp_(hwnd, "oldproc")
Select msg
Case #WM_CHAR
If Not FindString("AEIOU", UCase(Chr(wparam)))
ProcedureReturn 0
EndIf
Case #WM_NCDESTROY
RemoveProp_(hwnd, "oldproc")
EndSelect ...
by cmartinez
Wed Jun 24, 2020 4:57 pm
Forum: General Discussion
Topic: Filtering keystrokes
Replies: 6
Views: 2453

Filtering keystrokes

Hello, I'm new to PureBasic, and I'm basically (no pun intended) migrating from VB.NET for the sole reason that I've had it with Microsoft already ...

That being said, here's my question.

How does one intercept a keystroke in PureBasic so as to block it or allow it to go through when typing inside ...