This project creates a window that accesses your laptops camera. It's a very simple project because it was meant to address a problem that I was having with OBS. For creating the .exe InnoSetup was used.
C, SDL3, Visual Studio
2026-05-27.22-50-40.mp4
i was getting this error when opening exe on diffrent laptop the code execution cannot proceed because Ucrtbased.dll was not found. realised reason for this was that I compiled project in Debug Mode in Visual Studio. In Debug Mode this dependency is used Ucrtbased.dll. This dependencies isnt installed by default on windows machines which is why the error was caused. In order to fix this issue you need to switch to Release. In Release ucrt.dll is used which is found by default on all windows machines.
and rebuild solution
This should have created a Release folder where the new exe will be present. Use this new exe file to compile the exe for distribution.
https://www.youtube.com/watch?v=nvDLBM0l7nA
https://www.youtube.com/watch?v=l1p2GQxcP54
https://discourse.libsdl.org/t/creating-an-easily-distributable-executable-file/24413/2
https://wiki.libsdl.org/SDL3/SDL_SetWindowAlwaysOnTop
https://wiki.libsdl.org/SDL3/SDL_SetWindowResizable
https://stackoverflow.com/questions/79386427/resizing-a-borderless-window-is-not-working-in-sdl3