Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rpc #1205

Draft
wants to merge 82 commits into
base: master
Choose a base branch
from
Draft

Rpc #1205

wants to merge 82 commits into from

Conversation

MattOttawa
Copy link
Member

No description provided.

@github-actions github-actions bot added the dll A C++ issue label Oct 23, 2021
@MattOttawa MattOttawa added the help wanted Extra attention is needed label Oct 31, 2021
@MattOttawa MattOttawa added this to In progress in Memory Usage Optimization via automation Jan 9, 2022
MattOttawa and others added 26 commits January 24, 2022 16:03
[pull] master from caveman2cosmos:master
@MattOttawa
Copy link
Member Author

MattOttawa commented Mar 3, 2022

I've added a new exe to run a second process.
There are multiple ways to create IPC (inter process communication) that allows one process to call another.
I used RPC (remote process call) (recommended by Overmind).

.idl files are parsed by MIDL compiler which will generate one .h and two .c files for each .idl file.
The generated files are included + compiled in the dll and exe.
VS does all the generating and compiling automatically. We just need to write .idl files.
https://docs.microsoft.com/en-us/windows/win32/midl/interface-definition-idl-file
https://docs.microsoft.com/en-us/cpp/windows/attributes/idl-attributes?view=msvc-170

@MattOttawa MattOttawa added the enhancement New feature or request label Jan 26, 2023
@MattOttawa2
Copy link
Contributor

My dream is to move all the current code to the new process.
Then the old dll would have classes and functions that match the DllExports (and maybe the python calls) to bounce calls between the new process and the old exe.

@Toffer90
Copy link
Contributor

My dream is to move all the current code to the new process. Then the old dll would have classes and functions that match the DllExports (and maybe the python calls) to bounce calls between the new process and the old exe.

It's a great dream, a dream we share. ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dll A C++ issue enhancement New feature or request help wanted Extra attention is needed
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants