DragonflightDesign
Resource contributor
- Messages
- 1,369
- Country

I've finally been dragged into this rabbit hole...
programming WASM. Apart from the errors in the gauges.h file, the first serious problem I ended up butting my head against is the seeming inability to access windows.h etc. to port over some of the ease-of-use functions I created for P3D. I tried adding the paths to the various SDK folders using the Additional Include Directories field and also the VC++ Directories Property Page but the more I chased the resulting 'can't find x.h file', the more errors appeared as I did add the include path to whichever Windows SDK .h file it was. Is this something to do with the WASM sandbox or something to do with the MSFS SDK simply not letting me do it? Is there any way around it? An example list of the headers that I can not access:
#include <windows.h>
#include <shlobj.h>
#include <io.h>
#include <initguid.h>
#include <tchar.h>
#include <strsafe.h>
#include <sdkddkver.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <oaidl.h>
#include <atlbase.h>
#include <windows.h>
#include <shlobj.h>
#include <io.h>
#include <initguid.h>
#include <tchar.h>
#include <strsafe.h>
#include <sdkddkver.h>
#include <shlobj.h>
#include <shlwapi.h>
#include <oaidl.h>
#include <atlbase.h>



