Menu

#166 Designer close when change the form type to MDIMain

v1.0_(example)
open
nobody
None
1
2024-01-19
2024-01-19
No

Hi,

When I change the form in the designer to MDIMain, it gives an error and closes the designer, with the following error:
Unrecoverable error 6005: Exception error:

Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:00007FFA55ADB243
RAX:0000000000000000  RBX:0000000000000008  RCX:0000000080000000  RDX:0000000000000000
RSI:0000000000000000  RDI:000000000072C740  RBP:00000000005FF001
R8 :00000000005FEDC0  R9 :00000000008C05E6  R10:00000000006B0000  R11:00000000005FEE00
R12:000000000121F120  R13:0000000000000002  R14:000000000121EB20  R15:0000000000000000
CS:RIP:0033:00007FFA55ADB243  SS:RSP:002B:00000000005FEF60
DS:002B  ES:002B  FS:0053  GS:002B
Flags:00010206
Exception Parameters: 0000000000000000 0000000000000128

Modules:
0000000140000000 00000000002E8000 E:\harbour_src\hwgui-code\hwgui\utils\designer\designer.exe
00007FFA562D0000 0000000000217000 C:\WINDOWS\SYSTEM32\ntdll.dll
00007FFA55840000 00000000000C4000 C:\WINDOWS\System32\KERNEL32.DLL
00007FFA53990000 00000000003A6000 C:\WINDOWS\System32\KERNELBASE.dll
00007FFA55D80000 00000000000B1000 C:\WINDOWS\System32\ADVAPI32.dll
...
00007FFA50F60000 000000000002B000 C:\WINDOWS\system32\dwmapi.dll
00007FFA494A0000 0000000000293000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2506_none_270c5ae97388e100\comctl32.DLL

Called from HWG_SETFOCUS(0) in source\common\editor\hceditb.prg
Called from HBROWSE:BUTTONUP(1745) in source\winapi\hbrowse.prg
Called from HBROWSE:ONEVENT(419) in source\winapi\hbrowse.prg
Called from HWG_ACTIVATEMAINWINDOW(0) in source\winapi\hwindow.prg
Called from HMAINWINDOW:ACTIVATE(397) in source\winapi\hwindow.prg
Called from MAIN(272) in designer.prg


I'm using harbour with mingw64
Harbour 3.2.0dev (r2311302136)
Copyright (c) 1999-2021, https://harbour.github.io/

Harbour Build Info

Version: Harbour 3.2.0dev (r2311302136)
Compiler: MinGW GNU C 10.2 (64-bit)
Platform: Windows 10 10.0
PCode version: 0.3
ChangeLog last entry: 2023-11-30 22:36 UTC+0100 Phil Krylov (phil a t krylov.eu)
ChangeLog ID: 1eda723153d6997c0dd2847a95acb4e5e5715d7d
Built on: Dec 4 2023 09:34:46
Build options: (Clipper 5.3b) (Clipper 5.x undoc)


Thanks to advance,

Discussion


Log in to post a comment.