How did everything happen?
- Windows 10 Pro 1803 build 17134.167
- AVG Internet Security 2018
- RAD Studio XE10.2.3 Arch
- Project VCL "MDI Application wizard" from Delphi
Seeing several reports of errors when debugging projects in Delphi in 64bit, I decided to do the following test:
1 - File, New, Others, Delphi Projects, MDI Application (-> VCL project)
2 - Target Platform: Win64
3 - press F9 (run with debug)
4 - AVG Int. Security 2018 ask permission to execute Dbkw64_25_0.exe and ADB.exe (but my project is VCL not Firemonkey)
5 - compilation ok, and when will it run ...
6 - this message appears
NOTE:
The 64bit executable is usually created in the Debug folder (64bit), and can be run directly by Windows Explorer without any apparent error.
Only when run by Delphi in Debug mode is it shows the error and ends with the message below.
Debugger Assertion Failure "apiOK" in ..\win32src\w64mgr.cpp at line 79
-- BUT this where is the file "w64mgr.cpp" in RAD Studio? dont exist!
[203B6D80]{dbkdebugide250.bpl} Debug.TDebugKernel.msgBox (Line 5945, "Debug.pas" + 30) + $0
[04406EB3]{bordbk250.dll} Unknown function at DllUnregisterServer + $5037
[044237D6]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98FE
[044B7FC9]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9E0F1
[0441A660]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $788
[0441A6DB]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $803
[044B17AD]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $978D5
[0456B134]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $302BC
[0453DBB5]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $2D3D
[04571FB3]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $113F
[0457176F]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $8FB
[500678A9]{rtl250.bpl } System.@IntfCopy (Line 37286, "System.pas" + 6) + $0
[044C0CC5]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A6DED
[0440908C]{bordbk250.dll} Unknown function at DllUnregisterServer + $7210
[044BF91B]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A5A43
[044B214A]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98272
[044B2AA4]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98BCC
[044B28D3]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $989FB
[044B2033]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9815B
[044B1999]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97AC1
[044B1521]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97649
[04407AEC]{bordbk250.dll} Unknown function at DllUnregisterServer + $5C70
[203B5A77]{dbkdebugide250.bpl} Debug.TDebugKernel.CreateProcess (Line 5464, "Debug.pas" + 17) + $63
[203BD534]{dbkdebugide250.bpl} Debug.TProcess.CreateProcess (Line 9035, "Debug.pas" + 1) + $2D
[203C4535]{dbkdebugide250.bpl} Debug.TDebugger.DoCreateProcess (Line 11955, "Debug.pas" + 74) + $24
[203C46D0]{dbkdebugide250.bpl} Debug.TDebugger.CreateProcess (Line 11982, "Debug.pas" + 7) + $2F
[203C5203]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12391, "Debug.pas" + 23) + $33
[203C5F27]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12755, "Debug.pas" + 164) + $4D
[203BFDF6]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 10366, "Debug.pas" + 0) + $2
[20841A05]{coreide250.bpl} DebuggerMgr.TDebuggerMgr.Run (Line 2050, "DebuggerMgr.pas" + 4) + $F
[004A2CE7]{bds.exe } AppMain.TAppBuilder.RunRun (Line 3257, "AppMain.pas" + 0) + $7
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50AE51B4]{vcl250.bpl } Vcl.Controls.TControl.Click (Line 7452, "Vcl.Controls.pas" + 7) + $7
[50B63D84]{vcl250.bpl } Vcl.ComCtrls.TToolButton.Click (Line 21638, "Vcl.ComCtrls.pas" + 0) + $0
[50AE5687]{vcl250.bpl } Vcl.Controls.TControl.WMLButtonUp (Line 7593, "Vcl.Controls.pas" + 7) + $6
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[5005FD9F]{rtl250.bpl } System.TObject.Dispatch (Line 17812, "System.pas" + 11) + $0
[0C068A76]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.WndProc + $7A
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[0C06852B]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.HandleMessage + $B7
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[50063F40]{rtl250.bpl } System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE8F06]{vcl250.bpl } Vcl.Controls.GetControlAtPos (Line 9931, "Vcl.Controls.pas" + 4) + $75
[50AE8FCE]{vcl250.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 9954, "Vcl.Controls.pas" + 13) + $E
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE909C]{vcl250.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9978, "Vcl.Controls.pas" + 15) + $29
[50AE96A4]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10155, "Vcl.Controls.pas" + 112) + $6
[50B65EA9]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 22916, "Vcl.ComCtrls.pas" + 11) + $27
[50B65EEA]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 22927, "Vcl.ComCtrls.pas" + 3) + $4
[50B68918]{vcl250.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24512, "Vcl.ComCtrls.pas" + 104) + $6
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[005088F2]{bds.exe } bds.bds (Line 212, "" + 7) + $7
- Windows 10 Pro 1803 build 17134.167
- AVG Internet Security 2018
- RAD Studio XE10.2.3 Arch
- Project VCL "MDI Application wizard" from Delphi
Seeing several reports of errors when debugging projects in Delphi in 64bit, I decided to do the following test:
1 - File, New, Others, Delphi Projects, MDI Application (-> VCL project)
2 - Target Platform: Win64
3 - press F9 (run with debug)
4 - AVG Int. Security 2018 ask permission to execute Dbkw64_25_0.exe and ADB.exe (but my project is VCL not Firemonkey)
5 - compilation ok, and when will it run ...
6 - this message appears
NOTE:
The 64bit executable is usually created in the Debug folder (64bit), and can be run directly by Windows Explorer without any apparent error.
Only when run by Delphi in Debug mode is it shows the error and ends with the message below.
Debugger Assertion Failure "apiOK" in ..\win32src\w64mgr.cpp at line 79
-- BUT this where is the file "w64mgr.cpp" in RAD Studio? dont exist!
[203B6D80]{dbkdebugide250.bpl} Debug.TDebugKernel.msgBox (Line 5945, "Debug.pas" + 30) + $0
[04406EB3]{bordbk250.dll} Unknown function at DllUnregisterServer + $5037
[044237D6]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98FE
[044B7FC9]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9E0F1
[0441A660]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $788
[0441A6DB]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $803
[044B17AD]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $978D5
[0456B134]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $302BC
[0453DBB5]{bordbk250N.dll} Unknown function at @isDbkLoggingOn$qv + $2D3D
[04571FB3]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $113F
[0457176F]{bordbk250N.dll} Unknown function at POSTEDHOOKPROC + $8FB
[500678A9]{rtl250.bpl } System.@IntfCopy (Line 37286, "System.pas" + 6) + $0
[044C0CC5]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A6DED
[0440908C]{bordbk250.dll} Unknown function at DllUnregisterServer + $7210
[044BF91B]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $A5A43
[044B214A]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98272
[044B2AA4]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $98BCC
[044B28D3]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $989FB
[044B2033]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $9815B
[044B1999]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97AC1
[044B1521]{bordbk250.dll} Unknown function at @isDbkLoggingOn$qv + $97649
[04407AEC]{bordbk250.dll} Unknown function at DllUnregisterServer + $5C70
[203B5A77]{dbkdebugide250.bpl} Debug.TDebugKernel.CreateProcess (Line 5464, "Debug.pas" + 17) + $63
[203BD534]{dbkdebugide250.bpl} Debug.TProcess.CreateProcess (Line 9035, "Debug.pas" + 1) + $2D
[203C4535]{dbkdebugide250.bpl} Debug.TDebugger.DoCreateProcess (Line 11955, "Debug.pas" + 74) + $24
[203C46D0]{dbkdebugide250.bpl} Debug.TDebugger.CreateProcess (Line 11982, "Debug.pas" + 7) + $2F
[203C5203]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12391, "Debug.pas" + 23) + $33
[203C5F27]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 12755, "Debug.pas" + 164) + $4D
[203BFDF6]{dbkdebugide250.bpl} Debug.TDebugger.Run (Line 10366, "Debug.pas" + 0) + $2
[20841A05]{coreide250.bpl} DebuggerMgr.TDebuggerMgr.Run (Line 2050, "DebuggerMgr.pas" + 4) + $F
[004A2CE7]{bds.exe } AppMain.TAppBuilder.RunRun (Line 3257, "AppMain.pas" + 0) + $7
[5016DE67]{rtl250.bpl } System.Classes.TBasicAction.Execute (Line 16904, "System.Classes.pas" + 6) + $1
[50ACDD82]{vcl250.bpl } Vcl.ActnList.TCustomAction.Execute (Line 260, "Vcl.ActnList.pas" + 19) + $35
[5016DCD3]{rtl250.bpl } System.Classes.TBasicActionLink.Execute (Line 16813, "System.Classes.pas" + 3) + $3
[50AE51B4]{vcl250.bpl } Vcl.Controls.TControl.Click (Line 7452, "Vcl.Controls.pas" + 7) + $7
[50B63D84]{vcl250.bpl } Vcl.ComCtrls.TToolButton.Click (Line 21638, "Vcl.ComCtrls.pas" + 0) + $0
[50AE5687]{vcl250.bpl } Vcl.Controls.TControl.WMLButtonUp (Line 7593, "Vcl.Controls.pas" + 7) + $6
[50AE4C5E]{vcl250.bpl } Vcl.Controls.TControl.WndProc (Line 7338, "Vcl.Controls.pas" + 91) + $6
[5005FD9F]{rtl250.bpl } System.TObject.Dispatch (Line 17812, "System.pas" + 11) + $0
[0C068A76]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.WndProc + $7A
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[0C06852B]{themeloader250.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.HandleMessage + $B7
[50067898]{rtl250.bpl } System.@IntfClear (Line 37239, "System.pas" + 10) + $0
[50063F40]{rtl250.bpl } System.@FinalizeArray (Line 32154, "System.pas" + 139) + $0
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE8F06]{vcl250.bpl } Vcl.Controls.GetControlAtPos (Line 9931, "Vcl.Controls.pas" + 4) + $75
[50AE8FCE]{vcl250.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 9954, "Vcl.Controls.pas" + 13) + $E
[50AE4898]{vcl250.bpl } Vcl.Controls.TControl.Perform (Line 7116, "Vcl.Controls.pas" + 10) + $8
[50AE909C]{vcl250.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9978, "Vcl.Controls.pas" + 15) + $29
[50AE96A4]{vcl250.bpl } Vcl.Controls.TWinControl.WndProc (Line 10155, "Vcl.Controls.pas" + 112) + $6
[50B65EA9]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonState (Line 22916, "Vcl.ComCtrls.pas" + 11) + $27
[50B65EEA]{vcl250.bpl } Vcl.ComCtrls.TToolBar.UpdateButtonStates (Line 22927, "Vcl.ComCtrls.pas" + 3) + $4
[50B68918]{vcl250.bpl } Vcl.ComCtrls.TToolBar.WndProc (Line 24512, "Vcl.ComCtrls.pas" + 104) + $6
[50AE8E10]{vcl250.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9908, "Vcl.Controls.pas" + 3) + $6
[5016EBCC]{rtl250.bpl } System.Classes.StdWndProc (Line 17408, "System.Classes.pas" + 11) + $2
[50C31E1F]{vcl250.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10641, "Vcl.Forms.pas" + 23) + $1
[50C31E62]{vcl250.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10671, "Vcl.Forms.pas" + 1) + $4
[50C32195]{vcl250.bpl } Vcl.Forms.TApplication.Run (Line 10809, "Vcl.Forms.pas" + 26) + $3
[005088F2]{bds.exe } bds.bds (Line 212, "" + 7) + $7