ACTIVEX ACCESS_VIOLATION
Posted: Wed Mar 28, 2018 11:47 am
Hi Guys,
To create a windows TE Edit, I'm doing this:
It's working once, IF I close oWndEdt, when I try open it again the program is crashing and hb_out.log bellow is created always HB_GCALL is run
To create a windows TE Edit, I'm doing this:
Code: Select all
oActiveX = TActiveX():New( oWndEdt, "TOC21.Toc21Ctrl.1" )
oWndEdt:oClient = oActiveX // To fill the entire window surface
oActiveX:TerCommand(ID_RULER)
oActiveX:TerCommand(ID_TOOL_BAR)
oActiveX:TerCommand(ID_SHOW_PAGE_BORDER)
oActiveX:TerSetFlags4(1,TFLAG4_ONE_ROW_TOOLBAR)
oActiveX:TerRecreateToolbar(1)
Application Internal Error - C:\VFATEC\SFPDES\SFP.EXE
Terminated at: 2018-03-28 08:42:43
Unrecoverable error 6005: Exception error:
Exception Code:C0000005 ACCESS_VIOLATION
Exception Address:00000258
EAX:6C0154D4 EBX:06C4C950 ECX:06C4C950 EDX:6C117B24
ESI:00000258 EDI:06C456B8 EBP:0019ABF0
CS:EIP00000258 SS:ESP:002B:0019ABC4
DS:002B ES:002B FS:0053 GS:002B
Flags:00010206
Exception Parameters: 00000000 00000258
CS:EIP:
SS:ESP: 6C0E02AE 39E5BAD2 06C456B8 06C456B8 06C456B8 06C456B8 6C0331FF 39E5BAD2 0019AC00 6C04DA5C 00000005 0019AC28 08331B75 06C456B8 06C456B8 0019AC5C
C stack:
EIP: EBP: Frame: OldEBP, RetAddr, Params...
00000258 0019ABF0 0019AC28 08331B75 06C456B8 06C456B8 0019AC5C 0833B730 FFFFFFFF 08331AD8 08331AD0 6C07D8CE
08331B75 0019AC28 0019AC38 6C0E191B 00000000 39E5BD1A
6C0E191B 0019AC38 0019AC68 6C0C9894 39E5BD4A 00896E9C 06C456C8 0716A514 00000000 09ED36A8 39E5BD4A 0019B5CC
6C0C9894 0019AC68 0019AC74 6C0C96B0 39E5BD56
6C0C96B0 0019AC74 0019AC7C 6C0B3A20
6C0B3A20 0019AC7C 0019AC90 0045C409 06C456C8 07F81ACC 073A863C
0045C409 0019AC90 0019ACA8 004E3D6A 0716A514 00704918 00000000 046AE54C
004E3D6A 0019ACA8 0019ACCC 004E3EBC 00000001 004C8B28 0000015C 0000006D 046B20B4 00000000 00000000
004E3EBC 0019ACCC 0019ADE0 004C2805 00000000 005EB481 046AE54C 005D47E8 0022C300 77640431 77372DCC 77640E69
004C2805 0019ADE0 0019ADF0 0040B834 00704897 007020C4
0040B834 0019ADF0 0019AE14 004C8D01 00000000 046AE54C 00000159 0000006D 046B20B4 017B000E 0000022A
004C8D01 0019AE14 0019AF28 004C2946 00000000 FFFFFFFE 04705FE4 046AE54C 77372DCC 77640E69 3F01125C 00000007
004C2946 0019AF28 0019AF64 004C8ECC 005EB47C 005D45E8 006E2D77 046AE54C 006E1F28 004C8D01 00000000 046AE54C
004C8ECC 0019AF64 0019B078 004C2946 00000001 006ECF2F 046AE54C 006E8E90 0019B0C4 7433648E 09F06BE8 00000006
004C2946 0019B078 0019B088 00409CC9 006E2CDC 006E1E38
00409CC9 0019B088 0019B0AC 004C8D01 00000000 046AE54C 00000151 0000006D 0470DA44 02160008 000000B3
004C8D01 0019B0AC 0019B1C0 004C2946 00000000 006E4C0F 046AE54C 006E3D28 04650008 0019B148 004E219D 046501C8
004C2946 0019B1C0 0019B1D0 0040A76C 006ECEAC 006E7C80
0040A76C 0019B1D0 0019B1F4 004C8D01 00000000 046AE54C 0000014B 0000006D 0470DA44 011E0007 00000695
004C8D01 0019B1F4 0019B308 004C2946 00000003 00831798 046AE54C 00829194 081D9944 046AE54C 0019B22C 004CA1B3
Modules:
00400000 006AE000 C:\VFATEC\SFPDES\SFP.EXE
77710000 0018D000 C:\WINDOWS\SYSTEM32\ntdll.dll
76E70000 000D0000 C:\WINDOWS\System32\KERNEL32.DLL
74AE0000 001D7000 C:\WINDOWS\System32\KERNELBASE.dll
70360000 0009A000 C:\WINDOWS\SYSTEM32\apphelp.dll
6F770000 00250000 C:\WINDOWS\SYSTEM32\AcGenral.DLL
74840000 000BD000 C:\WINDOWS\System32\msvcrt.dll
74CC0000 00043000 C:\WINDOWS\System32\sechost.dll
76DB0000 000BE000 C:\WINDOWS\System32\RPCRT4.dll
74130000 00020000 C:\WINDOWS\System32\SspiCli.dll
74120000 0000A000 C:\WINDOWS\System32\CRYPTBASE.dll
74690000 00057000 C:\WINDOWS\System32\bcryptPrimitives.dll
74A90000 00045000 C:\WINDOWS\System32\SHLWAPI.dll
76AB0000 00246000 C:\WINDOWS\System32\combase.dll
76620000 00117000 C:\WINDOWS\System32\ucrtbase.dll
77580000 00022000 C:\WINDOWS\System32\GDI32.dll
775B0000 0015E000 C:\WINDOWS\System32\gdi32full.dll
741D0000 0007C000 C:\WINDOWS\System32\msvcp_win.dll
742D0000 00175000 C:\WINDOWS\System32\USER32.dll
77370000 00016000 C:\WINDOWS\System32\win32u.dll
74900000 000F7000 C:\WINDOWS\System32\ole32.dll
77390000 00093000 C:\WINDOWS\System32\OLEAUT32.dll
74D10000 01333000 C:\WINDOWS\System32\SHELL32.dll
74150000 00038000 C:\WINDOWS\System32\cfgmgr32.dll
74A00000 00088000 C:\WINDOWS\System32\shcore.dll
76050000 005C6000 C:\WINDOWS\System32\windows.storage.dll
74250000 00078000 C:\WINDOWS\System32\advapi32.dll
74800000 0000E000 C:\WINDOWS\System32\kernel.appcore.dll
76D60000 00045000 C:\WINDOWS\System32\powrprof.dll
74190000 00014000 C:\WINDOWS\System32\profapi.dll
72EC0000 00079000 C:\WINDOWS\SYSTEM32\UxTheme.dll
72E90000 00024000 C:\WINDOWS\SYSTEM32\WINMM.dll
72E70000 00015000 C:\WINDOWS\SYSTEM32\samcli.dll
72E50000 00019000 C:\WINDOWS\SYSTEM32\MSACM32.dll
740B0000 00008000 C:\WINDOWS\SYSTEM32\VERSION.dll
74050000 00022000 C:\WINDOWS\SYSTEM32\USERENV.dll
70D90000 00023000 C:\WINDOWS\SYSTEM32\dwmapi.dll
6F5E0000 0018C000 C:\WINDOWS\SYSTEM32\urlmon.dll
741B0000 00019000 C:\WINDOWS\System32\imagehlp.dll
701E0000 0006C000 C:\WINDOWS\SYSTEM32\WINSPOOL.DRV
70D70000 00017000 C:\WINDOWS\SYSTEM32\MPR.dll
70D40000 00023000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
6F050000 0021A000 C:\WINDOWS\SYSTEM32\iertutil.dll
73EF0000 00030000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
73330000 00019000 C:\WINDOWS\SYSTEM32\bcrypt.dll
74810000 00025000 C:\WINDOWS\System32\IMM32.DLL
746F0000 000D4000 C:\WINDOWS\System32\COMDLG32.DLL
76A40000 00066000 C:\WINDOWS\System32\WS2_32.DLL
59600000 002CA000 C:\VFATEC\SFPDES\LIBMYSQL.DLL
70840000 00211000 C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.16299.309_none_5d7d0b9ba7da9417\COMCTL32.DLL
72F40000 00006000 C:\WINDOWS\SYSTEM32\MSIMG32.DLL
5DA80000 00026000 C:\WINDOWS\SYSTEM32\OLEDLG.DLL
6CD40000 0016B000 C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.16299.309_none_8e67fe81026d0de5\GDIPLUS.DLL
5AE40000 000D5000 C:\Program Files\Diebold\Warsaw\wslbscr32.dll
73200000 00028000 C:\WINDOWS\SYSTEM32\ntmarta.dll
5A040000 000BE000 C:\Program Files\Diebold\Warsaw\wslbscrwh32.dll
744E0000 00144000 C:\WINDOWS\System32\MSCTF.dll
74450000 00082000 C:\WINDOWS\System32\clbcatq.dll
60A00000 00040000 C:\WINDOWS\system32\wbem\wbemdisp.dll
6BD90000 00068000 C:\WINDOWS\SYSTEM32\wbemcomn.dll
6BE00000 0000D000 C:\WINDOWS\system32\wbem\wbemprox.dll
6CCB0000 00086000 C:\WINDOWS\SYSTEM32\sxs.dll
609E0000 0001D000 C:\WINDOWS\system32\wbem\wmiutils.dll
6BD80000 00010000 C:\WINDOWS\system32\wbem\wbemsvc.dll
6BCC0000 000C0000 C:\WINDOWS\system32\wbem\fastprox.dll
5DB40000 00011000 C:\WINDOWS\system32\napinsp.dll
5DB20000 00016000 C:\WINDOWS\system32\pnrpnsp.dll
5DB00000 00013000 C:\WINDOWS\system32\NLAapi.dll
70E90000 00055000 C:\WINDOWS\System32\mswsock.dll
70010000 00094000 C:\WINDOWS\SYSTEM32\DNSAPI.dll
747F0000 00007000 C:\WINDOWS\System32\NSI.dll
5DAF0000 0000C000 C:\WINDOWS\System32\winrnr.dll
5DAE0000 00010000 C:\WINDOWS\System32\wshbth.dll
70000000 00008000 C:\Windows\System32\rasadhlp.dll
60630000 00077000 C:\WINDOWS\System32\TextInputFramework.dll
60310000 00234000 C:\WINDOWS\System32\CoreUIComponents.dll
60280000 0008C000 C:\WINDOWS\System32\CoreMessaging.dll
61710000 000CB000 C:\WINDOWS\SYSTEM32\wintypes.dll
10000000 00200000 C:\VFATEC\SFPDES\freeimage.dll
59FB0000 00087000 C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll
5C940000 0003D000 C:\WINDOWS\SYSTEM32\edputil.dll
5E100000 00432000 C:\WINDOWS\system32\explorerframe.dll
59490000 0016F000 C:\WINDOWS\system32\DUI70.dll
5B3C0000 0007A000 C:\WINDOWS\system32\DUser.dll
6CF40000 0016E000 C:\WINDOWS\SYSTEM32\WindowsCodecs.dll
5B310000 0004E000 C:\Windows\System32\thumbcache.dll
6C1F0000 00069000 C:\WINDOWS\SYSTEM32\policymanager.dll
6C180000 00067000 C:\WINDOWS\SYSTEM32\msvcp110_win.dll
5DE10000 00048000 C:\WINDOWS\system32\dataexchange.dll
5DD10000 000FE000 C:\WINDOWS\system32\dcomp.dll
679C0000 0023E000 C:\WINDOWS\system32\d3d11.dll
67920000 00093000 C:\WINDOWS\system32\dxgi.dll
5DBD0000 00134000 C:\WINDOWS\system32\twinapi.appcore.dll
5DBB0000 0001A000 C:\WINDOWS\system32\RMCLIENT.dll
590A0000 00134000 C:\Windows\System32\Windows.Globalization.dll
5E040000 00050000 C:\Windows\System32\Bcp47Langs.dll
5DA50000 00024000 C:\WINDOWS\SYSTEM32\globinputhost.dll
706B0000 0017A000 C:\WINDOWS\SYSTEM32\PROPSYS.dll
5B2D0000 00009000 C:\WINDOWS\System32\drprov.dll
730E0000 00045000 C:\WINDOWS\System32\WINSTA.dll
5AE20000 00012000 C:\WINDOWS\System32\ntlanman.dll
5A250000 00019000 C:\WINDOWS\System32\davclnt.dll
5B2C0000 0000A000 C:\WINDOWS\System32\DAVHLPR.dll
70830000 00010000 C:\WINDOWS\System32\wkscli.dll
73130000 0000F000 C:\WINDOWS\SYSTEM32\cscapi.dll
73350000 0000B000 C:\WINDOWS\System32\netutils.dll
6EFF0000 00056000 C:\WINDOWS\system32\OLEACC.dll
58F00000 0019E000 C:\Windows\System32\uiautomationcore.dll
5B4D0000 0000D000 C:\WINDOWS\S
Called from HB_GCALL(0)
Called from TDIALOG:END(554) in .\source\classes\DIALOG.PRG
Called from (b)IMPFUNC(2284) in \tec2000\SFP10\SFP140.PRG
Called from TBUTTONBMP:CLICK(179) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1685) in .\source\classes\CONTROL.PRG
Called from TBUTTONBMP:HANDLEEVENT(261) in .\source\classes\BUTTONB.PRG
Called from _FWH(3348) in .\source\classes\WINDOW.PRG
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(424) in .\source\classes\DIALOG.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(922) in .\source\classes\DIALOG.PRG
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(296) in .\source\classes\DIALOG.PRG
Called from IMPFUNC(2287) in \tec2000\SFP10\SFP140.PRG
Called from (b)SFP140A(251) in \tec2000\SFP10\SFP140.PRG
Called from TBUTTONBMP:CLICK(179) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1685) in .\source\classes\CONTROL.PRG
Called from TBUTTONBMP:HANDLEEVENT(261) in .\source\classes\BUTTONB.PRG
Called from _FWH(3348) in .\source\classes\WINDOW.PRG
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(424) in .\source\classes\DIALOG.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(922) in .\source\classes\DIALOG.PRG
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(296) in .\source\classes\DIALOG.PRG
Called from SFP140A(263) in \tec2000\SFP10\SFP140.PRG
Called from (b)SFP140(82) in \tec2000\SFP10\SFP140.PRG
Called from TBUTTONBMP:CLICK(179) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1685) in .\source\classes\CONTROL.PRG
Called from TBUTTONBMP:HANDLEEVENT(261) in .\source\classes\BUTTONB.PRG
Called from _FWH(3348) in .\source\classes\WINDOW.PRG
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(424) in .\source\classes\DIALOG.PRG
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(922) in .\source\classes\DIALOG.PRG
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(296) in .\source\classes\DIALOG.PRG
Called from SFP140(87) in \tec2000\SFP10\SFP140.PRG
Called from CHAMAPRG(66) in chamaprg.prg
Called from (b)DEFBTNBARSIS(110) in VFAMENU.prg
Called from TRBTN:CLICK(717) in .\source\classes\TRBTN.PRG
Called from TRBTN:LBUTTONUP(917) in .\source\classes\TRBTN.PRG
Called from TCONTROL:HANDLEEVENT(1721) in .\source\classes\CONTROL.PRG
Called from TRBTN:HANDLEEVENT(1575) in .\source\classes\TRBTN.PRG
Called from _FWH(3348) in .\source\classes\WINDOW.PRG
Called from WINRUN(0)
Called from TMDIFRAME:ACTIVATE(1037) in .\source\classes\WINDOW.PRG
Called from START(84) in \tec2000\SFP10\SFP.PRG
------------------------------------------------------------------------