I'm working on a modification I need to GDI+ with a specific use case that requires me to pass a command line argument I've added to obs.exe to the GDI+ plugin. As a pre existing example, if i wanted to pass "bool portable_mode" from obs-app.cpp to obs-text.cpp, would this be possible?. I'm not a seasoned programmer but I don't expect a detailed answer, just a point in the right direction would be appreciated. I've tried the basic method of adding the variable to the header and including the header in the second file, but with the two cpp files existing as different projects in the solution, it doesn't appear to be that simple.
Any help would be appreciated, Thanks!
Any help would be appreciated, Thanks!