Replies: 3 comments 1 reply
-
This is a library that is meant to be integrated into another application. Teaching how to do that from the ground would be a huge undertaking (without knowing your skill level or anything). What I can do is point you to the implementation PR for Sunshine: LizardByte/Sunshine#2894 And the docs: https://docs.lizardbyte.dev/projects/libdisplaydevice/master/ |
Beta Was this translation helpful? Give feedback.
-
I think I could get started with it if there were an example how to include the library and how to execute a function like EnumAvailableDevices. At the moment I can read the docs but without such an example it would be hard to begin with. On the other hand I also could use the test_libdisplaydevice.exe which also outputs results but also adds some lines of gtest debug infos so the output needs to be cleaned parsing it to get a proper json string. Could you implement an example code or do you already have an example source code in your projects? Thank you for more infos about that. |
Beta Was this translation helpful? Give feedback.
-
I got something out of it now and could solve it. I also had to find out how to set the logging level so the output now prints clean json. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
How could I create a tool (exe) for Windows which will output the same as this TEST_F_S(EnumAvailableDevices) function here https://github.com/LizardByte/libdisplaydevice/blob/48ca85e8e7c3c01fef5db7f0befced7ea21d6238/tests/unit/windows/test_win_playground.cpp#L49
This code creates a gtest exe but I want to do it with a normal exe which runs the function in a int main(int argc, char** argv) { } function.
Beta Was this translation helpful? Give feedback.
All reactions