Search found 15 matches

by PoorMan
Thu Sep 12, 2024 9:51 am
Forum: Coding Questions
Topic: Drag & Drop Issue
Replies: 4
Views: 938

Drag & Drop Issue

Good Morning Everyone ...
Here is a 'Drag & Drope' Simple Code.
It works fine, however, if you check the option "Request Administrator mode for Windows Vista and above", then the Drag & Drop functionality will not
Any help will be much Appreciated.



If OpenWindow(0, 0, 0, 300, 100, "Drop File ...
by PoorMan
Sun Apr 14, 2024 10:45 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 344
Views: 108117

Re: PureBasic 6.10 LTS is out !

Great job, thanks!
Can you make the output file smaller? In V6.1, it's five/six times bigger than before.
by PoorMan
Sun Apr 14, 2024 10:38 pm
Forum: General Discussion
Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Replies: 29
Views: 13337

Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04

Expanding the output assembly by five times is truly disappointing! :oops:
by PoorMan
Wed Jan 17, 2024 6:56 am
Forum: Coding Questions
Topic: How to check if an Executable loaded certain Dll at runtime?
Replies: 7
Views: 1431

Re: How to check if an Executable loaded certain Dll at runtime?

This sounds absolutely like your program monitors a different program and wants to know whether this different program has loaded a certain dll...
So what?
by PoorMan
Wed Oct 18, 2023 5:58 pm
Forum: Coding Questions
Topic: Search Memory Pattern
Replies: 8
Views: 1179

Re: Search Memory Pattern

Mr. NicTheQuick,
I believe you are much more polite than other members.
Forget about my request, I already solved it by myself.
I was asking about the comparison statement in my code (it's one line ONLY!), and then, a "very clever guy" tell you, go & read the reference!!!
It's really Shame!
by PoorMan
Wed Oct 18, 2023 5:49 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

Forget about my image Mr. "virtual machine"
I've solved the issue by myself!
by PoorMan
Tue Oct 17, 2023 9:07 pm
Forum: Coding Questions
Topic: Search Memory Pattern
Replies: 8
Views: 1179

Re: Search Memory Pattern

With such great Assistance, now everyone will buy PB before going to sleep!
:oops:
by PoorMan
Tue Oct 17, 2023 8:59 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

virtual machin .. !
Nor in my dreams, I expected to find a GENIUS same as you in this form!
by PoorMan
Mon Oct 16, 2023 9:02 am
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

Gents,
Sorry for the confusion. I'll explain the issue in detail.
Game is big so I created an alternative sample code, were you can get the 'Correct MessageBox' if you enter " I_Love_PB ".

If InputRequester("PoorMan", "Enter Password:", "") = "I_Love_PB"
MessageRequester("", "Password is Correct ...
by PoorMan
Sun Oct 15, 2023 9:03 pm
Forum: Coding Questions
Topic: Search Memory Pattern
Replies: 8
Views: 1179

Re: Search Memory Pattern

Dear Olli : Thanks for the link, however I couldn't make use of it.
Dear infratec : I tried to recode as you advised, but again stuck in the 'Comparison' logic between "MemOrg" & the "Pattern":

Procedure FindPattern (Pattern.s)
PatternLen = Len(Pattern)
hModule = GetModuleHandle_(0) ; Working ...
by PoorMan
Sun Oct 15, 2023 6:25 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

Gents, infratec & yuki,
Thank you for your swift responses..

infratec : ASM is working, but you removed the FileSeek function ( because it doesn't work with Memory ) without an alternative way to position the pointer over required location (lpBaseAddress) before changing EAX Register.

yuki : You ...
by PoorMan
Sat Oct 14, 2023 10:41 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

Hi Olli
Thank you for your reply & Advice.
Please note:
1- How can I set the Register EAX to 9 in your code? I didn't get it!
2- I tried to use it in the following DLL Code, but it gave an error:

ProcedureDLL DoASM()

Protected hModule = GetModuleHandle_(0)
Protected lpBaseAddress = hModule ...
by PoorMan
Sat Oct 14, 2023 6:32 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Re: Using 'FileSeek' and 'Inline ASM' in Memory?

; Hi, thank you for your response.
; Done as you said, but didn't work (Eax register is not changed))

EnableExplicit

Procedure.i DoASM()

hModule = GetModuleHandle_(0)
lpBaseAddress = hModule + $111F

FileSeek(0, lpBaseAddress)

EnableASM
MOV EAX, 01
DisableASM

EndProcedure ...
by PoorMan
Sat Oct 14, 2023 3:34 pm
Forum: Coding Questions
Topic: Using 'FileSeek' and 'Inline ASM' in Memory?
Replies: 21
Views: 3199

Using 'FileSeek' and 'Inline ASM' in Memory?

; Hello PB Team
; I'm using FileSeek to move the Pointer to a new location in the 'Current Process Memory'
; Then at that location I'm trying to change EAX value, but this didn't work!
; Please advise?

Procedure.i DoASM()

hModule = GetModuleHandle_(0) ; Get the Current Process Handle ...
by PoorMan
Sat Oct 14, 2023 3:16 pm
Forum: Coding Questions
Topic: Search Memory Pattern
Replies: 8
Views: 1179

Search Memory Pattern

; Hello team
; I'm trying to search the Current Process Memory for a certain pattern.
; I'm trying since yeasterday PeekS & PeekL to do the comparsion but both didn't work.
; Pease help.

Procedure SearchMemoryPattern()
Pattern.s = "E821C2000085C0741B" ; Pattern to search in Memory

hModule ...