<div dir="ltr">I am using vlc as a sub component in an application and have a UI screen in the qt4 dialogs which needs to pass a c string to the playlist thread.<div><br></div><div style>If i try placing it in some common header file, i get compilation errors of multiple inclusions.</div>
<div style><br></div><div style>If i create the c string in the playlist thread file, and use an extern to access it in qt gui, i get to compile successfully. But it fails to load UI by saying "no suitable dialog found to load" (just removing this shared field or making it static i.e. local to file / class runs the UI fine.</div>
<div style><br></div><div style>What is the correct way of sharing data between the two?</div><div style><br></div><div style>Thanks,</div><div style>Fayyaz</div></div>