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

How to Make This Codebase Work for C++ Users #331

Open
lxfater opened this issue Dec 3, 2024 · 1 comment
Open

How to Make This Codebase Work for C++ Users #331

lxfater opened this issue Dec 3, 2024 · 1 comment

Comments

@lxfater
Copy link

lxfater commented Dec 3, 2024

Currently, this codebase is written and designed to work with C#, but there is interest in adapting or extending it to be usable within C++ projects.

@sskodje
Copy link
Owner

sskodje commented Dec 9, 2024

The solution has two projects, ScreenRecorderLib and ScreenRecorderLibNative. All the base recorder functionality is in the native project, while the ScreenRecorderLib project functions as a managed interop layer, written in c++/CLI. Technically you could just link the native project in an existing native c++ application and call it directly, as the managed ScreenRecorderLib project does. To get complete functionality same as the managed project however, you would need to recreate the missing convenience functions, callsbacks etc it in native code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants