Search found 11 matches

by abalonge
Wed Mar 31, 2021 6:47 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: Fastest way to IPC from a DLL to an EXE

Thanks for all your help, madshi & iconic
by abalonge
Wed Mar 31, 2021 4:23 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: Fastest way to IPC from a DLL to an EXE

Yes, both are in the same thread. I will test in different ways, that makes sense.
by abalonge
Wed Mar 31, 2021 3:44 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: Fastest way to IPC from a DLL to an EXE

I will not using this in a service or a thread. I have added PostMessage to my testing application and it came in slower than SendMessage. Results: Calling PostMessage X 5000000 9.199 seconds for PostMessage Calling SendMessage X 5000000 1.594 seconds for SendMessage Calling callback X 5000000 0.250...
by abalonge
Wed Mar 31, 2021 2:52 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: inter-process callback possible?

@iconic, You are correct as far as my rewording is concerned..and I have updated the title :) Your thoughts, nevertheless were interesting.
by abalonge
Wed Mar 31, 2021 3:44 am
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: inter-process callback possible?

Thanks. I reworded my question, if it is not clear please ask whatever.
by abalonge
Wed Mar 31, 2021 3:17 am
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: inter-process callback possible?

@madshi - When I said I used IPC in a test to replace the callback, it was not to make my EXE's code available to another process but to accomplish the end goal in a different way...which you are correct, I will reword my original post and explain the purpose instead. @iconic - Unfortunately, I foun...
by abalonge
Tue Mar 30, 2021 4:02 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: inter-process callback possible?

I'm thinking of replacing the callback with a madCodeHook IPC Message or a Windows IPC Message. I did a test with that and it works well, but I was wanting to use a callback because it would execute faster in my case.
by abalonge
Tue Mar 30, 2021 3:37 pm
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Re: inter-process callback possible?

@iconic - I'll think on that idea.
@madshi - Yes an EXE. That seperation of process code can be inconvenient in my case.
by abalonge
Tue Mar 30, 2021 4:32 am
Forum: madCodeHook
Topic: Fastest way to IPC from a DLL to an EXE
Replies: 23
Views: 23504

Fastest way to IPC from a DLL to an EXE

I have an EXE that I have written in Delphi which calls a DLL which I have also written in Delphi. This DLL is also loaded by an interpreted language which can not use pointers or addresses (ie, can not pass the address of a function or assign a pointer to a variable) in it's script language. When t...
by abalonge
Mon Mar 15, 2021 1:00 pm
Forum: madCodeHook
Topic: Calling a procedure with a return address?
Replies: 2
Views: 6061

Re: Calling a procedure with a return address?

Ok, thank you for your thoughts on the matter, they sound reasonable to me.
by abalonge
Sun Mar 14, 2021 2:24 am
Forum: madCodeHook
Topic: Calling a procedure with a return address?
Replies: 2
Views: 6061

Calling a procedure with a return address?

I use madCodeHook for a number of uses, but I have a problem that is out of my experience. Does anyone know how I could call function from a DLL that is loaded by a program that can not pass function addresses or export functions due to limitations of the language? The idea I have so far is to have ...