Skip to content

Rpc#1205

Draft
MattOttawa wants to merge 82 commits intocaveman2cosmos:masterfrom
MattOttawa:RPC2
Draft

Rpc#1205
MattOttawa wants to merge 82 commits intocaveman2cosmos:masterfrom
MattOttawa:RPC2

Conversation

@MattOttawa
Copy link
Copy Markdown
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 and others added 26 commits January 24, 2022 16:03
[pull] master from caveman2cosmos:master
@MattOttawa
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

None yet

Development

Successfully merging this pull request may close these issues.

3 participants