title: Can I throw C++ exceptions from legacy C callbacks?
body: <p>I have C++ code that uses some C libraries. The C libraries take C language callbacks. I wrote a callback in my C++ code and now I somehow need to report error from it (but it returns void). I wonder if I can throw an exception from a C callback that is used from C++ code?</p>
  
  <p>This is very difficult for me to understand.</p>
  
  <p>Thanks, Boda Cydo.</p>