I need to create a form (using CreateWindow functions) without any help from the VCL (or any visual control) only using the Windows API.
Th
I know that MadExcept uses straight WinAPI to build its exception dialog box, because it has to be able to display it from other threads than the main one, and the VCL can't do that. MadExcept is free, but unfortunately the code to it is not. But it's not too expensive either. So that could be one source of code to study, if you have it. (And if you don't, you should at least take a look at it. It's the next best thing to actually being able to connect a debugger to a user's system when an error occurs.)