Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

pbacelar@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

End of VPN Leasing (Forcepoint VPN)

WinSCP 6.1.2

Error message:
Error creating window device context

Trace de la pile :
(003F974A) Vcl::Controls::TWinControl::GetDeviceContext
(00399831) Vcl::Graphics::TCanvas::RequiredState
(00E7B5CD) TMessageForm::ReadState
(0020082A) System::Classes::TStream::ReadComponent
(001F626F) System::Classes::_17089
(001F7BC3) System::Classes::_17116
(001F7C51) System::Classes::InitInheritedComponent
(003AF876) Vcl::Forms::TCustomForm::TCustomForm
(00004E16) Vcl::Forms::TForm::TForm
(00E783CA) TMessageForm::TMessageForm
(00463EEC) Pastools::Construct
(00E7EE95) CreateMoreMessageDialog
(00102BA7) CreateMessageDialogEx
(001034B0) CreateMoreMessageDialogEx
(0010362E) MoreMessageDialog
(0010517C) ExceptionMessageDialog
(000CF629) ShowExtendedExceptionEx
(00024F78) TCustomScpExplorerForm::ShowExtendedException
(000BFBF9) TTerminalManager::TerminalShowExtendedException
(00DFB408) TTerminal::ShowExtendedException
(003BAB22) Vcl::Forms::TApplication::HandleException
(0011778E) Execute
(000027EF) wWinMain
(01001DFD) C5951_0
(0006AD39) ntdll.dll
(0006ACBA) ntdll.dll

The problem happens rarely. I cannot reproduce it.
jerry.prodoehl@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 6.1.1

Error message:
Error creating window device context

Stack trace:
(003F8E96) Vcl::Controls::TWinControl::GetDeviceContext
(00398F7D) Vcl::Graphics::TCanvas::RequiredState
(00E7AD0D) TMessageForm::ReadState
(001FFF76) System::Classes::TStream::ReadComponent
(001F59BB) System::Classes::_17089
(001F730F) System::Classes::_17116
(001F739D) System::Classes::InitInheritedComponent
(003AEFC2) Vcl::Forms::TCustomForm::TCustomForm
(00004E16) Vcl::Forms::TForm::TForm
(00E77B0A) TMessageForm::TMessageForm
(00463638) Pastools::Construct
(00E7E5D5) CreateMoreMessageDialog
(001022F3) CreateMessageDialogEx
(00102BFC) CreateMoreMessageDialogEx
(00102D7A) MoreMessageDialog
(001048C8) ExceptionMessageDialog
(000CED75) ShowExtendedExceptionEx
(00024F78) TCustomScpExplorerForm::ShowExtendedException
(000BF345) TTerminalManager::TerminalShowExtendedException
(00DFAB48) TTerminal::ShowExtendedException
(003BA26E) Vcl::Forms::TApplication::HandleException
(00116EDA) Execute
(000027EF) wWinMain
(01001521) C5951_0
(00066C6C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066C39) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
juandamb477@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 6.1.1

Error message:
Error creating window device context

Rastreo de la pila:
(003F8E96) Vcl::Controls::TWinControl::GetDeviceContext
(00398F7D) Vcl::Graphics::TCanvas::RequiredState
(00E7AD0D) TMessageForm::ReadState
(001FFF76) System::Classes::TStream::ReadComponent
(001F59BB) System::Classes::_17089
(001F730F) System::Classes::_17116
(001F739D) System::Classes::InitInheritedComponent
(003AEFC2) Vcl::Forms::TCustomForm::TCustomForm
(00004E16) Vcl::Forms::TForm::TForm
(00E77B0A) TMessageForm::TMessageForm
(00463638) Pastools::Construct
(00E7E5D5) CreateMoreMessageDialog
(001022F3) CreateMessageDialogEx
(00102BFC) CreateMoreMessageDialogEx
(00102D7A) MoreMessageDialog
(001048C8) ExceptionMessageDialog
(000CED75) ShowExtendedExceptionEx
(00024F78) TCustomScpExplorerForm::ShowExtendedException
(000BF345) TTerminalManager::TerminalShowExtendedException
(00DFAB48) TTerminal::ShowExtendedException
(003BA26E) Vcl::Forms::TApplication::HandleException
(003B9DFB) Vcl::Forms::TApplication::HandleMessage
(00E71674) TLoginDialog::Execute
(0010E764) GetLoginData
(000C116D) TTerminalManager::NewSession
(0001BD8E) TCustomScpExplorerForm::NewSession
(0001BDD7) TCustomScpExplorerForm::NewTab
(00057C46) TScpCommanderForm::NewTab
(0002408B) TCustomScpExplorerForm::SessionTabSwitched
(00024108) TCustomScpExplorerForm::SessionsPageControlChange
(00422B55) Vcl::Comctrls::TCustomTabControl::Change
(003F62DD) Vcl::Controls::TWinControl::WndProc
(003F13D4) Vcl::Controls::TControl::Perform
(003F6443) Vcl::Controls::_17076
(003F62DD) Vcl::Controls::TWinControl::WndProc
(003B07EC) Vcl::Forms::TCustomForm::WndProc

The problem happens rarely. I cannot reproduce it.
ayushi.kumari@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.21.7

Error message:
Error creating window device context

Stack trace:
(00285076) Vcl::Controls::TWinControl::GetDeviceContext
(002250DD) Vcl::Graphics::TCanvas::RequiredState
(00E58B2F) TMessageForm::Create
(00E5B4E5) CreateMoreMessageDialog
(000F641B) CreateMessageDialogEx
(000F6D24) CreateMoreMessageDialogEx
(000F6EA2) MoreMessageDialog
(000F89F0) ExceptionMessageDialog
(000C3C98) ShowExtendedExceptionEx
(00023448) TCustomScpExplorerForm::ShowExtendedException
(000B4F19) TTerminalManager::TerminalShowExtendedException
(00DDBF08) TTerminal::ShowExtendedException
(00246406) Vcl::Forms::TApplication::HandleException
(00E50103) TLoginDialog::Dispatch
(002824BD) Vcl::Controls::TWinControl::WndProc
(0023C984) Vcl::Forms::TCustomForm::WndProc
(00E95E10) Vclcommon::C3109_0

The problem happens rarely. I cannot reproduce it.
rick.mabry@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>

I have a multi-tab WinSCP session active all the time. I leave it "running" even when I am not using it for long periods of time, so it lasts through many daily *hibernations* of Windows (11), in this case it was at least two weeks. The only unusual aspect of this issue is that it occurred (well) after Windows started bugging me about restarting in order to set some pending Windows updates. I still hadn't done the updating when this happened. I think it's just a one-hit wonder.

The rest below was automatically filled in by WinSCP:

<If relevant, consider attaching a session log file or a screenshot)>
WinSCP 6.1.1

Error message:
Error creating window device context

Stack trace:
(003F8E96) Vcl::Controls::TWinControl::GetDeviceContext
(00398F7D) Vcl::Graphics::TCanvas::RequiredState
(00E7AD0D) TMessageForm::ReadState
(001FFF76) System::Classes::TStream::ReadComponent
(001F59BB) System::Classes::_17089
(001F730F) System::Classes::_17116
(001F739D) System::Classes::InitInheritedComponent
(003AEFC2) Vcl::Forms::TCustomForm::TCustomForm
(00004E16) Vcl::Forms::TForm::TForm
(00E77B0A) TMessageForm::TMessageForm
(00463638) Pastools::Construct
(00E7E5D5) CreateMoreMessageDialog
(001022F3) CreateMessageDialogEx
(00102BFC) CreateMoreMessageDialogEx
(00102D7A) MoreMessageDialog
(001048C8) ExceptionMessageDialog
(000CED75) ShowExtendedExceptionEx
(00024F78) TCustomScpExplorerForm::ShowExtendedException
(000BF345) TTerminalManager::TerminalShowExtendedException
(00DFAB48) TTerminal::ShowExtendedException
(003BA26E) Vcl::Forms::TApplication::HandleException
(00116EDA) Execute
(000027EF) wWinMain
(01001521) C5951_0
(00067F9D) ntdll.dll
(00067F68) ntdll.dll

The problem happens rarely. I cannot reproduce it.
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

@claresetx: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
claresetx@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.21.8

Error message:
Error creating window device context

Stack trace:
(00285076) Vcl::Controls::TWinControl::GetDeviceContext
(002250DD) Vcl::Graphics::TCanvas::RequiredState
(00E5A84F) TMessageForm::Create
(00E5D205) CreateMoreMessageDialog
(000F641B) CreateMessageDialogEx
(000F6D24) CreateMoreMessageDialogEx
(000F6EA2) MoreMessageDialog
(000F89F0) ExceptionMessageDialog
(000C3C98) ShowExtendedExceptionEx
(00023448) TCustomScpExplorerForm::ShowExtendedException
(000B4F19) TTerminalManager::TerminalShowExtendedException
(00DDDC28) TTerminal::ShowExtendedException
(00246406) Vcl::Forms::TApplication::HandleException
(00E51E23) TLoginDialog::Dispatch
(002824BD) Vcl::Controls::TWinControl::WndProc
(0023C984) Vcl::Forms::TCustomForm::WndProc
(00E97B30) Vclcommon::C3111_0

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

@1172480053: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
1172480053@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 6.0

Error message:
Error creating window device context

Stack trace:
(003F7B0A) Vcl::Controls::TWinControl::GetDeviceContext
(00397BF1) Vcl::Graphics::TCanvas::RequiredState
(00E7AE25) TMessageForm::ReadState
(001FEBEA) System::Classes::TStream::ReadComponent
(001F462F) System::Classes::_17089
(001F5F83) System::Classes::_17116
(001F6011) System::Classes::InitInheritedComponent
(003ADC36) Vcl::Forms::TCustomForm::TCustomForm
(00004DF2) Vcl::Forms::TForm::TForm
(00E77C22) TMessageForm::TMessageForm
(00462654) Pastools::Construct
(00E7E6ED) CreateMoreMessageDialog
(00100EDB) CreateMessageDialogEx
(001017E4) CreateMoreMessageDialogEx
(00101962) MoreMessageDialog
(001034B0) ExceptionMessageDialog
(000CDCE2) ShowExtendedExceptionEx
(00024830) TCustomScpExplorerForm::ShowExtendedException
(000BE409) TTerminalManager::TerminalShowExtendedException
(00DFAF7C) TTerminal::ShowExtendedException
(003B8EE2) Vcl::Forms::TApplication::HandleException
(00115B51) Execute
(000027EE) wWinMain
(01001499) __wstartup
(00038810) ntdll.dll
(000387E0) ntdll.dll

(003F7B0A) Vcl::Controls::TWinControl::GetDeviceContext
(003ED053) Vcl::Controls::TControlCanvas::CreateHandle
(00397BF1) Vcl::Graphics::TCanvas::RequiredState
(0046F26F) Pathlabel::TCustomPathLabel::AdjustBounds
(003582C0) Vcl::Stdctrls::TCustomLabel::CMTextChanged
(003F0048) Vcl::Controls::TControl::Perform
(003EDEA1) Vcl::Controls::TControl::SetTextBuf
(00C938DC) T

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
clundgren@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.19.3

Error message:
Error creating window device context

Stack trace:
(00282ECE) Vcl::Controls::TWinControl::GetDeviceContext
(00222F35) Vcl::Graphics::TCanvas::RequiredState
(00E3F461) TMessageForm::ReadState
(003B30A2) System::Classes::TStream::ReadComponent
(003A8AE7) System::Classes::_17089
(003AA43B) System::Classes::_17116
(003AA4C9) System::Classes::InitInheritedComponent
(00238FB2) Vcl::Forms::TCustomForm::TCustomForm
(000045BA) Vcl::Forms::TForm::TForm
(00E3C226) TMessageForm::TMessageForm
(004526FC) Pastools::Construct
(00E42D35) CreateMoreMessageDialog
(000F4953) CreateMessageDialogEx
(000F51C4) CreateMoreMessageDialogEx
(000F533E) MoreMessageDialog
(000F6E8C) ExceptionMessageDialog
(000C2BC8) ShowExtendedExceptionEx
(000C1FFC) ShowExtendedException
(0024425E) Vcl::Forms::TApplication::HandleException
(00E52DD3) TPreferencesDialog::Dispatch
(00280315) Vcl::Controls::TWinControl::WndProc
(0023A7DC) Vcl::Forms::TCustomForm::WndProc
(00E7CA60) Vclcommon::C2990_0

The problem happens rarely. I cannot reproduce it.
shoedeep81@...

How to fix this

[i]i was using KuTools and the excel i used is about to split 720 worksheet
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

@siesta.nitika: Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
siesta.nitika@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.19.2

Error message:
Error creating window device context

Stack trace:
(00282E0E) Vcl::Controls::TWinControl::GetDeviceContext
(00222E75) Vcl::Graphics::TCanvas::RequiredState
(00E39463) TMessageForm::Create
(00E3BE19) CreateMoreMessageDialog
(000F48C7) CreateMessageDialogEx
(000F5138) CreateMoreMessageDialogEx
(000F52B2) MoreMessageDialog
(000F6E00) ExceptionMessageDialog
(000C2B3C) ShowExtendedExceptionEx
(0002235C) TCustomScpExplorerForm::ShowExtendedException
(000B1E65) TTerminalManager::TerminalShowExtendedException
(00DBF9A0) TTerminal::ShowExtendedException
(0024419E) Vcl::Forms::TApplication::HandleException
(003C79D8) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167CE) USER32.dll
(00016895) USER32.dll.DispatchMessageW

(00FBCC7D) C5294_3
(00FBE257) _ReThrowException
(00DBF90D) TTerminal::HandleExtendedException
(00DC2F96) TTerminal::CommandError
(00DC2D29) TTerminal::CommandError
(00DDB760) TTerminal::CopyToLocal
(0001019C) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010C88) TCustomScpExplorerForm::ExecuteFileOperation
(00010E79) TCustomScpExplorerForm::ExecuteFileOperation
(00010EFF) TCustomScpExplorerForm::ExecuteFileOperationCommand
(00011086) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(00046EE8) TNonVisualDataModule::ExplorerActionsExecute
(0040B3D8) System::Actions::TContainedActionList::ExecuteAction
(001CD4C5) Vcl::Actnlist::TCustomAction::Execute
(003C79D8) System::Classes::_18201
(000152F7) USER32.dll%

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
cogitospb@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

All you need to reproduce is to click tab "New Session". No more.
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.17.10

Error message:
Error creating window device context

Stack trace:
(0027D8CE) Vcl::Controls::TWinControl::GetDeviceContext
(0021D935) Vcl::Graphics::TCanvas::RequiredState
(00E077BB) TMessageForm::Create
(00E0A0DD) CreateMoreMessageDialog
(000EF7D3) CreateMessageDialogEx
(000F0044) CreateMoreMessageDialogEx
(000F01BE) MoreMessageDialog
(000F1D0C) ExceptionMessageDialog
(000BE458) ShowExtendedExceptionEx
(00021D34) TCustomScpExplorerForm::ShowExtendedException
(000AD949) TTerminalManager::TerminalShowExtendedException
(00D8E974) TTerminal::ShowExtendedException
(0023EC5E) Vcl::Forms::TApplication::HandleException
(00DFF098) TLoginDialog::Dispatch
(0027AD15) Vcl::Controls::TWinControl::WndProc
(002351DC) Vcl::Forms::TCustomForm::WndProc
(00E43880) Vclcommon::C2992_0

The problem happens rarely. I cannot reproduce it.
anindamazumdar@...

Copying files to remote side failed - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.17.10

Error message:
Copying files to remote side failed.

Error creating window device context

Stack trace:
(0027D8CE) Vcl::Controls::TWinControl::GetDeviceContext
(0021D935) Vcl::Graphics::TCanvas::RequiredState
(00E077BB) TMessageForm::Create
(00E0A0DD) CreateMoreMessageDialog
(000EF7D3) CreateMessageDialogEx
(000F0044) CreateMoreMessageDialogEx
(000F01BE) MoreMessageDialog
(000F1D0C) ExceptionMessageDialog
(000BE458) ShowExtendedExceptionEx
(00021D34) TCustomScpExplorerForm::ShowExtendedException
(000AD949) TTerminalManager::TerminalShowExtendedException
(00D8E974) TTerminal::ShowExtendedException
(0023EC5E) Vcl::Forms::TApplication::HandleException
(003A5978) System::Classes::_18201
(00044CA9) USER32.dll
(000357B7) USER32.dll
(000348F6) USER32.dll
(000346CB) USER32.dll.DispatchMessageW

(00F8A7A5) C5296_0
(00F8BD7F) _ReThrowException
(00D8DF76) TTerminal::QueryUser
(00D8E21E) TTerminal::QueryUserException
(00D8F616) TTerminal::DoQueryReopen
(00D8F7A0) TTerminal::QueryReopen
(00D85FF1) TRobustOperationLoop::TryReopen
(00DA86B7) TTerminal::SourceRobust
(00DA84E1) TTerminal::DoCopyToRemote
(00C92CAF) TFTPFileSystem::CopyToRemote
(00DA7F35) TTerminal::CopyToRemote
(0000FC56) TCustomScpExplorerForm::ExecuteCopyMoveFileOperation
(00010848) TCustomScpExplorerForm::ExecuteFileOperation
(00024661) TCustomScpExplorerForm::RemoteFileControlDragDropFileOperation
(000247F9) TCustomScpExplorerForm::RemoteFileControlDDFileOperation
(00C3E30E) TUnixDirView::PerformItemDragDropOperation
(00447CEC) Customdirview::TCustomDirView::DDProcessDropped
(0047CDBB) Dragdrop::TDragDrop::WndMethod
(003A5978) System::Classes::_18201
(00044CA9) USER32.dll
(000357B7) USER32.dll
(000348F6) USER32.dll
(000346CB) USER32.dll.DispatchMessageW

The problem happens rarely. I cannot reproduce it.
LKellyWaters@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.17.10

Error message:
Error creating window device context

Stack trace:
(0027D8CE) Vcl::Controls::TWinControl::GetDeviceContext
(0021D935) Vcl::Graphics::TCanvas::RequiredState
(00E0689D) TMessageForm::ReadState
(00390F82) System::Classes::TStream::ReadComponent
(003869C7) System::Classes::_17089
(0038831B) System::Classes::_17116
(003883A9) System::Classes::InitInheritedComponent
(002339B2) Vcl::Forms::TCustomForm::TCustomForm
(0000448A) Vcl::Forms::TForm::TForm
(00E03662) TMessageForm::TMessageForm
(00430A10) Pastools::Construct
(00E0A0DD) CreateMoreMessageDialog
(000EF7D3) CreateMessageDialogEx
(000F0044) CreateMoreMessageDialogEx
(000F01BE) MoreMessageDialog
(000F1D0C) ExceptionMessageDialog
(000BE458) ShowExtendedExceptionEx
(00021D34) TCustomScpExplorerForm::ShowExtendedException
(000AD949) TTerminalManager::TerminalShowExtendedException
(00D8E974) TTerminal::ShowExtendedException
(0023EC5E) Vcl::Forms::TApplication::HandleException
(001036B5) Execute
(00002658) wWinMain
(00F8814D) __wstartup
(00066C7C) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066C49) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
kovacsa@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.17.5

Error message:
Error creating window device context

Veremkivonat:
(0027C9FE) Vcl::Controls::TWinControl::GetDeviceContext
(0021CA65) Vcl::Graphics::TCanvas::RequiredState
(00E04531) TMessageForm::ReadState
(003900B2) System::Classes::TStream::ReadComponent
(00385AF7) System::Classes::_17089
(0038744B) System::Classes::_17116
(003874D9) System::Classes::InitInheritedComponent
(00232AE2) Vcl::Forms::TCustomForm::TCustomForm
(0000448A) Vcl::Forms::TForm::TForm
(00E012F6) TMessageForm::TMessageForm
(0042FACC) Pastools::Construct
(00E07D71) CreateMoreMessageDialog
(000EEA4F) CreateMessageDialogEx
(000EF2C0) CreateMoreMessageDialogEx
(000EF43A) MoreMessageDialog
(000F0F88) ExceptionMessageDialog
(000F1209) FatalExceptionMessageDialog
(000BD61D) ShowExtendedExceptionEx
(00021CF0) TCustomScpExplorerForm::ShowExtendedException
(000AD6A1) TTerminalManager::TerminalShowExtendedException
(00D8C694) TTerminal::ShowExtendedException
(0023DD8E) Vcl::Forms::TApplication::HandleException
(001027EA) Execute
(00002658) wWinMain
(00F85C91) C5164_0
(000665F2) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000665BF) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
tudor.niculescu@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>

I left WinSCP running over weekend, and some laboratory equipment went down. In the morning, WINSCP crashed
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(00021058) TCustomScpExplorerForm::ShowExtendedException
(000ACD79) TTerminalManager::TerminalShowExtendedException
(008176E4) TTerminal::ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(000656DB) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000656A8) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
bbrancke@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

WinSCP was behind other windows (but connected), I clicked on it and this message appeared.


WinSCP 5.17.5

Error message:
Error creating window device context

Stack trace:
(0027C9FE) Vcl::Controls::TWinControl::GetDeviceContext
(0021CA65) Vcl::Graphics::TCanvas::RequiredState
(00E04531) TMessageForm::ReadState
(003900B2) System::Classes::TStream::ReadComponent
(00385AF7) System::Classes::_17089
(0038744B) System::Classes::_17116
(003874D9) System::Classes::InitInheritedComponent
(00232AE2) Vcl::Forms::TCustomForm::TCustomForm
(0000448A) Vcl::Forms::TForm::TForm
(00E012F6) TMessageForm::TMessageForm
(0042FACC) Pastools::Construct
(00E07D71) CreateMoreMessageDialog
(000EEA4F) CreateMessageDialogEx
(000EF2C0) CreateMoreMessageDialogEx
(000EF43A) MoreMessageDialog
(000F0F88) ExceptionMessageDialog
(000BD6A8) ShowExtendedExceptionEx
(00021CF0) TCustomScpExplorerForm::ShowExtendedException
(000AD6A1) TTerminalManager::TerminalShowExtendedException
(00D8C694) TTerminal::ShowExtendedException
(0023DD8E) Vcl::Forms::TApplication::HandleException
(001027EA) Execute
(00002658) wWinMain
(00F85C91) C5164_0
(00066B72) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B3F) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
charles.f.nelson@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(00021058) TCustomScpExplorerForm::ShowExtendedException
(000ACD79) TTerminalManager::TerminalShowExtendedException
(008176E4) TTerminal::ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
ionel-viorel.radu@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(00021058) TCustomScpExplorerForm::ShowExtendedException
(000ACD79) TTerminalManager::TerminalShowExtendedException
(008176E4) TTerminal::ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(000631C6) ntdll.dll.RtlAreBitsSet
(00063193) ntdll.dll.RtlAreBitsSet

The problem happens rarely. I cannot reproduce it.
lukaszmalinowski@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(000BBF30) ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
daltonporter@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(000BBF30) ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(00038810) ntdll.dll
(000387E0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
vellig@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

The server was off and the computer went to sleep. When the PC came out of sleep, the message was on the screen.

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(000BBF30) ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
opi@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

This occurred on a separate windows workstation I was using.

WinSCP 5.15.4

Error message:
Error creating window device context

Stack trace:
(0027BD7E) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDE5) Vcl::Graphics::TCanvas::RequiredState
(0088BB01) TMessageForm::ReadState
(0038F432) System::Classes::TStream::ReadComponent
(00384E77) System::Classes::_17089
(003867CB) System::Classes::_17116
(00386859) System::Classes::InitInheritedComponent
(00231E62) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(008888DA) TMessageForm::TMessageForm
(0042EE7C) Pastools::Construct
(0088F341) CreateMoreMessageDialog
(000EDD5B) CreateMessageDialogEx
(000EE5C8) CreateMoreMessageDialogEx
(000EE79A) MoreMessageDialog
(000F02A0) ExceptionMessageDialog
(000BC8B3) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD39) TTerminalManager::TerminalShowExtendedException
(00817834) TTerminal::ShowExtendedException
(0023D10E) Vcl::Forms::TApplication::HandleException
(00101B77) Execute
(00002664) wWinMain
(009262A9) C5025_0
(00066B72) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B3F) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
opi@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.4

Error message:
Error creating window device context

Stack trace:
(0027BD7E) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDE5) Vcl::Graphics::TCanvas::RequiredState
(0088BB01) TMessageForm::ReadState
(0038F432) System::Classes::TStream::ReadComponent
(00384E77) System::Classes::_17089
(003867CB) System::Classes::_17116
(00386859) System::Classes::InitInheritedComponent
(00231E62) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(008888DA) TMessageForm::TMessageForm
(0042EE7C) Pastools::Construct
(0088F341) CreateMoreMessageDialog
(000EDD5B) CreateMessageDialogEx
(000EE5C8) CreateMoreMessageDialogEx
(000EE79A) MoreMessageDialog
(000F02A0) ExceptionMessageDialog
(000BC8B3) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD39) TTerminalManager::TerminalShowExtendedException
(00817834) TTerminal::ShowExtendedException
(0023D10E) Vcl::Forms::TApplication::HandleException
(00101B77) Execute
(00002664) wWinMain
(009262A9) C5025_0
(00066B72) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B3F) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
adf999@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>
I did nothing, the machine was running came back to it with this message.

WinSCP 5.15.9

Error message:
Error creating window device context

Stack trace:
(0027BDD2) Vcl::Controls::TWinControl::GetDeviceContext
(0021BE39) Vcl::Graphics::TCanvas::RequiredState
(0088B9B9) TMessageForm::ReadState
(0038F486) System::Classes::TStream::ReadComponent
(00384ECB) System::Classes::_17089
(0038681F) System::Classes::_17116
(003868AD) System::Classes::InitInheritedComponent
(00231EB6) Vcl::Forms::TCustomForm::TCustomForm
(00004496) Vcl::Forms::TForm::TForm
(00888792) TMessageForm::TMessageForm
(0042EEBC) Pastools::Construct
(0088F1F9) CreateMoreMessageDialog
(000EDDA7) CreateMessageDialogEx
(000EE614) CreateMoreMessageDialogEx
(000EE7E6) MoreMessageDialog
(000F02EC) ExceptionMessageDialog
(000BC8F3) ShowExtendedExceptionEx
(00021058) TCustomScpExplorerForm::ShowExtendedException
(000ACD79) TTerminalManager::TerminalShowExtendedException
(008176E4) TTerminal::ShowExtendedException
(0023D162) Vcl::Forms::TApplication::HandleException
(00101BCB) Execute
(00002664) wWinMain
(00926161) C5025_0
(00066B72) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00066B3F) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
scott.sancetta@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.3

Error message:
Error creating window device context

Stack trace:
(0027BD56) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDBD) Vcl::Graphics::TCanvas::RequiredState
(0088AFD9) TMessageForm::ReadState
(0038F40A) System::Classes::TStream::ReadComponent
(00384E4F) System::Classes::_17089
(003867A3) System::Classes::_17116
(00386831) System::Classes::InitInheritedComponent
(00231E3A) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(00887DB2) TMessageForm::TMessageForm
(0042EE54) Pastools::Construct
(0088E819) CreateMoreMessageDialog
(000EDD33) CreateMessageDialogEx
(000EE5A0) CreateMoreMessageDialogEx
(000EE772) MoreMessageDialog
(000F0278) ExceptionMessageDialog
(000BC88B) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD11) TTerminalManager::TerminalShowExtendedException
(00816D04) TTerminal::ShowExtendedException
(0023D0E6) Vcl::Forms::TApplication::HandleException
(00101B4F) Execute
(00002664) wWinMain
(00925741) C5025_0
(000631C6) ntdll.dll.RtlAreBitsSet
(00063193) ntdll.dll.RtlAreBitsSet

The problem happens rarely. I cannot reproduce it.
patty.richards@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

I was closing all open windows/applications and saw this error. I do not have any info as to how it was generated.

WinSCP 5.15.3

Error message:
Error creating window device context

Stack trace:
(0027BD56) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDBD) Vcl::Graphics::TCanvas::RequiredState
(0088AFD9) TMessageForm::ReadState
(0038F40A) System::Classes::TStream::ReadComponent
(00384E4F) System::Classes::_17089
(003867A3) System::Classes::_17116
(00386831) System::Classes::InitInheritedComponent
(00231E3A) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(00887DB2) TMessageForm::TMessageForm
(0042EE54) Pastools::Construct
(0088E819) CreateMoreMessageDialog
(000EDD33) CreateMessageDialogEx
(000EE5A0) CreateMoreMessageDialogEx
(000EE772) MoreMessageDialog
(000F0278) ExceptionMessageDialog
(000BC88B) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD11) TTerminalManager::TerminalShowExtendedException
(00816D04) TTerminal::ShowExtendedException
(0023D0E6) Vcl::Forms::TApplication::HandleException
(00101B4F) Execute
(00002664) wWinMain
(00925741) C5025_0
(00064E15) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00064DE2) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
ayspunde@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

IMO low-priority issue:
WinSCP was connected to the remote server, which went down.
Reporting to satisfy WinSCP prompt.


WinSCP 5.15.3

Error message:
Error creating window device context

Stack trace:
(0027BD56) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDBD) Vcl::Graphics::TCanvas::RequiredState
(0088AFD9) TMessageForm::ReadState
(0038F40A) System::Classes::TStream::ReadComponent
(00384E4F) System::Classes::_17089
(003867A3) System::Classes::_17116
(00386831) System::Classes::InitInheritedComponent
(00231E3A) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(00887DB2) TMessageForm::TMessageForm
(0042EE54) Pastools::Construct
(0088E819) CreateMoreMessageDialog
(000EDD33) CreateMessageDialogEx
(000EE5A0) CreateMoreMessageDialogEx
(000EE772) MoreMessageDialog
(000F0278) ExceptionMessageDialog
(000BC88B) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD11) TTerminalManager::TerminalShowExtendedException
(00816D04) TTerminal::ShowExtendedException
(0023D0E6) Vcl::Forms::TApplication::HandleException
(00101B4F) Execute
(00002664) wWinMain
(00925741) C5025_0
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
darin.hitchings.vz@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.3

Error message:
Error creating window device context

Stack trace:
(0027BD56) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDBD) Vcl::Graphics::TCanvas::RequiredState
(0088AFD9) TMessageForm::ReadState
(0038F40A) System::Classes::TStream::ReadComponent
(00384E4F) System::Classes::_17089
(003867A3) System::Classes::_17116
(00386831) System::Classes::InitInheritedComponent
(00231E3A) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(00887DB2) TMessageForm::TMessageForm
(0042EE54) Pastools::Construct
(0088E819) CreateMoreMessageDialog
(000EDD33) CreateMessageDialogEx
(000EE5A0) CreateMoreMessageDialogEx
(000EE772) MoreMessageDialog
(000F0278) ExceptionMessageDialog
(000BC88B) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD11) TTerminalManager::TerminalShowExtendedException
(00816D04) TTerminal::ShowExtendedException
(0023D0E6) Vcl::Forms::TApplication::HandleException
(00101B4F) Execute
(00002664) wWinMain
(00925741) C5025_0
(00064E15) ntdll.dll.RtlGetAppContainerNamedObjectPath
(00064DE2) ntdll.dll.RtlGetAppContainerNamedObjectPath

The problem happens rarely. I cannot reproduce it.
Rick.Borchert@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

I hadn't used the computer for a couple of days. I moved the mouse to wake the screen and found this error dialog.

WinSCP 5.15.3

Error message:
Error creating window device context

Stack trace:
(0027BD56) Vcl::Controls::TWinControl::GetDeviceContext
(0021BDBD) Vcl::Graphics::TCanvas::RequiredState
(0088AFD9) TMessageForm::ReadState
(0038F40A) System::Classes::TStream::ReadComponent
(00384E4F) System::Classes::_17089
(003867A3) System::Classes::_17116
(00386831) System::Classes::InitInheritedComponent
(00231E3A) Vcl::Forms::TCustomForm::TCustomForm
(0000448E) Vcl::Forms::TForm::TForm
(00887DB2) TMessageForm::TMessageForm
(0042EE54) Pastools::Construct
(0088E819) CreateMoreMessageDialog
(000EDD33) CreateMessageDialogEx
(000EE5A0) CreateMoreMessageDialogEx
(000EE772) MoreMessageDialog
(000F0278) ExceptionMessageDialog
(000BC88B) ShowExtendedExceptionEx
(00021044) TCustomScpExplorerForm::ShowExtendedException
(000ACD11) TTerminalManager::TerminalShowExtendedException
(00816D04) TTerminal::ShowExtendedException
(0023D0E6) Vcl::Forms::TApplication::HandleException
(00101B4F) Execute
(00002664) wWinMain
(00925741) C5025_0
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
guy.newell@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Seems to only happen when the remote host disconnects for any reason, eg. reboot, power down, ect.
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.15.1

Error message:
Error creating window device context

Stack trace:
(0027B3C2) Vcl::Controls::TWinControl::GetDeviceContext
(0021B429) Vcl::Graphics::TCanvas::RequiredState
(00889D19) TMessageForm::ReadState
(0038EA76) System::Classes::TStream::ReadComponent
(003844BB) System::Classes::_17089
(00385E0F) System::Classes::_17116
(00385E9D) System::Classes::InitInheritedComponent
(002314A6) Vcl::Forms::TCustomForm::TCustomForm
(00004486) Vcl::Forms::TForm::TForm
(00886B0A) TMessageForm::TMessageForm
(0042E4C0) Pastools::Construct
(0088D559) CreateMoreMessageDialog
(000ED3AB) CreateMessageDialogEx
(000EDC18) CreateMoreMessageDialogEx
(000EDDEA) MoreMessageDialog
(000EF8F0) ExceptionMessageDialog
(000BC39B) ShowExtendedExceptionEx
(000BB9D8) ShowExtendedException
(0023C752) Vcl::Forms::TApplication::HandleException
(001011BB) Execute
(00002664) wWinMain
(009243A5) __wstartup
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
gabri.ns@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

this happen after i left my laptop idle for several days without sleeping or hibernating. i cannot reproduce this error.

WinSCP 5.15.1

Error message:
Error creating window device context

Stack trace:
(0027B3C2)
(0021B429)
(00889D19)
(0038EA76)
(003844BB)
(00385E0F)
(00385E9D)
(002314A6)
(00004486)
(00886B0A)
(0042E4C0)
(0088D559)
(000ED3AB)
(000EDC18)
(000EDDEA)
(000EF8F0)
(000BC39B)
(000AC990)
(00815A80)
(0023C752)
(003A346C)
(000152F7) USER32.dll
(00015D35) USER32.dll
(00015DE3) USER32.dll
(00015E41) USER32.dll
(0000F137) ntdll.dll.KiUserCallbackDispatcher
(00015A87) USER32.dll
(0000FB61)UXTHEME.DLL
(0000FB91)UXTHEME.DLL
(00016294) USER32.dll
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD3A) USER32.dll
(0001FD60) USER32.dll.CallWindowProcW
(0027891A)

The problem happens rarely. I cannot reproduce it.
latanyab@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.14.5

Error message:
Error creating window device context

Stack trace:
(0027B30E) Vcl::Controls::TWinControl::GetDeviceContext
(0021B375) Vcl::Graphics::TCanvas::RequiredState
(00889B21) TMessageForm::ReadState
(0038E9C2) System::Classes::TStream::ReadComponent
(00384407) System::Classes::_17089
(00385D5B) System::Classes::_17116
(00385DE9) System::Classes::InitInheritedComponent
(002313F2) Vcl::Forms::TCustomForm::TCustomForm
(00004486) Vcl::Forms::TForm::TForm
(00886912) TMessageForm::TMessageForm
(0042E40C) Pastools::Construct
(0088D361) CreateMoreMessageDialog
(000ED2F7) CreateMessageDialogEx
(000EDB64) CreateMoreMessageDialogEx
(000EDD36) MoreMessageDialog
(000EF83C) ExceptionMessageDialog
(000BC2E7) ShowExtendedExceptionEx
(000BB924) ShowExtendedException
(0023C69E) Vcl::Forms::TApplication::HandleException
(00101107) Execute
(00002664) wWinMain
(009241AD) __wstartup
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
orso.grigio@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

WinSCP connected to a host through a VPN.
During the night the VPN drops, and in the morning I get (quite regularly) this error.

WinSCP 5.15.1

Error message:
Error creating window device context

Stack trace:
(0027B3C2) Vcl::Controls::TWinControl::GetDeviceContext
(0021B429) Vcl::Graphics::TCanvas::RequiredState
(00889D19) TMessageForm::ReadState
(0038EA76) System::Classes::TStream::ReadComponent
(003844BB) System::Classes::_17089
(00385E0F) System::Classes::_17116
(00385E9D) System::Classes::InitInheritedComponent
(002314A6) Vcl::Forms::TCustomForm::TCustomForm
(00004486) Vcl::Forms::TForm::TForm
(00886B0A) TMessageForm::TMessageForm
(0042E4C0) Pastools::Construct
(0088D559) CreateMoreMessageDialog
(000ED3AB) CreateMessageDialogEx
(000EDC18) CreateMoreMessageDialogEx
(000EDDEA) MoreMessageDialog
(000EF8F0) ExceptionMessageDialog
(000BC39B) ShowExtendedExceptionEx
(00021048) TCustomScpExplorerForm::ShowExtendedException
(000AC985) TTerminalManager::TerminalShowExtendedException
(00815A80) TTerminal::ShowExtendedException
(0023C752) Vcl::Forms::TApplication::HandleException
(001011BB) Execute
(00002664) wWinMain
(009243A5) __wstartup
(0006562B) ntdll.dll.RtlGetAppContainerNamedObjectPath
(000655F8) ntdll.dll.RtlGetAppContainerNamedObjectPath

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
no.email

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Left a long-running transfer overnight and came back to this; I have done a similar process many times before and this is the first time I've seen this crash.

WinSCP 5.13.3

Error message:
Error creating window device context

Stack trace:
(0025DBDE) Vcl::Controls::TWinControl::GetDeviceContext
(001FDC45) Vcl::Graphics::TCanvas::RequiredState
(00827A39) TMessageForm::ReadState
(0036BA32) System::Classes::TStream::ReadComponent
(00361477) System::Classes::_17089
(00362DCB) System::Classes::_17116
(00362E59) System::Classes::InitInheritedComponent
(00213CC2) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(008247C2) TMessageForm::TMessageForm
(00408EB8) Pastools::Construct
(0082B361) CreateMoreMessageDialog
(000D0853) CreateMessageDialogEx
(000D10C0) CreateMoreMessageDialogEx
(000D1292) MoreMessageDialog
(000D2D98) ExceptionMessageDialog
(000A44EF) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097121) TTerminalManager::TerminalShowExtendedException
(007B8328) TTerminal::ShowExtendedException
(0021EF6E) Vcl::Forms::TApplication::HandleException
(000E3A5E) Execute
(000024B4) wWinMain
(008BAA91) C4972_0
(00038800) ntdll.dll
(000387D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
kilijanek@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.4

Error message:
Error creating window device context

Stack trace:
(0025E58E) Vcl::Controls::TWinControl::GetDeviceContext
(001FE5F5) Vcl::Graphics::TCanvas::RequiredState
(00828BB5) TMessageForm::ReadState
(0036C3E2) System::Classes::TStream::ReadComponent
(00361E27) System::Classes::_17089
(0036377B) System::Classes::_17116
(00363809) System::Classes::InitInheritedComponent
(00214672) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(0082593E) TMessageForm::TMessageForm
(004098A0) Pastools::Construct
(0082C4DD) CreateMoreMessageDialog
(000D1203) CreateMessageDialogEx
(000D1A70) CreateMoreMessageDialogEx
(000D1C42) MoreMessageDialog
(000D3748) ExceptionMessageDialog
(000A4D5B) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097969) TTerminalManager::TerminalShowExtendedException
(007B94BC) TTerminal::ShowExtendedException
(0021F91E) Vcl::Forms::TApplication::HandleException
(000E440E) Execute
(000024B4) wWinMain
(008BBCC5) C4972_0
(00059D8D) ntdll.dll
(00059D55) ntdll.dll

The problem happens rarely. I cannot reproduce it.
kilijanek@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.4

Error message:
Error creating window device context

Stack trace:
(0025E58E) Vcl::Controls::TWinControl::GetDeviceContext
(001FE5F5) Vcl::Graphics::TCanvas::RequiredState
(00828BB5) TMessageForm::ReadState
(0036C3E2) System::Classes::TStream::ReadComponent
(00361E27) System::Classes::_17089
(0036377B) System::Classes::_17116
(00363809) System::Classes::InitInheritedComponent
(00214672) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(0082593E) TMessageForm::TMessageForm
(004098A0) Pastools::Construct
(0082C4DD) CreateMoreMessageDialog
(000D1203) CreateMessageDialogEx
(000D1A70) CreateMoreMessageDialogEx
(000D1C42) MoreMessageDialog
(000D3748) ExceptionMessageDialog
(000A4D5B) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097969) TTerminalManager::TerminalShowExtendedException
(007B94BC) TTerminal::ShowExtendedException
(0021F91E) Vcl::Forms::TApplication::HandleException
(000E440E) Execute
(000024B4) wWinMain
(008BBCC5) C4972_0
(00059D8D) ntdll.dll
(00059D55) ntdll.dll

The problem happens rarely. I cannot reproduce it.
kilijanek@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.4

Error message:
Error creating window device context

Stack trace:
(0025E58E) Vcl::Controls::TWinControl::GetDeviceContext
(001FE5F5) Vcl::Graphics::TCanvas::RequiredState
(00828BB5) TMessageForm::ReadState
(0036C3E2) System::Classes::TStream::ReadComponent
(00361E27) System::Classes::_17089
(0036377B) System::Classes::_17116
(00363809) System::Classes::InitInheritedComponent
(00214672) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(0082593E) TMessageForm::TMessageForm
(004098A0) Pastools::Construct
(0082C4DD) CreateMoreMessageDialog
(000D1203) CreateMessageDialogEx
(000D1A70) CreateMoreMessageDialogEx
(000D1C42) MoreMessageDialog
(000D3748) ExceptionMessageDialog
(000A4D5B) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097969) TTerminalManager::TerminalShowExtendedException
(007B94BC) TTerminal::ShowExtendedException
(0021F91E) Vcl::Forms::TApplication::HandleException
(000E440E) Execute
(000024B4) wWinMain
(008BBCC5) C4972_0
(00059D8D) ntdll.dll
(00059D55) ntdll.dll

The problem happens rarely. I cannot reproduce it.
andysorgi@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.4

Error message:
Error creating window device context

Stack trace:
(0025E58E) Vcl::Controls::TWinControl::GetDeviceContext
(001FE5F5) Vcl::Graphics::TCanvas::RequiredState
(00829BBB) TMessageForm::Create
(0082C4DD) CreateMoreMessageDialog
(000D1203) CreateMessageDialogEx
(000D1A70) CreateMoreMessageDialogEx
(000D1C42) MoreMessageDialog
(000D3748) ExceptionMessageDialog
(000A4D5B) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097969) TTerminalManager::TerminalShowExtendedException
(007B94BC) TTerminal::ShowExtendedException
(0021F91E) Vcl::Forms::TApplication::HandleException
(000E440E) Execute
(000024B4) wWinMain
(008BBCC5) C4972_0
(00038830) ntdll.dll
(00038800) ntdll.dll

The problem happens rarely. I cannot reproduce it.
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
adwedes@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.3

Error message:
Error creating window device context

Трассировка стека:
(0025DBDE) Vcl::Controls::TWinControl::GetDeviceContext
(001FDC45) Vcl::Graphics::TCanvas::RequiredState
(00827A39) TMessageForm::ReadState
(0036BA32) System::Classes::TStream::ReadComponent
(00361477) System::Classes::_17089
(00362DCB) System::Classes::_17116
(00362E59) System::Classes::InitInheritedComponent
(00213CC2) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(008247C2) TMessageForm::TMessageForm
(00408EB8) Pastools::Construct
(0082B361) CreateMoreMessageDialog
(000D0853) CreateMessageDialogEx
(000D10C0) CreateMoreMessageDialogEx
(000D1292) MoreMessageDialog
(000D2D98) ExceptionMessageDialog
(000A44EF) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097121) TTerminalManager::TerminalShowExtendedException
(007B8328) TTerminal::ShowExtendedException
(0021EF6E) Vcl::Forms::TApplication::HandleException
(00380370) System::Classes::_18201
(000152F7) USER32.dll
(00016311) USER32.dll.GetDC
(00015DE3) USER32.dll
(00015E41) USER32.dll
(0000F137) ntdll.dll.KiUserCallbackDispatcher
(00016885) USER32.dll.DispatchMessageW

(0025DBDE) Vcl::Controls::TWinControl::GetDeviceContext
(001FDC45) Vcl::Graphics::TCanvas::RequiredState

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
sledge.ez@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13.3

Error message:
Error creating window device context

Stack trace:
(0025DBDE) Vcl::Controls::TWinControl::GetDeviceContext
(001FDC45) Vcl::Graphics::TCanvas::RequiredState
(00827A39) TMessageForm::ReadState
(0036BA32) System::Classes::TStream::ReadComponent
(00361477) System::Classes::_17089
(00362DCB) System::Classes::_17116
(00362E59) System::Classes::InitInheritedComponent
(00213CC2) Vcl::Forms::TCustomForm::TCustomForm
(0000424A) Vcl::Forms::TForm::TForm
(008247C2) TMessageForm::TMessageForm
(00408EB8) Pastools::Construct
(0082B361) CreateMoreMessageDialog
(000D0853) CreateMessageDialogEx
(000D10C0) CreateMoreMessageDialogEx
(000D1292) MoreMessageDialog
(000D2D98) ExceptionMessageDialog
(000A44EF) ShowExtendedExceptionEx
(0001D6F4) TCustomScpExplorerForm::ShowExtendedException
(00097121) TTerminalManager::TerminalShowExtendedException
(007B8102) TTerminal::HandleExtendedException
(007BB81E) TTerminal::CommandError
(007BB5B1) TTerminal::CommandError
(007D10AE) TTerminal::CopyToLocal
(007CC281) TTerminal::SynchronizeApply
(00019F99) TCustomScpExplorerForm::DoFullSynchronizeDirectories
(000447C9) TScpCommanderForm::FullSynchronizeDirectories
(0003D09D) TNonVisualDataModule::ExplorerActionsExecute
(003C24B4) System::Actions::TContainedActionList::ExecuteAction
(001A8295) Vcl::Actnlist::TCustomAction::Execute
(00380370) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.Dis

The problem happens rarely. I cannot reproduce it.
jason.medland@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

machine was running unattended over the weekend, got disconnected from network

WinSCP 5.11.3

Error message:
Error creating window device context

Stack trace:
(0025A882) Vcl::Controls::TWinControl::GetDeviceContext
(001FA8E9) Vcl::Graphics::TCanvas::RequiredState
(0080B4F9) TMessageForm::ReadState
(0036737E) System::Classes::TStream::ReadComponent
(0035CDC3) System::Classes::_17089
(0035E717) System::Classes::_17116
(0035E7A5) System::Classes::InitInheritedComponent
(00210966) Vcl::Forms::TCustomForm::TCustomForm
(00003F7E) Vcl::Forms::TForm::TForm
(00808DAE) TMessageForm::TMessageForm
(0040316C) Pastools::Construct
(0080EB41) CreateMoreMessageDialog
(000CDDAF) CreateMessageDialogEx
(000CE61C) CreateMoreMessageDialogEx
(000CE7EE) MoreMessageDialog
(000D02F4) ExceptionMessageDialog
(000A1FD0) ShowExtendedExceptionEx
(0001D36C) TCustomScpExplorerForm::ShowExtendedException
(00094D09) TTerminalManager::TerminalShowExtendedException
(0079A090) TTerminal::ShowExtendedException
(0021BC12) Vcl::Forms::TApplication::HandleException
(000E0702) Execute
(00002484) wWinMain
(0089B381) __wstartup
(00038F70) ntdll.dll
(00038F40) ntdll.dll

The problem happens rarely. I cannot reproduce it.
diamondcrystal2006@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13

Error message:
Error creating window device context

スタック トレース:
(0025C582) Vcl::Controls::TWinControl::GetDeviceContext
(001FC5E9) Vcl::Graphics::TCanvas::RequiredState
(00825179) TMessageForm::ReadState
(0036A3D6) System::Classes::TStream::ReadComponent
(0035FE1B) System::Classes::_17089
(0036176F) System::Classes::_17116
(003617FD) System::Classes::InitInheritedComponent
(00212666) Vcl::Forms::TCustomForm::TCustomForm
(0000420E) Vcl::Forms::TForm::TForm
(00821F22) TMessageForm::TMessageForm
(00406DB8) Pastools::Construct
(00828AA1) CreateMoreMessageDialog
(000CF25F) CreateMessageDialogEx
(000CFACC) CreateMoreMessageDialogEx
(000CFC9E) MoreMessageDialog
(000D17A4) ExceptionMessageDialog
(000A30D3) ShowExtendedExceptionEx
(0001D614) TCustomScpExplorerForm::ShowExtendedException
(00095D91) TTerminalManager::TerminalShowExtendedException
(007B5D6C) TTerminal::ShowExtendedException
(0021D912) Vcl::Forms::TApplication::HandleException
(000E2402) Execute
(000024A8) wWinMain
(008B8009) C4969_0
(00038F70) ntdll.dll
(00038F40) ntdll.dll

The problem happens rarely. I cannot reproduce it.
steelo_owil@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.13

Error message:
Error creating window device context

Trace de la pile :
(0025C582) Vcl::Controls::TWinControl::GetDeviceContext
(001FC5E9) Vcl::Graphics::TCanvas::RequiredState
(0082617F) TMessageForm::Create
(00828AA1) CreateMoreMessageDialog
(000CF25F) CreateMessageDialogEx
(000CFACC) CreateMoreMessageDialogEx
(000CFC9E) MoreMessageDialog
(000D17A4) ExceptionMessageDialog
(000A30D3) ShowExtendedExceptionEx
(000A2710) ShowExtendedException
(0021D912) Vcl::Forms::TApplication::HandleException
(000E2402) Execute
(000024A8) wWinMain
(008B8009) C4969_0
(00038830) ntdll.dll
(00038800) ntdll.dll

The problem happens rarely. I cannot reproduce it.
mail@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.11.2

Error message:
Error creating window device context

Stack trace:
(0025A83E) Vcl::Controls::TWinControl::GetDeviceContext
(001FA8A5) Vcl::Graphics::TCanvas::RequiredState
(0080ACB1) TMessageForm::ReadState
(0036733A) System::Classes::TStream::ReadComponent
(0035CD7F) System::Classes::_17089
(0035E6D3) System::Classes::_17116
(0035E761) System::Classes::InitInheritedComponent
(00210922) Vcl::Forms::TCustomForm::TCustomForm
(00003F7E) Vcl::Forms::TForm::TForm
(00808566) TMessageForm::TMessageForm
(00403128) Pastools::Construct
(0080E2F9) CreateMoreMessageDialog
(000CDD6B) CreateMessageDialogEx
(000CE5D8) CreateMoreMessageDialogEx
(000CE7AA) MoreMessageDialog
(000D02B0) ExceptionMessageDialog
(000A1F8C) ShowExtendedExceptionEx
(0001D36C) TCustomScpExplorerForm::ShowExtendedException
(00094CF5) TTerminalManager::TerminalShowExtendedException
(00799622) TTerminal::HandleExtendedException
(0079CB4E) TTerminal::CommandError
(0079C8E1) TTerminal::CommandError
(007B0536) TTerminal::CopyToLocal
(0000E435) TCustomScpExplorerForm::ExecuteFileOperation
(0000F11C) TCustomScpExplorerForm::ExecuteFileOperation
(0000F1A3) TCustomScpExplorerForm::ExecuteFileOperationCommand
(0000F32A) TCustomScpExplorerForm::ExecuteCopyOperationCommand
(000384ED) TNonVisualDataModule::ExplorerActionsExecute
(003BDDBC) System::Actions::TContainedActionList::ExecuteAction
(001A4EF5) Vcl::Actnlist::TCustomAction::Execute
(0037BC78) System::Classes::_18201
(000068E5) USER32.DLL
(0

The problem happens rarely. I cannot reproduce it.
andygui@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Accessed the computer via RDP overnight. Came back to work and signed in from the console and found this.

WinSCP 5.11.1

Error message:
Error creating window device context

Stack trace:
(0025A75A) Vcl::Controls::TWinControl::GetDeviceContext
(001FA7C1) Vcl::Graphics::TCanvas::RequiredState
(0080AB51) TMessageForm::ReadState
(00367256) System::Classes::TStream::ReadComponent
(0035CC9B) System::Classes::_17089
(0035E5EF) System::Classes::_17116
(0035E67D) System::Classes::InitInheritedComponent
(0021083E) Vcl::Forms::TCustomForm::TCustomForm
(00003F7E) Vcl::Forms::TForm::TForm
(00808406) TMessageForm::TMessageForm
(00403044) Pastools::Construct
(0080E199) CreateMoreMessageDialog
(000CDCBB) CreateMessageDialogEx
(000CE528) CreateMoreMessageDialogEx
(000CE6FA) MoreMessageDialog
(000D0200) ExceptionMessageDialog
(000A1EDC) ShowExtendedExceptionEx
(0001D368) TCustomScpExplorerForm::ShowExtendedException
(00094C4D) TTerminalManager::TerminalShowExtendedException
(007994CE) TTerminal::HandleExtendedException
(0079C9FA) TTerminal::CommandError
(0079C78D) TTerminal::CommandError
(007B03E2) TTerminal::CopyToLocal
(0000E435) TCustomScpExplorerForm::ExecuteFileOperation
(0000F11C) TCustomScpExplorerForm::ExecuteFileOperation
(0001DE43) TCustomScpExplorerForm::RemoteFileControlFileOperation
(0001E1A0) TCustomScpExplorerForm::RemoteFileControlDDEnd
(0041AAD2) Customdirview::TCustomDirView::DDDragDetect
(0066C7B2) TUnixDirView::DDDragDetect
(00416F64) Customdirview::TCustomDirView::CNNotify
(0025305D) Vcl::Controls::TControl::WndProc
(00257BA1) Vcl::Controls::TWinControl::Wn

The problem happens rarely. I cannot reproduce it.
sshcher@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

WinSCP 5.9.4

Error message:
Error creating window device context

Трассировка стека:
(00251E22) Vcl::Controls::TWinControl::GetDeviceContext
(001F1E71) Vcl::Graphics::TCanvas::RequiredState
(007E0029) CreateMoreMessageDialog
(000C59CB) CreateMessageDialogEx
(000C6238) CreateMoreMessageDialogEx
(000C640A) MoreMessageDialog
(000C7F10) ExceptionMessageDialog
(00099CA2) ShowExtendedExceptionEx
(0008CF3C) TTerminalManager::TerminalShowExtendedException
(00772E0C) TTerminal::ShowExtendedException
(0021319A) Vcl::Forms::TApplication::HandleException
(0037322C) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(000167BF) USER32.dll
(00016885) USER32.dll.DispatchMessageW

The problem happens rarely. I cannot reproduce it.
michael.janisch@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9.5

Error message:
Error creating window device context

Stack trace:
(00251E62) Vcl::Controls::TWinControl::GetDeviceContext
(001F1EB1) Vcl::Graphics::TCanvas::RequiredState
(007E04D9) CreateMoreMessageDialog
(000C5A0B) CreateMessageDialogEx
(000C6278) CreateMoreMessageDialogEx
(000C644A) MoreMessageDialog
(000C7F50) ExceptionMessageDialog
(00099CE2) ShowExtendedExceptionEx
(0001CDA4) TCustomScpExplorerForm::ShowExtendedException
(0008CF71) TTerminalManager::TerminalShowExtendedException
(007733EC) TTerminal::ShowExtendedException
(002131DA) Vcl::Forms::TApplication::HandleException
(000D7CCB) Execute
(000024A8) wWinMain
(00865045) C4941_0
(00038900) ntdll.dll
(000388D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
alexanderkaminskiy@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9.3

Error message:
Error creating window device context

Трассировка стека:
(00251CF6) Vcl::Controls::TWinControl::GetDeviceContext
(001F1D45) Vcl::Graphics::TCanvas::RequiredState
(007DCF9B) TMessageForm::Create
(007DFA41) CreateMoreMessageDialog
(000C593B) CreateMessageDialogEx
(000C61A8) CreateMoreMessageDialogEx
(000C637A) MoreMessageDialog
(000C7E80) ExceptionMessageDialog
(00099C12) ShowExtendedExceptionEx
(0008CEAC) TTerminalManager::TerminalShowExtendedException
(00772B78) TTerminal::ShowExtendedException
(0021306E) Vcl::Forms::TApplication::HandleException
(00373100) System::Classes::_18201
(00007E6F) USER32.DLL.CallNextHookEx
(000080CC) USER32.DLL
(0000966A) USER32.DLL
(000096DB) USER32.DLL.DispatchMessageW

The problem happens rarely. I cannot reproduce it.
noreply@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9.2

Error message:
Error creating window device context

Stack trace:
(002517E2) Vcl::Controls::TWinControl::GetDeviceContext
(001F1831) Vcl::Graphics::TCanvas::RequiredState
(007DAA33) TMessageForm::Create
(007DD4D9) CreateMoreMessageDialog
(000C5503) CreateMessageDialogEx
(000C5D70) CreateMoreMessageDialogEx
(000C5F42) MoreMessageDialog
(000C7A38) ExceptionMessageDialog
(000998E6) ShowExtendedExceptionEx
(00098FE0) ShowExtendedException
(00212B5A) Vcl::Forms::TApplication::HandleException
(000D764B) Execute
(000024A8) wWinMain
(0086187D) C4941_0
(00038F70) ntdll.dll
(00038F40) ntdll.dll

The problem happens rarely. I cannot reproduce it.
william.n.glossop@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9.2

Error message:
Error creating window device context

Stack trace:
(002517E2) Vcl::Controls::TWinControl::GetDeviceContext
(001F1831) Vcl::Graphics::TCanvas::RequiredState
(007DD4D9) CreateMoreMessageDialog
(000C5503) CreateMessageDialogEx
(000C5D70) CreateMoreMessageDialogEx
(000C5F42) MoreMessageDialog
(000C7A38) ExceptionMessageDialog
(000998E6) ShowExtendedExceptionEx
(0001CB64) TCustomScpExplorerForm::ShowExtendedException
(0008CC4D) TTerminalManager::TerminalShowExtendedException
(007706B4) TTerminal::ShowExtendedException
(00212B5A) Vcl::Forms::TApplication::HandleException
(000D764B) Execute
(000024A8) wWinMain
(0086187D) C4941_0
(00038900) ntdll.dll
(000388D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
roberthadleyjob@...

Canvas does not allow drawing - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.9

Error message:
Canvas does not allow drawing

Stack trace:
(002512CE) Vcl::Controls::TWinControl::GetDeviceContext
(001F131D) Vcl::Graphics::TCanvas::RequiredState
(007DBE15) CreateMoreMessageDialog
(000C4FF7) CreateMessageDialogEx
(000C5864) CreateMoreMessageDialogEx
(000C5A36) MoreMessageDialog
(000C752C) ExceptionMessageDialog
(000994AE) ShowExtendedExceptionEx
(0001CBEC) TCustomScpExplorerForm::ShowExtendedException
(0008C819) TTerminalManager::TerminalShowExtendedException
(0076F068) TTerminal::ShowExtendedException
(00212646) Vcl::Forms::TApplication::HandleException
(0037264C) System::Classes::_18201
(000152F7) USER32.dll
(00016319) USER32.dll.GetDC
(00015DE8) USER32.dll
(00015E49) USER32.dll
(0000F117) ntdll.dll.KiUserCallbackDispatcher
(00015A87) USER32.dll
(00015AE4) USER32.dll
(000152F7) USER32.dll
(00015D35) USER32.dll
(0001FD32) USER32.dll
(0001FD58) USER32.dll.CallWindowProcW
(0024E826) Vcl::Controls::TWinControl::DefaultHandler
(0024E715) Vcl::Controls::TWinControl::WndProc
(00208BC4) Vcl::Forms::TCustomForm::WndProc
(00807E14) Vclcommon::C2754_0
(0024DD5C) Vcl::Controls::TWinControl::MainWndProc
(0037264C) System::Classes::_18201
(000152F7) USER32.dll
(00015D35) USER32.dll
(00015DE8) USER32.dll
(00015E49) USER32.dll
(0000F117) ntdll.dll.KiUserCallbackDispatcher
(0001F75C) USER32.dll
(002120A4) Vcl::Forms::TApplication::ProcessMessage
(000D7139) Execute
(000024A8) wWinMain
(008601A5) C4941_0

The problem happens rarely. I cannot reproduce it.
alcar21@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.7.7

Error message:
Error creating window device context

Traza de la pila:
(0021F1C2) Vcl::Controls::TWinControl::GetDeviceContext
(001BFB05) Vcl::Graphics::TCanvas::RequiredState
(00768578) TMessageForm::Create
(0076AFD5) CreateMoreMessageDialog
(0009F2DA) CreateMessageDialogEx
(0009FA45) MoreMessageDialog
(000A1160) ExceptionMessageDialog
(0008378A) ShowExtendedExceptionEx
(00082ED8) ShowExtendedException
(000A9A85) Execute
(00002462) wWinMain
(007DEA01) C4667_0
(00038A00) ntdll.dll
(000389D0) ntdll.dll

The problem happens rarely. I cannot reproduce it.
martin

Re: Invalid access to memory - Vcl::Controls::TWinControl::GetDeviceContext

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
muhibullah_shah.pahelwan@...

Invalid access to memory - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.7.7

Error message:
Invalid access to memory.

Stack trace:
(0021F1C2) Vcl::Controls::TWinControl::GetDeviceContext
(001BFB05) Vcl::Graphics::TCanvas::RequiredState
(0076AFD5) CreateMoreMessageDialog
(0009F2DA) CreateMessageDialogEx
(0009FA45) MoreMessageDialog
(000A1160) ExceptionMessageDialog
(0008378A) ShowExtendedExceptionEx
(0001AB28) TCustomScpExplorerForm::ShowExtendedException
(00077BDD) TTerminalManager::TerminalShowExtendedException
(0067687D) TShowExtendedExceptionAction::Execute
(00675F88) TTerminalThread::TerminalShowExtendedException
(0070FC38) TTerminal::ShowExtendedException
(0034059C) System::Classes::_18201
(000152F7) USER32.dll
(00016319) USER32.dll.GetDC
(00015DE8) USER32.dll
(00015E49) USER32.dll
(0000F117) ntdll.dll.KiUserCallbackDispatcher
(000004E4)DUser.dll
(0005ED79) USER32.dll
(0000F117) ntdll.dll.KiUserCallbackDispatcher
(0001F75C) USER32.dll
(0003BCF9) USER32.dll
(0003BF67) USER32.dll
(0003BE95) USER32.dll.DialogBoxIndirectParamAorW
(0003BC19) USER32.dll.DialogBoxIndirectParamW
(0007C4FE) COMCTL32.DLL
(0007C48F) COMCTL32.DLL
(002FDAF1) Winapi::Commctrl::TaskDialogIndirect
(0020329D) Vcl::Dialogs::TCustomTaskDialog::DoExecute
(002035A5) Vcl::Dialogs::TCustomTaskDialog::Execute
(00204E76) Vcl::Dialogs::_16828
(0020482A) Vcl::Dialogs::MessageDlgPosHelp
(003EDE1A) Driveview::TDriveView::CanChange
(0025328A) Vcl::Comctrls::TCustomTreeView::CNNotify
(003DE479) Customdriveview::TCustomDriveView::CNNotify
(0021C609) Vcl::Con

I know how to reproduce the problem or the problem happens frequently enough. I wish to be contacted by the WinSCP team to help resolving the problem.
Romby

Re: Error creating window device context

Learning a ton from these neat arsiclet.
comments@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

WinSCP was left on the "Keep remote directory up to date" setting over the weekend. I double-clicked the icon and this error message was produced, before WinSCP crashed.

WinSCP 5.7.3

Error message:
Error creating window device context

Stack trace:
(0021EAAE) Vcl::Controls::TWinControl::GetDeviceContext
(001BF3F1) Vcl::Graphics::TCanvas::RequiredState
(007684C9) CreateMoreMessageDialog
(0009F19E) CreateMessageDialogEx
(0009F909) MoreMessageDialog
(000A1024) ExceptionMessageDialog
(000836BE) ShowExtendedExceptionEx
(00082E0C) ShowExtendedException
(001E02A7) Vcl::Forms::TApplication::HandleMessage

The problem happens rarely. I cannot reproduce it.
martin

Re: Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
tientx@...

Error creating window device context - Vcl::Controls::TWinControl::GetDeviceContext

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.7.2

Error message:
Error creating window device context

Stack trace:
(0021E582) Vcl::Controls::TWinControl::GetDeviceContext
(001BEEC5) Vcl::Graphics::TCanvas::RequiredState
(0076769D) CreateMoreMessageDialog
(0009EC72) CreateMessageDialogEx
(0009F3DD) MoreMessageDialog
(000A0AF8) ExceptionMessageDialog
(000832E2) ShowExtendedExceptionEx
(0001AA58) TCustomScpExplorerForm::ShowExtendedException
(000777A5) TTerminalManager::TerminalShowExtendedException
(0070C7B0) TTerminal::ShowExtendedException
(000A8E45) Execute
(00002462) wWinMain
(007DEFC5) C4667_0
(00038EF0) ntdll.dll
(00038EC0) ntdll.dll
martin

Re: Error creating window device context

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
lbh@...

Error creating window device context

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.7.1

Error message:
Error creating window device context

스택 추적:
[0155F39E] Vcl::Controls::TWinControl::GetDeviceContext
[014FFCE1] Vcl::Graphics::TCanvas::RequiredState
[01AA819D] CreateMoreMessageDialog
[013DFA8E] CreateMessageDialogEx
[013E01F9] MoreMessageDialog
[013E1914] ExceptionMessageDialog
[013C42E2] ShowExtendedExceptionEx
[013C3A30] ShowExtendedException
[01680708] System::Classes::_18201
[75CA62F7] USER32.dll
[75CA7311] USER32.dll.GetDC
[75CA6DE3] USER32.dll
[75CA6E41] USER32.dll
[77E50107] ntdll.dll.KiUserCallbackDispatcher
[01521C38] Vcl::Forms::TApplication::UpdateVisible
[0151B15A] Vcl::Forms::TCustomForm::CMShowingChanged
[01360F5F] TCustomScpExplorerForm::Dispatch
[0155C7E5] Vcl::Controls::TWinControl::WndProc
[01517588] Vcl::Forms::TCustomForm::WndProc
[01ACB14D] Vclcommon::C2516_0
[015578DC] Vcl::Controls::TControl::Perform
[0155BBD5] Vcl::Controls::TWinControl::UpdateShowing
[0155BCE4] Vcl::Controls::TWinControl::UpdateControlState
[0155E88A] Vcl::Controls::TWinControl::CMVisibleChanged
[0155C7E5] Vcl::Controls::TWinControl::WndProc
[01517588] Vcl::Forms::TCustomForm::WndProc
[01ACB255] Vclcommon::C2516_0
[015578DC] Vcl::Controls::TControl::Perform
[0155626A] Vcl::Controls::TControl::SetVisible
[013E9CBD] Execute
[01343462] wWinMain
[01B1FAB9] __wstartup
[77E79F70] ntdll.dll
[77E79F40] ntdll.dll
martin

Re: Error creating window device context

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
jason.peters@...

Error creating window device context

<Try to describe precise steps that lead to the problem (where do you click, what keys do you press, what do you see, etc.)>
<If relevant, consider attaching a session log file or a screenshot)>

WinSCP 5.6.1

Error message:
Error creating window device context

Stack trace:
[0152A506] Vcl::Controls::TWinControl::GetDeviceContext
[014CAE49] Vcl::Graphics::TCanvas::RequiredState
[01AB8A99] CreateMoreMessageDialog
[013AAFAA] CreateMessageDialogEx
[013AB725] MoreMessageDialog
[013ACE40] ExceptionMessageDialog
[01390CF6] ShowExtendedExceptionEx
[01390620] ShowExtendedException
[013B4DCA] Execute
[01313456] wWinMain
[01B3F4F9] __wstartup
[774A9F70] ntdll.dll
[774A9F40] ntdll.dll