   How To: DirectX in an IDL
  Ok, So I did some searching on the web and could find almost nothing on how to include DirectX headers in an IDL. I finally found some stuff buried in an unrelated thread, and thought I would post it here. Both for myself for future reference and for others sakes.Correct me if I am wrong, or if there is a better way to do this.At the top of my IDL, I had to put the following after my other imports...cpp_quote("#ifdef __cplusplus")cpp_quote("}")cpp_quote("#endif")cpp_quote("#include <d3d9.h>")cpp_quote("#include <d3dx9.h>")cpp_quote("#ifdef __cplusplus")cpp_quote("extern \"C\"{")cpp_quote("#endif")   