CSharp sample crashes at myView()->SetWindow(aWNTWindow);

Submitted by Philipp Schneeberger on 5 September, 2016 - 08:49
Forums:
Hello
I am using vc14 and win64. The CSharp WinForms sample crashes (after a successful build) at "myView()->SetWindow(aWNTWindow);" in OCCTProxy.cpp with the following message:
Exception thrown: 'System.Runtime.InteropServices.SEHException' in OCCTProxy.dll
The program '[9456] IE_WinForms.vshost.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.
Any idea on what may cause the problem? Thank you.
Regards
Philipp