The first window an application creates is typically the main window. You create the main window by using the CreateWindowEx function, specifying the window class, window name, window styles, size, ...
Windows applications, including .NET applications that use Windows Forms or Windows Presentation Foundation (WPF), create their windows by calling the CreateWindowExA or CreateWindowExW functions.
To create a scroll bar control using the [**CreateWindow**](/windows/desktop/api/winuser/nf-winuser-createwindowa) or [**CreateWindowEx**](/windows/desktop/api ...
After some tests I can clarify the problem:<BR><BR>When trying to run stand-alone I get this:<BR><BR>Unhandled exception at 0x77d50387 in {appname}.exe: 0xC0000005: Access violation reading location ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results