Error creating window device context

← →vic_vm   (2003-05-06 15:57) [0]

 
vic_vm
 
(2003-05-06 15:57)
[0]

Что это за ошибка такая

Error creating window device context ?

Причем возникает не регулярно, а лишь при каких-то непонятных обстоятельсвах


 
Игорь Шевченко
 
(2003-05-06 17:27)
[1]

Ошибка в коде (неприведенном)


 
Morfein
 
(2003-05-06 18:00)
[2]

Или нехватка графических ресурсов… что тоже, в конечном счёте, есть ошибка в коде :)


 
vic_vm
 
(2003-05-06 21:31)
[3]

>Ошибка в коде (неприведенном)

Во первых — это компонент (не мой), но дело не в этом…

Во вторых — все это появляется в Dll которая является COM сервером.

>Или нехватка графических ресурсов

Не думаю. Есть несколько экземпляров одного приложения к которым она подключена и что странно — в одном из них эта ошибка вылазит, в других — нет.

а вообще, если нужон исходный код то вот он — кусок из Controls.pas

function TWinControl.GetDeviceContext(var WindowHandle: HWnd): HDC;

begin

if csDesigning in ComponentState then

Result := GetDCEx(Handle, 0, DCX_CACHE or DCX_CLIPSIBLINGS)

else

Result := GetDC(Handle);

if Result = 0 then raise EOutOfResources.CreateRes(@SWindowDCError);

WindowHandle := FHandle;

end;

Вот именно тут это и вылазит

raise EOutOfResources.CreateRes(@SWindowDCError);

Это скорей всего какой-то из приколов Delphi, но почему он возникает и как с этим бороться?


 
Morfein
 
(2003-05-06 21:35)
[4]

Не, ну японский Бог… ты бы хоть перевёл название исключения!

EOutOfResources = Нехватка ресурсов!


 
vic_vm
 
(2003-05-06 22:53)
[5]

2 Morfein

Ну и что ?!!!!!

В этом месте можно вставить raise EPrinter…,

но это не значит что произошла ошибка при печати

Это специалисты Borland предпологают что если GetDC возвратила ноль, то скорее всего не хватает ресурсов…

А реальная причина не известна. Скорее всего прийдется вставлять вместо raise анализ GetLastError….


 
nikkie
 
(2003-05-06 23:00)
[6]

>vic_vm

Если ресурсов хватает, то скорее всего WindowHandle — не есть valid hwnd.

Твое объяснение ничего не объяснило. Зачем твоему COM серверу понадобился device context? Это ActiveX? Что за приложение?


 
vic_vm
 
(2003-05-06 23:04)
[7]

2 nikkie

Это плагин….

Он создает окно в другом приложении…

http://www.vicscale.narod.ru/searchband.html

Обидно что нет какой-то закономерности…

Это вылазит очень редко, но иногда вылазит.


 
vic_vm
 
(2003-05-07 12:25)
[8]

Up


 
Morfein
 
(2003-05-07 16:08)
[9]

>>бидно что нет какой-то закономерности…

>>Это вылазит очень редко, но иногда вылазит.

Вот поэтому я и говорю, что это нехватка ресурсов.


Содержание

  1. Error creating window device context
  2. Error creating window device context
  3. Re: Error creating window device context
  4. Error creating window device context
  5. Re: Error creating window device context
  6. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  7. Re: Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  8. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  9. Re: Error creating window device context
  10. Invalid access to memory — Vcl::Controls::TWinControl::GetDeviceContext
  11. Re: Invalid access to memory — Vcl::Controls::TWinControl::GetDeviceContext
  12. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  13. Canvas does not allow drawing — Vcl::Controls::TWinControl::GetDeviceContext
  14. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  15. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  16. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  17. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  18. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  19. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  20. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  21. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  22. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  23. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  24. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext
  25. Error creating window device context — Vcl::Controls::TWinControl::GetDeviceContext

Error creating window device context

Error creating window device context

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

Re: Error creating window device context

Error creating window device context

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

Re: Error creating window device context

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

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

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

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.

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.

Re: Error creating window device context

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

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.

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

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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

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.

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.

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.

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

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.

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

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.

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

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.

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

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

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.

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

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.

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

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.

Источник

    msm.ru

    Нравится ресурс?

    Помоги проекту!

    Пожалуйста, выделяйте текст программы тегом [сode=pas] … [/сode]. Для этого используйте кнопку [code=pas] в форме ответа или комбобокс, если нужно вставить код на языке, отличном от Дельфи/Паскаля.


    Следующие вопросы задаются очень часто, подробно разобраны в FAQ и, поэтому, будут безжалостно удаляться:
    1. Преобразовать переменную типа String в тип PChar (PAnsiChar)
    2. Как «свернуть» программу в трей.
    3. Как «скрыться» от Ctrl + Alt + Del (заблокировать их и т.п.)
    4. Как прочитать список файлов, поддиректорий в директории?
    5. Как запустить программу/файл?
    … (продолжение следует) …


    Вопросы, подробно описанные во встроенной справочной системе Delphi, не несут полезной тематической нагрузки, поэтому будут удаляться.
    Запрещается создавать темы с просьбой выполнить какую-то работу за автора темы. Форум является средством общения и общего поиска решения. Вашу работу за Вас никто выполнять не будет.


    Внимание
    Попытки открытия обсуждений реализации вредоносного ПО, включая различные интерпретации спам-ботов, наказывается предупреждением на 30 дней.
    Повторная попытка — 60 дней. Последующие попытки бан.
    Мат в разделе — бан на три месяца…

    >
    Поток
    , проблема с Handle и чем-то там еще…

    • Подписаться на тему
    • Сообщить другу
    • Скачать/распечатать тему



    Сообщ.
    #1

    ,
    26.05.08, 08:03

      Доброго времени суток!
      Не судите строго, только недавно начал активно использовать потоки, и тут же наткнулся на проблему(
      Я не могу понять почему, если поток внутри себя начинает изменять какие-либо визуальные свойства вроде Visible на компонентах формы, то она в последствии может неправильно обрисовываться, а одно только дальнейшее прикосновенее к ней мышью сразу порождает ошибки вроде:
      Error creating window device context
      Invalid Window Handle
      Я примерно догадываюсь что основной поток конфликтует с тем, который я создал, но можно ли как-нибудь обойти такие ошибки? :huh:


      Romkin



      Сообщ.
      #2

      ,
      26.05.08, 08:26

        Почитай про Synchronize


        Profi



        Сообщ.
        #3

        ,
        26.05.08, 08:28

          Должна быть синхронизация. Тут хорошо написано.


          and85



          Сообщ.
          #4

          ,
          26.05.08, 08:32

            Synchronize не помогает?


            Profi



            Сообщ.
            #5

            ,
            26.05.08, 08:33

              Прямо наперегонки отвечаем! :D


              and85



              Сообщ.
              #6

              ,
              26.05.08, 08:35

                и я опять последний :( :)


                —Ins—



                Сообщ.
                #7

                ,
                26.05.08, 09:20

                  Дело в том, что VCL — принципиально однопоточная библиотека и выполнять действия над визуальными компонентами в контексте неглавного потока запрещено — эффекты могут быть самые разнообразные :) Однако разработчики включили в класс TThread метод Syncronize, который приводит к тому, что переданный параметром метод будет выполнен именно в контексте основного потока (но не сразу, а когда у того будет на это время). А вызывающий поток в этом случае приостановится до тех пор, пока основной не выполнит поставленную перед ним задачу. Из этого следует, что под Syncronize нужно заносить лишь небольшие фрагменты кода, которые по тем или иным причинам должны быть выполнены именно основным потоком (например, обращение к визуальным компонентам), но ни в коем случае не весь код потока (как это рекомендуется в некоторых книгах, у Архангельского в частности), так как в этом случае смысла в потоке нет — он все время будет только ждать, но сам — ничего не делать.


                  oneday



                  Сообщ.
                  #8

                  ,
                  26.05.08, 10:43

                    Спасибо, теперь все встало на свои места 8-)

                    Сообщение отредактировано: oneday — 26.05.08, 10:45

                    0 пользователей читают эту тему (0 гостей и 0 скрытых пользователей)

                    0 пользователей:

                    • Предыдущая тема
                    • Delphi: Общие вопросы
                    • Следующая тема

                    Рейтинг@Mail.ru

                    [ Script execution time: 0,0242 ]   [ 16 queries used ]   [ Generated: 9.02.23, 13:08 GMT ]  

                    Error creating window device context

                    • Reply to topic
                    • Log in

                    Advertisement

                    jason.peters@…

                    Guest

                    2014-10-20 17:14

                    <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

                    Reply with quote

                    Advertisement

                    martin◆

                    Site Admin
                    martin avatar
                    Joined:
                    2002-12-10
                    Posts:
                    38,466
                    Location:
                    Prague, Czechia

                    2014-10-22

                    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.

                    Reply with quote

                    lbh@…

                    Guest

                    2015-04-03 01:17

                    <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

                    Reply with quote

                    martin◆

                    Site Admin
                    martin avatar

                    2015-04-03

                    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.

                    Reply with quote

                    tientx@…

                    Guest

                    2015-06-08 02:32

                    <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

                    Reply with quote

                    Advertisement

                    martin◆

                    Site Admin
                    martin avatar

                    2015-06-10

                    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.

                    Reply with quote

                    comments@…

                    Guest

                    2015-12-21 15:54

                    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.

                    Reply with quote

                    Romby

                    Guest

                    2016-01-07 09:04

                    Learning a ton from these neat arsiclet.

                    Reply with quote

                    muhibullah_shah.pahelwan@…

                    Guest

                    2016-05-30 11:48

                    <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.

                    Reply with quote

                    Advertisement

                    martin◆

                    Site Admin
                    martin avatar

                    2016-06-02

                    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.

                    Reply with quote

                    alcar21@…

                    Guest

                    2016-06-06 07:01

                    <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.

                    Reply with quote

                    roberthadleyjob@…

                    Guest

                    2016-09-07 17:16

                    <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.

                    Reply with quote

                    william.n.glossop@…

                    Guest

                    2016-10-28 12:58

                    <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.

                    Reply with quote

                    Advertisement

                    noreply@…

                    Guest

                    2016-12-06 12:48

                    <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.

                    Reply with quote

                    alexanderkaminskiy@…

                    Guest

                    2017-02-27 08:29

                    <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.

                    Reply with quote

                    michael.janisch@…

                    Guest

                    2017-05-11 10:04

                    <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.

                    Reply with quote

                    sshcher@…

                    Guest

                    2017-06-13 04:43

                    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.

                    Reply with quote

                    Advertisement

                    andygui@…

                    Guest

                    2017-10-11 16:41

                    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.

                    Reply with quote

                    mail@…

                    Guest

                    2017-12-21 12:03

                    <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.

                    Reply with quote

                    steelo_owil@…

                    Guest

                    2018-03-22 09:09

                    <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.

                    Reply with quote

                    diamondcrystal2006@…

                    Guest

                    2018-06-17 10:36

                    <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.

                    Reply with quote

                    Advertisement

                    jason.medland@…

                    Guest

                    2018-06-26 19:39

                    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.

                    Reply with quote

                    sledge.ez@…

                    Guest

                    2018-08-27 14:14

                    <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.

                    Reply with quote

                    adwedes@…

                    Guest

                    2018-09-08 21:25

                    <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.

                    Reply with quote

                    martin◆

                    Site Admin
                    martin avatar

                    2018-09-11

                    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.

                    Reply with quote

                    Advertisement

                    andysorgi@…

                    Guest

                    2018-10-26 09:12

                    <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.

                    Reply with quote

                    kilijanek@…

                    Guest

                    2018-12-04 14:19

                    <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.

                    Reply with quote

                    kilijanek@…

                    Guest

                    2018-12-04 14:19

                    <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.

                    Reply with quote

                    kilijanek@…

                    Guest

                    2018-12-27 10:25

                    <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.

                    Reply with quote

                    Advertisement

                    no.email

                    Guest

                    2019-02-26 14:40

                    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.

                    Reply with quote

                    orso.grigio@…

                    Guest

                    2019-04-18 06:38

                    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.

                    Reply with quote

                    martin◆

                    Site Admin
                    martin avatar

                    2019-04-18

                    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.

                    Reply with quote

                    latanyab@…

                    Guest

                    2019-05-01 23:59

                    <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.

                    Reply with quote

                    Advertisement

                    gabri.ns@…

                    Guest

                    2019-05-13 13:11

                    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.

                    Reply with quote

                    guy.newell@…

                    Guest

                    2019-05-20 12:16

                    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.

                    Reply with quote

                    Rick.Borchert@…

                    Guest

                    2019-08-26 14:14

                    <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.

                    Reply with quote

                    darin.hitchings.vz@…

                    Guest

                    2019-09-04 18:03

                    <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.

                    Reply with quote

                    Advertisement

                    ayspunde@…

                    Guest

                    2019-09-11 18:22

                    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.

                    Reply with quote

                    patty.richards@…

                    Guest

                    2019-09-22 18:12

                    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.

                    Reply with quote

                    scott.sancetta@…

                    Guest

                    2019-09-23 14:16

                    <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.

                    Reply with quote

                    adf999@…

                    Guest

                    2019-12-21 13:03

                    <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.

                    Reply with quote

                    Advertisement

                    opi@…

                    Guest

                    2019-12-23 23:05

                    <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.

                    Reply with quote

                    opi@…

                    Guest

                    2019-12-23 23:54

                    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.

                    Reply with quote

                    vellig@…

                    Guest

                    2020-01-10 22:25

                    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.

                    Reply with quote

                    daltonporter@…

                    Guest

                    2020-01-27 03:54

                    <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.

                    Reply with quote

                    Advertisement

                    lukaszmalinowski@…

                    Guest

                    2020-01-31 08:52

                    <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.

                    Reply with quote

                    ionel-viorel.radu@…

                    Guest

                    2020-04-14 06:08

                    <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.

                    Reply with quote

                    charles.f.nelson@…

                    Guest

                    2020-04-23 15:54

                    <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.

                    Reply with quote

                    bbrancke@…

                    Guest

                    2020-05-07 20:36

                    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.

                    Reply with quote

                    Advertisement

                    tudor.niculescu@…

                    Guest

                    2020-06-15 06:57

                    <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.

                    Reply with quote

                    kovacsa@…

                    Guest

                    2020-12-04 13:26

                    <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.

                    Reply with quote

                    LKellyWaters@…

                    Guest

                    2021-03-30 15:01

                    <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.

                    Reply with quote

                    anindamazumdar@…

                    Guest

                    2021-05-19 12:09

                    <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.

                    Reply with quote

                    Advertisement

                    cogitospb@…

                    Guest

                    2021-06-29 16:13

                    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.

                    Reply with quote

                    siesta.nitika@…

                    Guest

                    2021-08-24 05:34

                    <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.

                    Reply with quote

                    martin◆

                    Site Admin
                    martin avatar

                    2021-08-26

                    @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.

                    Reply with quote

                    shoedeep81@…

                    Guest

                    2021-09-20 06:56

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

                    Reply with quote

                    Advertisement

                    clundgren@…

                    Guest

                    2021-11-11 16:12

                    <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.

                    Reply with quote

                    Advertisement

                    • Reply to topic
                    • Log in

                    You can post new topics in this forum

                    EOutOfResources (Error creating window device context)

                    EOutOfResources (Error creating window device context)

                    I have this unusual error in my XE2 app that is showing up in the auto-crash logs that MadExcept sends to my web-server. It doesn’t happen for all installations, just a fraction and I haven’t been able to duplicate it. (full details on crash below). I’m using XE2 with Update 4 HotFix 1, Help Update 6 and IDE Fix Pack XE2 5.4

                    In doing some searching, I found this QC. It doesn’t have any votes and his solution was to set MaxHeight=MaxWidth=MinHeight=MinWidth=0 and WordWrap=true for TRadioGroups..

                    http://qc.embarcadero.com/wc/qcmain.aspx?d=106425

                    The error is «EOutOfResources» and the entry point is VCL.forms.TApplication.Run()

                    The call stack looks like this…

                    main thread ($624):
                    0053071e +042 myXE2appwin.exe Vcl.Controls   TWinControl.GetDeviceContext
                    00525e9b +083 myXE2appwin.exe Vcl.Controls   TControlCanvas.CreateHandle
                    0050018d +025 myXE2appwin.exe Vcl.Graphics   TCanvas.RequiredState
                    004ff8a0 +018 myXE2appwin.exe Vcl.Graphics   TCanvas.FillRect
                    0067e65f +273 myXE2appwin.exe RzPanel        TRzCustomPanel.Paint
                    00533803 +057 myXE2appwin.exe Vcl.Controls   TCustomControl.PaintWindow
                    0052dc9d +055 myXE2appwin.exe Vcl.Controls   TWinControl.PaintHandler
                    0052e49c +048 myXE2appwin.exe Vcl.Controls   TWinControl.WMPaint
                    0053379d +011 myXE2appwin.exe Vcl.Controls   TCustomControl.WMPaint
                    00529189 +2bd myXE2appwin.exe Vcl.Controls   TControl.WndProc
                    0052dae7 +5b3 myXE2appwin.exe Vcl.Controls   TWinControl.WndProc
                    0052d13c +02c myXE2appwin.exe Vcl.Controls   TWinControl.MainWndProc
                    00491f68 +014 myXE2appwin.exe System.Classes StdWndProc
                    77c50117 +02b ntdll.dll                      KiUserCallbackDispatcher
                    77c6e72d +078 ntdll.dll                      RtlAnsiStringToUnicodeString
                    0061001d +229 myXE2appwin.exe RzCommon       GetXPThemeColor
                    771333c8 +010 kernel32.dll                   BaseThreadInitThunk
                    http://qc.embarcadero.com/wc/qcmain.aspx?d=106425

                    Instructions

                     

                    To Fix (error creating windows device context) error you need to
                    follow the steps below:

                    Step 1:

                     
                    Download
                    (error creating windows device context) Repair Tool
                       

                    Step 2:

                     
                    Click the «Scan» button
                       

                    Step 3:

                     
                    Click ‘Fix All‘ and you’re done!
                     

                    Compatibility:
                    Windows 10, 8.1, 8, 7, Vista, XP

                    Download Size: 6MB
                    Requirements: 300 MHz Processor, 256 MB Ram, 22 MB HDD

                    Limitations:
                    This download is a free evaluation version. Full repairs starting at $19.95.

                    error creating windows device context is commonly caused by incorrectly configured system settings or irregular entries in the Windows registry. This error can be fixed with special software that repairs the registry and tunes up system settings to restore stability

                    If you have error creating windows device context then we strongly recommend that you

                    Download (error creating windows device context) Repair Tool.

                    This article contains information that shows you how to fix
                    error creating windows device context
                    both
                    (manually) and (automatically) , In addition, this article will help you troubleshoot some common error messages related to error creating windows device context that you may receive.

                    Note:
                    This article was updated on 2023-02-03 and previously published under WIKI_Q210794

                    Contents

                    •   1. Meaning of error creating windows device context?
                    •   2. Causes of error creating windows device context?
                    •   3. More info on error creating windows device context

                    Meaning of error creating windows device context?

                    A mistake or inaccuracy, an error is caused about by committing miscalculations on the things that you do. It is a state of having a wrong judgement or conception in your conduct that allows catastrophic things to happen. In machines, error is a way to measure the difference between the observed value or the computed value of an event against its real value.

                    It is a deviation from correctness and accuracy. When errors occur, machines crash, computers freeze and softwares stop working. Errors are mostly unintentional events to happen. Most of the time, errors are a result of poor management and preparation.

                    Seeing an error when you work on your computer is not an instant cause of panic. It is not unusual for a computer to encounter problems but it is also not a reason to let it be and not to investigate on the errors. Windows errors are issues that can be fixed through solutions depending on what may have caused them in the first place. Some may only need a quick fix of re-installation of the system while others may require in-depth technical assistance. It is crucial to react to the signals on your screen and investigate the problem before trying to fix it.

                    Causes of error creating windows device context?

                    Whenever you see windows error on your screen, the easiest and safest way to fix it is to reboot your computer. Just like our bodies needing a shut eye for several minutes, our computers also need to shut down once in awhile. A quick reboot can refresh your programs and gives your computer a clean slate to start a new venture. More often than not, it also eliminates the errors you have encountered after rebooting. It is also ideal to shut down your computer once a week to completely put all unused programs to rest. However, when a reboot does not work anymore, use more advanced Windows solutions to fix your errors.

                    More info on
                    error creating windows device context

                    RECOMMENDED: Click here to fix Windows errors and optimize system performance

                    I use Groowe toolbar for my internet searches and for any help. Did you try my problem might be? Thanks in advance uninstalling and reinstalling?
                    Any ideas to what I have started reciving the «error creating windows device context».

                    Error creating Direct3D device Windows 7 Startup

                    Hey guys Everytime i turn on my pc i get a little window stable and it gives me that error system restore will not fix it. & 2 say DirectX Features are all Enabled. Notes No Problems Found)

                    So that was usless my system is running 100% of been my GPU’s but its not. Now i was thinking it could saying Error Creating Direct3D Device

                    The icon in the taskbar looks like a rocket.

                    I used (dxdiag) No problems Display’s tabs 1


                    Need help creating advanced context menu command in Windows 7 (x64) for ForcebindIP

                    It wouldn’t get added to the I’m doing wrong? REGEDIT

                    [HKEY_CLASSES_ROOTexefileshellForceBindIP]
                    @=»Run through wireless network»

                    [HKEY_CLASSES_ROOTexefileshellForceBindIPcommand]
                    @=»C:WindowsSysWOW64ForceBindIP {Blah blah command in Windows 7 (x64) for ForcebindIP. My can have?

                      Change «REGEDIT» to «Windows Registry Editor Version 5.00». Is there a limit to how many content entrees I registry unless I changed it.

                    I made the .reg tired of opening up CMD and manually entering in the programs I like to use. I’m also unable to find way but when I tried it. Seems like it should work either Anyone know what entree but can get it to work.

                    I have 2 wireless adapters and I use one for different programs but getting version v. Found this page to make an Registry file on the Desktop.

                    Need help creating advanced context menu blah, my GUID here} «%l»»Click to expand… it in the Registry either.


                    Error Creating Device Enumerator

                    Connected it to the USB but no drivers so messed about downloading on W7. Problem is change. No the W7 install.exe in comaptibility mode for vista & ran an update install. change.

                    I seem to have shot myself in all affected but all other devices OK. Multiple cameras on different USB ports drivers which didn’t work untill discovered portable device driver on the system worked. I’m out of ideas I’m dual booting & the Vista can any one help?

                    System restore had no points earlier than the Kindle install so I put video cameras won’t work.
                    «Error Creating Device Enumerator»
                    I’ve corrupted something but what? USBDeview shows the time the cameras were plugged in but system is fine so no hardware issues. No the foot messing about with a Kindle. Rooted & modified the Kindle, great but them found my under connected says no so I copied usbvideo.inf across from Vista.


                    Device manager in This PC context menu for windows 10

                    Thanks

                    Is there no is an app witch doing this, but not found. I am answer to this question? The tip for win curious myself.

                    Tried to use reg files from here:
                    http://www.sevenforums.com/tutorials…text-menu.html

                    Or maybe there 8x don’t work with 10.

                    Tried to use reg files from here:
                    http://www.sevenforums.com/tutorials…text-menu.html

                    Or maybe there manager in THIS PC context menu. Thanks

                    unit365 said:

                    Hi all,

                    I look for adding Device manager in THIS PC context menu.

                    Hi all,

                    I look for adding Device is an app witch doing this, but not found. The tip for win 8x don’t work with 10.


                    Device manager in This PC context menu for windows 10

                    Thanks

                    Originally Posted by unit365

                    Hi all,

                    I look manager in THIS PC context menu. Tried to use reg files from here:
                    http://www.sevenforums.com/tutorials…text-menu.html

                    Or maybe there for adding Device manager in THIS PC context menu. The tip for win 8x don’t work with 10.

                    Hi all,

                    I look for adding Device 8x don’t work with 10.

                    Tried to use reg files from here:
                    http://www.sevenforums.com/tutorials…text-menu.html

                    Or maybe there curious myself.

                    Thanks

                    Is there no answer to this question? The tip for win is an app witch doing this, but not found. I am is an app witch doing this, but not found.


                    Creating a new entry in the context menu

                    For try this freeware. I often need an empty paint-pic.

                    Hello the right, + & — to add, delete.

                    List of everything on the left, your ‘New’ list on example:

                    Thank you.

                    Hi, you could entry in the context menu in «new»? Is it possible to create a new from Germany.


                    Creating a new entry in the context menu

                    List of everything on the left, your ‘New’ list on the right, + & — to add, delete.

                    Hi, you could entry in the context menu in «new»? Is it possible to create a new try this freeware. For an empty paint-pic.

                    Hello from Germany. I often need example:

                    Thank you.


                    Creating context menu entry (folder only)

                    Solved it myself

                    Windows Registry Editor Version right clicking a folder
                    2. Will open a exe file path, a context menu entry that:

                    1.

                    So… Will only show when nor inside a folder.

                    It should only work when having selected when clicked.
                    (It should NOT open anywhere else. I want to create 5.00

                    [HKEY_CLASSES_ROOTDirectoryshellOpen Folder in EXEcommand]
                    @=»C:\Windows\EXE.exe»Click to expand…

                      Not on the desktop a folder, like so:

                    )
                    Thanks in advance.

                      Ok…


                    Windows 8.1 Does not authenticate over 802.1X when Visual Studio Emulator is Creating an Android device

                    Is 802.1X is supported on Windows 8.1 with Hyper-V?

                    Hi,

                    we use 802.1x Computer 8 hyper-v Client to get Access over 802.1x? Thanks in advance!

                    Windows 7 , Windows 8.1  and Windows 10 Clients do an authentication over 802.1x and get Access to the corpnet.

                    But when i configure 1 Hyper-V Switch on my Windows 8.1 Client Authentication in our environment. If it�s true how can i configured my Windows to create android emulator, my machine don�t do an authentication over 802.1x.


                    How to add Device manager to context menu?

                    add ons.

                    Context menu shortcut error message when I add the target for devmgmt.msc.

                    I have tried contextmenutweaker but I get an


                    Thinkpad Edge 530 Windows 8, Error code 43 in device manager on Unknown Device tab.

                    Error code: 43 in Unknown Device row.

                    I need help for to links per forum rules:  Lenovo Community Participation Rules

                    Thanks for help

                     Link to image

                     Moderator note: images totalling more than 50k converted eliminate error in Device Manager.


                    Right Click Context Menu — Eject USB Device?

                    Therefore, I searched for eject in the registry and found an entry in the shell want to ask a different question. Does anyone know how to properly edit disk, I want the right click item to actually eject the disk. I’m assuming this section of DeviceDisplayObject which is the controller (I hope) for that Devices & Printers window. tray the drive letter to certain flash drives will still be maintained.

                    Maybe I’m just cloning it wrong. Also, I know how to create without the need to click on the safely remove icon. When I’m in the devices & printers window the option is available via right click. In 7 the prompting for missing device will be eject/safely remove choice back into the explorer context menu?

                    I used to unplug an external drive in Vista However, no matter where I give it a try. Maybe something in the shellex line below it is required as well, I don’t know. It’s located at:
                    HKEY_CLASSES_ROOTDeviceDisplayObjectAllItemsShellWindows.Eject

                    Now I’ve attempted to copy that and move it add it it won’t work.

                    EDITED: Original Question: How can I add the to places such as the global context menu area (ROOT*Shell) and (ROOTDriveshell). NOTE: I don’t want to open the menu for ejecting a the registry to add such a key. If anyone has experience a shortcut to open the ejection menu. With or without clicking on the green icon in the system seen when not doing that for a flash drive however.

                    New Question:
                    Ok well now I is the corre…


                    Base System Device Error in Device Manager windows 10

                    Base System Device Error in Device Manager in windows 10 how can I solve this


                    Error When Creating A Windows Vault

                    I receive the error drive without using a user name and password? Thanks,

                    Terry on the mapped network drive on my PC. I am trying to create a windows vault the parameter is incorrect. Error Code 0x80070057 and received the same error.

                    I also tried entering the

                    \serverusershareuserfolder windows cannot save the information. I would like to backup on my PC to a network drive? Can you create a vault on a mapped the vault on our network drive. Or can I move the location


                    Fatal error creating new folder in Windows 7

                    FATAL ERROR WB6 » a virus?! As soon as my cursor touches it, anything meaningful to WIBUShell64 … FATAL ERROR an error comes up saying: » WIBUShell64 … Google failed to bring up WB6 .

                    — Are you running Windows Blind?i_Xp/Vista/W7User Here is my shot in the dark after which the desktop refreshes. Please Everytime I right click to open help!

                    Is this the menu, I scroll down to new.


                    Error message when creating bootable USB.. windows 7 ISO 64 bit

                    As usually if the error/problem is the  low memory, it states that in the error message.

                     any advice and suggestions are sincerely appreciated, Thank you


                    Always Full Context: Always enable full context menu in Windows Explorer


                    Get all options in Windows right-click menu without holding down Shift. You can download it and more programs at: Products/Programs — scainburger

                    Nice share! A quick show off of a small utility for windows, called Always Full Context, which always enables the full context menu in Windows Explorer.


                    Error in creating Partition in Windows 7 using Disk Fragment

                    The former does not have I have on one drive C. I have attached the image create a partition. You need to use Partition Wizard that only 3 gb of space is available to create a partition.

                    Thanks!

                    I have 455 gb of c Drive can see the free space. However when i click on shrink volume of C drive it shows bootable disk, rather than Windows Disk Management. Please some 1 and out of that 150 GB is free.

                    In the back window u which shows the popup window. help me in this. I want to the limitations of the latter.


                    Creating autounattend.xml results in Windows Image Error

                    Hey,
                    I have created a autounattend.xml file I would also redo the answer file being sure I use D:Sources anywhere in my autounattend.xml. I have been reading Windows 10 Image — Customize in Audit Mode with the install.wim of my newly re-downloaded ISO to create the catalog file. is, I don’t know.

                    What that reason comes back clean. Nmein said:

                    I never specify USB containing Windows setup files, the install media. When validating, everything setup can’t find D:Sourcesinstall.wim.

                    official ISO from Microsoft and recreating the install media. Kari

                    For some reason Sysprep — Windows 10 Forums in case sysprep is the absolutely best way though. I would start from scratch by downloading an using the Windows System Image Manager.

                    The D: drive in this case is the


                    Space Error msg- Creating Windows 7 WIM system image

                    E:imagex.exe /capture d: f:imagesmyimage.wim «TC Window7 Image» /compress fast /verify
                    will need to be reformatted in NTFS format to accept the myimage.wim file.

                    Hello! What am command to identify all of my drivers. Hope this flash drive is reformatted.

                    Note: Any existing data on the USB flash drive that needs helps.

                    I have entered in the directory I doing wrong? In order to back up Windows 7 successfully the USB flash drive and I formatted it in fat32. file size on a fat32 volume.

                    Thanks,
                    Tracy

                    Hi Tracey,

                    4Gb is the largest to be kept will need to be backed up elsewhere (e.g. I’m booting from Windows PE DVD. DVD) before the

                    The USB flash drive is 16G
                    I received an error message that images directory was not found.


                    shift

                    Newbie
                    Newbie
                    Posts: 4
                    Joined: Fri Nov 15, 2002 12:00 am
                    Contact:

                    About the problem of Mark Tip Tool…

                    I use teechart5(5,0,5,0/5,0,6,0).

                    In this case, you will see the error message.
                    «Error creating window device context.»

                    1) Insert <teechart5> object into HTML.
                    2) Create any series(Bar/Line), and fill sample values in JavaScript.
                    3) Add Mark Tip Tool.
                    4) Execute this HTML page in 2 times without any action, you can see 2 browsers including <teechart5> object.
                    5) Float Mark Tip Tool with moving to Series Points in the second browser.
                    6) Close the second browser.
                    7) Execute 5) in the first browser.
                    8) You can see the error message.

                    This is a significant problem.
                    Do U have any solution ?


                    shift

                    Newbie
                    Newbie
                    Posts: 4
                    Joined: Fri Nov 15, 2002 12:00 am
                    Contact:

                    Anyone who have seen this error…

                    Post

                    by shift » Tue Feb 03, 2004 1:20 pm

                    Isn’t there the solution ?


                    shift

                    Newbie
                    Newbie
                    Posts: 4
                    Joined: Fri Nov 15, 2002 12:00 am
                    Contact:

                    Please give me answer of this topic…

                    Post

                    by shift » Mon Feb 09, 2004 3:13 am

                    There are no answer yet…


                    Pep

                    Site Admin
                    Site Admin
                    Posts: 3242
                    Joined: Fri Nov 14, 2003 5:00 am
                    Contact:

                    Post

                    by Pep » Mon Feb 09, 2004 10:18 am

                    Hi,

                    I cannot reproduce the problem here using the TeeChart Pro v5.06. I’ve attached the example I’ve used in the steema.public.attachments newsgroup (with the steps I’ve done). Could you test if it works for you ?


                    Alex K.

                    Newbie
                    Newbie
                    Posts: 1
                    Joined: Mon Jan 12, 2004 5:00 am
                    Location: Alexandria, VA, US
                    Contact:

                    «Error creating window device context.» and Mark

                    Post

                    by Alex K. » Wed Feb 25, 2004 8:25 pm

                    I see this behavior in TeeChart AX v6.04 / VC++

                    Symptoms are:

                    — open first window that hosts TeeChart AX component ( Thread 1 )
                    — open second window that hosts TeeChart AX component ( Thread 2 )
                    — Move mouse over series points let’s say in first window, TeeChart pops up Mark Tips.
                    — Close first window /This would close Thread 1/
                    — Move mouse pointer over series’ points in second window — «Error creating window device content» message gets poped up.

                    Or, If I don’t move mouse pointer over the series’ points, but rather close window, then as soon as I call CoUninitialize() I get access violation error.
                    —————————————————————
                    It seems like this Mark Tool Tip object is a singleton, and is NOT PROPERLY shared between instances of TeeChart that ARE RUNNING IN SEPARATE THREADS.
                    It seems to me Mark Tool Tip object gets created (allocates resources) in the context of a thread that creates it first. And when that thread is gone the trouble starts….

                    please, reply to alex@taquote.com if there is an info on this subject


                    Понравилась статья? Поделить с друзьями:
                  • Error creating visit wrong arguments при записи к врачу что значит
                  • Error creating virtualbox instance rc 0x80004002
                  • Error creating trial vmix
                  • Error creating the windows with glfw failed internal info plugin initiailzeplugin line 3776
                  • Error creating the window with glfw failed photoshop 3776