The program itself is running now (only gray empty screen) but once I try to close it, it crashes. I tracked down the problem to
framework.close_framework();
which will result in
Unhandled exception at 0x00c0fba7 in TestProject C++ with PhysX.exe: 0xC0000005: Access violation writing location 0x0000000a.
Since I am doing nothing but opening the window, running the (empty) main loop and then closing it again, I can’t see a reason as to why it is crashing.