当我在表单上放置TidSMTP时发生访问冲突 [英] Access Violation when i drop a TidSMTP on a Form

查看:165
本文介绍了当我在表单上放置TidSMTP时发生访问冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Delphi XE4中遇到问题:当我放下窗体TIdSmtp或TIsSSLIOHandlerSocketOpenSSL时,我会收到此错误:

  [511EDABF] {IndySystem180.bpl} IdStack.TIdStack.IncUsage(第688行, IdStack.pas + 11)+ $ 7 
[511EEBB2] {IndySystem180.bpl} IdComponent.TIdComponent.InitComponent(第229行, IdComponent.pas + 1)+ $ 5
[50EE84A2] {IndyCore180.bpl} IdTCPConnection.TIdTCPConnection.InitComponent(第912行, IdTCPConnection.pas +1)+ $ 2
[50EE0D99] {IndyCore180。 bpl} IdTCPClient.TIdTCPClientCustom.InitComponent(第256行, IdTCPClient.pas +1)+ $ 2
[50FC53D5] {IndyProtocols180.bpl} IdExplicitTLSClientServerBase.TIdExplicitTLSClient.InitComponent(第262行, IdExplicitTLSClient1ClientBase) + $ 2
[50FC8E5D] {IndyProtocols180.bpl} IdMessageClient.TIdMessageClient.InitComponent(第643行, IdMessageClient.pas +1)+ $ 2
[510B9AF9] {IndyProtocols180.bpl} IdSMTPBase.TIdSMTPBase.InitComponent (第193行, IdSMTPBase.pas +1)+ $ 2
[510BB47D] {IndyProtocols180.bpl} IdSMTP.TIdSMTP.InitComponent(第383行, IdSMTP.pas +1)+ $ 2
[511CF547] {IndySystem180.bpl} IdBaseComponent.TIdInitializerComponent.Create(第186行, IdBaseComponent .pas + 4)+ $ 4
[21D64B2B] {delphicoreide180.bpl} CompPalMgr.TComponentPalettePageItemDelegate.CreateComponent(第2756行, CompPalMgr.pas + 2)+ $ 7
[2113FFAB] {designide180.bpl } ComponentDesigner.TComponentRoot.DoCreateComponent(第2359行, ComponentDesigner.pas + 12)+ $ 17
[21145796] {designide180.bpl} ComponentDesigner.TComponentRoot.CreateCurrentComponent(第4450行, ComponentDesigner.pas + 2)+ $ 32
[2115DBAA] {designide180.bpl} Surface.TDesignSurface.CreateItem(第195行, Surface.pas +1)+ $ 11
[2111193A] {designide180.bpl} Designer.TDesigner.DoDragCreate(第794行, Designer.pas +1)+ $ F
[211121E8] {designide180.bpl} Designer.TDesigner.DragEnd(第974行, Designer.pas +19)+ $ 3
[ 21114880] {designide180.bpl} Designer.Tdesigner.MouseUp(行1763, Designer.pas +1)+ $ 2
[51FEEE82] {vcldesigner180.bpl} VCLSurface.MouseEvent(第3187行, VCLSurface.pas + 45)+ $ 11
[5005F7EB] {rtl180 .bpl} System.TMonitor.Exit(第16933行, System.pas + 2)+ $ 7
[51FEFA6F] {vcldesigner180.bpl} VCLSurface.TVclDesignSurface.IsDesignMsg(第3448行, VCLSurface.pas + 48 )+ $ 6
[50582B07] {vcl180.bpl} Vcl.Forms.TApplication.DispatchAction(第11494行, Vcl.Forms.pas + 9)+ $ C
[0B6A7E30] {IDEFixPack.dll } VCLDesignerGuideLinesHideFix.IsDesignMsg + $ 94
[5045287F] {vcl180.bpl} Vcl.Controls.TControl.WndProc(第7137行, Vcl.Controls.pas + 4)+ $ 21
[50170090] {rtl180 .bpl} System.Classes.StdWndProc(第16860行, System.Classes.pas + 8)+ $ 0
[50456DEB] {vcl180.bpl} Vcl.Controls.TWinControl.IsControlMouseMsg(第9807行, Vcl。 Controls.pas + 1)+ $ 9
[504575B5] {vcl180.bpl} Vcl.Controls.TWinControl.WndProc(第10039行, Vcl.Controls.pas + 153)+ $ 6
[505777F9 ] {vcl180.bpl} Vcl.Forms.TCustomForm.WndPr oc(第4388行, Vcl.Forms.pas + 201)+ $ 5
[51FF84BF] {vcldesigner180.bpl} VCLFormContainer.TControlSizer.ControlWndProc(第311行, VCLFormContainer.pas + 33)+ $ C
[50456BF8] {vcl180.bpl} Vcl.Controls.TWinControl.MainWndProc(第9751行, Vcl.Controls.pas + 3)+ $ 6
[50170090] {rtl180.bpl} System.Classes。 StdWndProc(第16860行, System.Classes.pas + 8)+ $ 0
[50582213] {vcl180.bpl} Vcl.Forms.TApplication.CancelHint(第11117行, Vcl.Forms.pas + 6) + $ E
[50580E87] {vcl180.bpl} Vcl.Forms.TApplication.ProcessMessage(第10288行, Vcl.Forms.pas + 23)+ $ 1
[50580ECA] {vcl180.bpl} Vcl.Forms.TApplication.HandleMessage(第10318行, Vcl.Forms.pas +1)+ $ 4
[50581205] {vcl180.bpl} Vcl.Forms.TApplication.Run(第10456行, Vcl.Forms .pas + 26)+ $ 3

有人可以帮助我吗?



与IdUserPassProvider或IdSASLPlain等其他组件一起正常工作。



问候

方案

感谢您的支持,
我解决了问题,但我还不明白为什么。



问题出在设计包中;我附上工作的dproj和带有错误的dproj之间的区别。



无论如何,我仍然不知道它是否依赖于单个软件包或更多软件包,以使所有软件包都能正常工作。



再次感谢,
如果我发现产生错误的软件包,我将返回复制。




i've a problem with Delphi XE4: when i drop on a form an TIdSmtp or TIsSSLIOHandlerSocketOpenSSL i receive this error:

[511EDABF]{IndySystem180.bpl} IdStack.TIdStack.IncUsage (Line 688, "IdStack.pas" + 11) + $7
[511EEBB2]{IndySystem180.bpl} IdComponent.TIdComponent.InitComponent (Line 229, "IdComponent.pas" + 1) + $5
[50EE84A2]{IndyCore180.bpl} IdTCPConnection.TIdTCPConnection.InitComponent (Line 912, "IdTCPConnection.pas" + 1) + $2
[50EE0D99]{IndyCore180.bpl} IdTCPClient.TIdTCPClientCustom.InitComponent (Line 256, "IdTCPClient.pas" + 1) + $2
[50FC53D5]{IndyProtocols180.bpl} IdExplicitTLSClientServerBase.TIdExplicitTLSClient.InitComponent (Line 262, "IdExplicitTLSClientServerBase.pas" + 1) + $2
[50FC8E5D]{IndyProtocols180.bpl} IdMessageClient.TIdMessageClient.InitComponent (Line 643, "IdMessageClient.pas" + 1) + $2
[510B9AF9]{IndyProtocols180.bpl} IdSMTPBase.TIdSMTPBase.InitComponent (Line 193, "IdSMTPBase.pas" + 1) + $2
[510BB47D]{IndyProtocols180.bpl} IdSMTP.TIdSMTP.InitComponent (Line 383, "IdSMTP.pas" + 1) + $2
[511CF547]{IndySystem180.bpl} IdBaseComponent.TIdInitializerComponent.Create (Line 186, "IdBaseComponent.pas" + 4) + $4
[21D64B2B]{delphicoreide180.bpl} CompPalMgr.TComponentPalettePageItemDelegate.CreateComponent (Line 2756, "CompPalMgr.pas" + 2) + $7
[2113FFAB]{designide180.bpl} ComponentDesigner.TComponentRoot.DoCreateComponent (Line 2359, "ComponentDesigner.pas" + 12) + $17
[21145796]{designide180.bpl} ComponentDesigner.TComponentRoot.CreateCurrentComponent (Line 4450, "ComponentDesigner.pas" + 2) + $32
[2115DBAA]{designide180.bpl} Surface.TDesignSurface.CreateItem (Line 195, "Surface.pas" + 1) + $11
[2111193A]{designide180.bpl} Designer.TDesigner.DoDragCreate (Line 794, "Designer.pas" + 1) + $F
[211121E8]{designide180.bpl} Designer.TDesigner.DragEnd (Line 974, "Designer.pas" + 19) + $3
[21114880]{designide180.bpl} Designer.TDesigner.MouseUp (Line 1763, "Designer.pas" + 1) + $2
[51FEEE82]{vcldesigner180.bpl} VCLSurface.MouseEvent (Line 3187, "VCLSurface.pas" + 45) + $11
[5005F7EB]{rtl180.bpl  } System.TMonitor.Exit (Line 16933, "System.pas" + 2) + $7
[51FEFA6F]{vcldesigner180.bpl} VCLSurface.TVclDesignSurface.IsDesignMsg (Line 3448, "VCLSurface.pas" + 48) + $6
[50582B07]{vcl180.bpl  } Vcl.Forms.TApplication.DispatchAction (Line 11494, "Vcl.Forms.pas" + 9) + $C
[0B6A7E30]{IDEFixPack.dll} VCLDesignerGuideLinesHideFix.IsDesignMsg + $94
[5045287F]{vcl180.bpl  } Vcl.Controls.TControl.WndProc (Line 7137, "Vcl.Controls.pas" + 4) + $21
[50170090]{rtl180.bpl  } System.Classes.StdWndProc (Line 16860, "System.Classes.pas" + 8) + $0
[50456DEB]{vcl180.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9807, "Vcl.Controls.pas" + 1) + $9
[504575B5]{vcl180.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[505777F9]{vcl180.bpl  } Vcl.Forms.TCustomForm.WndProc (Line 4388, "Vcl.Forms.pas" + 201) + $5
[51FF84BF]{vcldesigner180.bpl} VCLFormContainer.TControlSizer.ControlWndProc (Line 311, "VCLFormContainer.pas" + 33) + $C
[50456BF8]{vcl180.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[50170090]{rtl180.bpl  } System.Classes.StdWndProc (Line 16860, "System.Classes.pas" + 8) + $0
[50582213]{vcl180.bpl  } Vcl.Forms.TApplication.CancelHint (Line 11117, "Vcl.Forms.pas" + 6) + $E
[50580E87]{vcl180.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 10288, "Vcl.Forms.pas" + 23) + $1
[50580ECA]{vcl180.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 10318, "Vcl.Forms.pas" + 1) + $4
[50581205]{vcl180.bpl  } Vcl.Forms.TApplication.Run (Line 10456, "Vcl.Forms.pas" + 26) + $3

Anyone can help me?

With other components like IdUserPassProvider or IdSASLPlain work fine.

Regards

解决方案

thanks for the support, I solved the problem but I have not yet understood why.

the problem is in the Design package; I attach the differences between the dproj that working and the dproj with the error.

I still have not figured out if it depends on a single package or more, anyway, enabling all packages work correctly.

Thanks again, I go back to replicate if i find the package that generates the error.

这篇关于当我在表单上放置TidSMTP时发生访问冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆