Search found 4 matches

by Smitis
Tue Jul 09, 2024 9:58 am
Forum: Coding Questions
Topic: [Solved]Simple DLL inject problem
Replies: 8
Views: 1613

Re: Simple DLL inject problem

Could there be a mistake in this:
len(testo) - length in symbols
AllocateMemory(lun) - length in bytes
Plus need two more bytes for terminate zero symbol.

It's better to do this:
*testo = AllocateMemory(StringByteLength(testo)+SizeOf(Character))
by Smitis
Wed Apr 24, 2024 7:18 pm
Forum: Announcement
Topic: PureBasic 6.10 LTS is out !
Replies: 344
Views: 107766

Re: PureBasic 6.10 LTS is out !

Please stop reporting an increase in filesize when using PB 6.10+...this is exhausting! It was discussed in this thread and a dozen other threads. JUST STOP ALREADY!
Sorry, but this does not solve the problem - my dlls have increased by more than 10 times!
by Smitis
Fri Mar 15, 2024 2:55 pm
Forum: The PureBasic Editor
Topic: Visible compiler directives
Replies: 2
Views: 2488

Re: Visible compiler directives

And reload ALL settings after completing the work tool with option "Reload Source after tool has quit"
by Smitis
Sat Dec 30, 2023 8:37 pm
Forum: Coding Questions
Topic: Can DLL produce a message after loading executable?
Replies: 11
Views: 1741

Re: Can DLL produce a message after loading executable?

Maya wrote: Thu Dec 28, 2023 7:30 pm Is it possible for attached DLL, to wait for an Executable window, then after that, generates "Hello World" Message?
Use SetWinEventHook from AttachProcess and track the creation of windows

Code: Select all

hCBTHook = SetWindowsHookEx_(#WH_CBT,@CBTProc(),#Null,GetCurrentThreadId_())